Comments (6)
Hi @EGI-ILM,
I will try to address some of these features separately.
But I want first to address the interoperability issues that you are suffering, as it must not happen.
If you use the same OpenStack credentials in both applications, it must work in the same way in both.
We can try to debug this issue.
from im.
Thanks. I will contact you privately.
from im.
Hi @EGI-ILM,
We have implemented most of this functionality.
You can test it in the IM devel instance.
In case that you create an infrastructure with the im-client tool, you can add a "infra_name" in the metadata of the TOSCA to set the name that will appear in the Dashboard.
tosca_definitions_version: tosca_simple_yaml_1_0
metadata:
infra_name: some name
and you can use the filter option in the im-client to get the infrastructure with a particular name:
./im_client.py list "infra_name: some name"
Please test it in the IM devel instance, and let me know if it works as expected.
from im.
Site and VO and Operability comments above have not been addressed, so I only tested the name functionality:
- IM CLI creates the name, and it is visible from the Dashboard
- I created two infrastructures with name "lethe-datalake-1". They can be queried:
$ im_client.py list "infra_name: lethe-datalake-1"
Infrastructure IDs:
359f9e64-7f87-11ed-a52b-ba0fc5d95973
e5674fdc-7f86-11ed-bed1-ba0fc5d95973
$ im_client.py list "infra_name: lethe-datalake"
Infrastructure IDs:
359f9e64-7f87-11ed-a52b-ba0fc5d95973
e5674fdc-7f86-11ed-bed1-ba0fc5d95973
$ im_client.py list "infra_name: lethe"
Infrastructure IDs:
359f9e64-7f87-11ed-a52b-ba0fc5d95973
e5674fdc-7f86-11ed-bed1-ba0fc5d95973
$ im_client.py list "infra_name: letheX"
No Infrastructures.
What does not seem to work or can be improved
- The name is not shown in the IM CLI list, so it is still difficult to identify infrastructures:
$ im_client.py list
Infrastructure IDs:
359f9e64-7f87-11ed-a52b-ba0fc5d95973
e5674fdc-7f86-11ed-bed1-ba0fc5d95973
- The CLI does not seem to provide renaming (just a comment, as I am not sure if this is desired, but the functionality exists in Dashboard).
- Using the Dashboard, I rename one of the infrastructures to "lethe-datalake-2". It seems that the CLI filter does not work anymore (do CLI and DSHB use a different data source for names?).
$ im_client.py list "infra_name: lethe-datalake-2"
No Infrastructures.
$ im_client.py list "infra_name: lethe-datalake-1"
Infrastructure IDs:
359f9e64-7f87-11ed-a52b-ba0fc5d95973
e5674fdc-7f86-11ed-bed1-ba0fc5d95973
- Additionally, it might be good to have a shortcut (e.g, -n "some name") for "infra_name: some name".
During the testing I also had an error I will send privately.
from im.
By the way, related to this naming functionality maybe it can be used also as a prefix for:
- OpenStack VM
- OpenStack volumes
- OpenStack Security Groups
I know OpenStack VM names can be configured in a TOSCA template. I do not know how the other two could be renamed, but it is helpful to have this option, which makes resources easily identifiable without having to check the Infrastructure ID every time.
from im.
HI @EGI-ILM,
I have added new -n
option in the im-client:
https://imdocs.readthedocs.io/en/latest/client.html#cmdoption-im-client-n-name
For example you can do:
$ im_client.py getstate -n "lethe-datalake-1"
You can test it using the im-client master branch.
from im.
Related Issues (20)
- Error with OpenSSL in contextualization
- Enable use STS security token in EC2 connector
- Enable to install ansible collections
- unable to deploy on OKD HOT 4
- Delete (but not destroy resources) of unused Infrastructures
- Enable to use wildcards in the instance type
- Rename ansible.modules to ansible.roles
- Enhance proxy host support in contextualization
- Unconfigured state in case of checking infra state during VMs creation HOT 1
- Enable set volumes in EC2 devices
- Error in OSCAR or Lambda cons with env variables with ":"
- OpenStack network list is not project restricted
- No error is returned if instance is not get in stop, start, reboot ops in EC2 conn HOT 1
- Enable to set root disk size in EC2, Azure and GCE conns
- Fix node_filter in TOSCA
- Error resizing VMs
- Add requests-cache to improve performance in TOSCA parsing
- Improve performance in Infrastructure List operation
- Error parsing FaaS Functions storage providers
- Concurrency error in Lambda conn
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from im.