-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot delete infrastructure: 'Unsupported Auth Version requested #152
Comments
hi @BorjaEst, Could you send what are the credentials that have you set in the im-web portal? |
Sure:
This is the log file:
During the launch phase
|
The problem seems to be related with the image. What IM service version are you using, and if it is possible what libcloud version. |
I am using the container (1.5.13, latest (Dockerfile)) im-web:
image: grycap/im-web For the libcloud, seem it is not installed: $ docker exec im-web python -c "import libcloud ; print libcloud.__version__"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named libcloud
$ docker exec im-web libcloud -v
OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"libcloud\": executable file not found in $PATH": unknown |
I refer to the IM service, not the IM web portal. |
Sorry:
|
HI @BorjaEst, Could try to restart the IM service (not the IM web portal (and try to delete the infras). If you set a correct image, for example this one: 'appdb://CESGA/egi.docker.ubuntu.16.04s?eosc-synergy.eu' The VM creation works? |
Hi @micafer,
The "unconfigured" is because I still need to fix something else:
|
Hi @BorjaEst , I assume that your data is persistent, but restarting the IM clean some in memory data that I wanted to assure that is not the origin of your problem.
Regarding the unconfigured state. |
Hi @micafer,
Regarding the unconfigured state:
The tosca template: tosca_definitions_version: tosca_simple_yaml_1_0
imports:
- indigo_custom_types: https://raw.githubusercontent.com/indigo-dc/tosca-types/master/custom_types.yaml
description: >
Launch a compute node getting the IP and SSH credentials to access via ssh
metadata:
display_name: Start a virtual machine
icon: https://indigo-paas.cloud.ba.infn.it/public/images/vm-icon.png
topology_template:
node_templates:
simple_node:
type: tosca.nodes.indigo.Compute
capabilities:
endpoint:
properties:
network_name: net-eosc-synergy.eu
scalable:
properties:
count: 1
host:
properties:
instance_type: cor1mem1hd10
os:
properties:
image: ost://fedcloud-osservices.egi.cesga.es:9292/0fb385b2-f4a5-4a4f-8058-f21d4e78b7fa
outputs:
node_ip:
value: { get_attribute: [ simple_node, public_address, 0 ] }
node_creds:
value: { get_attribute: [ simple_node, endpoint, credential, 0 ] } |
Hi @BorjaEst , the error
Means that you have not provided any OpenStack auth to the site where the infras was deployed. And can you provide me the VM info? Click on the "0" ID that should appear in the second column (titled "VM IDs"). |
Hi, sorry but I tried to reproduce the error again but I was not able. |
Current behaviour
The im-web allows the creation of infrastructures with unsuported Auth Version but does not allow to destroy them.
Using the following template simple-node (with line 81 uncommented) .
Output:
If I press delete:
Desired behaviour
Not sure if it is an issue on the destroying process, but I should be able to delete any infrastructure in my "Infrastructure" menu.
The text was updated successfully, but these errors were encountered: