Dear all, On Vicenza node we are trying to attach a volume to a virtual machine ( using either cloud portal or cli ) but we always receive an error. Hereunder an example: openstack --debug server add volume ccf7c86a-91d9-4130-83d2-8a0a18f9d1ed a92ba527-fe41-441c-be9f-2a8e8e3f40ef INFO: openstackclient.common.clientmanager Using auth plugin: osc_password DEBUG: openstackclient.common.clientmanager Get auth_ref DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://130.206.84.8:4730/v2.0/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient" INFO: requests.packages.urllib3.connectionpool Starting new HTTP connection (1): 130.206.84.8 DEBUG: requests.packages.urllib3.connectionpool "GET /v2.0/ HTTP/1.1" 200 422 DEBUG: keystoneclient.session RESP: [200] date: Mon, 06 Jun 2016 15:17:34 GMT vary: X-Auth-Token content-length: 422 content-type: application/json RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}, {"base": "application/xml", "type": "application/vnd.openstack.identity-v2.0+xml"}], "id": "v2.0", "links": [{"href": "http://130.206.84.8:4730/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}} DEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://130.206.84.8:4730/v2.0/tokens DEBUG: requests.packages.urllib3.connectionpool "POST /v2.0/tokens HTTP/1.1" 200 62418 DEBUG: openstackclient.compute.v2.server.AddServerVolume take_action(Namespace(device=None, server='ccf7c86a-91d9-4130-83d2-8a0a18f9d1ed', volume='a92ba527-fe41-441c-be9f-2a8e8e3f40ef')) DEBUG: openstackclient.compute.client Instantiating compute client: <class 'novaclient.v2.client.Client'> DEBUG: openstackclient.volume.client Instantiating volume client: <class 'cinderclient.v1.client.Client'> DEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://130.206.84.8:4730/v2.0/tokens DEBUG: requests.packages.urllib3.connectionpool "POST /v2.0/tokens HTTP/1.1" 200 62418 DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://217.172.12.130:8774/v2/00000000000000000000000000007968/servers/ccf7c86a-91d9-4130-83d2-8a0a18f9d1ed -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}1ecbfedad8ddbfbb56b988c8c7ca796ae0c0ee45" INFO: requests.packages.urllib3.connectionpool Starting new HTTP connection (1): 217.172.12.130 DEBUG: requests.packages.urllib3.connectionpool "GET /v2/00000000000000000000000000007968/servers/ccf7c86a-91d9-4130-83d2-8a0a18f9d1ed HTTP/1.1" 200 1682 DEBUG: keystoneclient.session RESP: [200] date: Mon, 06 Jun 2016 15:17:36 GMT connection: close content-type: application/json content-length: 1682 x-compute-request-id: req-1e2af42b-b97a-4ab2-94dc-f89ff119cb5f RESP BODY: {"server": {"status": "ACTIVE", "updated": "2016-05-31T14:37:39Z", "hostId": "ed4e4ddb93b5390d00b2753d98697ad8d398644c68de75b2502e5788", "addresses": {"node-int-net-01": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:a1:ab:b3", "version": 4, "addr": "192.168.111.175", "OS-EXT-IPS:type": "fixed"}, {"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:a1:ab:b3", "version": 4, "addr": "217.172.12.142", "OS-EXT-IPS:type": "floating"}]}, "links": [{"href": "http://217.172.12.130:8774/v2/00000000000000000000000000007968/servers/ccf7c86a-91d9-4130-83d2-8a0a18f9d1ed", "rel": "self"}, {"href": "http://217.172.12.130:8774/00000000000000000000000000007968/servers/ccf7c86a-91d9-4130-83d2-8a0a18f9d1ed", "rel": "bookmark"}], "key_name": "mykeypair", "image": {"id": "ba528edd-8144-4fbc-b50a-85be8afc29ba", "links": [{"href": "http://217.172.12.130:8774/00000000000000000000000000007968/images/ba528edd-8144-4fbc-b50a-85be8afc29ba", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "active", "OS-SRV-USG:launched_at": "2016-05-31T14:37:38.000000", "flavor": {"id": "2", "links": [{"href": "http://217.172.12.130:8774/00000000000000000000000000007968/flavors/2", "rel": "bookmark"}]}, "id": "ccf7c86a-91d9-4130-83d2-8a0a18f9d1ed", "security_groups": [{"name": "default"}], "OS-SRV-USG:terminated_at": null, "OS-EXT-AZ:availability_zone": "nova", "user_id": "mauropecetti", "name": "ubuntu", "created": "2016-05-31T14:36:55Z", "tenant_id": "00000000000000000000000000007968", "OS-DCF:diskConfig": "MANUAL", "os-extended-volumes:volumes_attached": [], "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive": "", "metadata": {"region": "Vicenza"}}} DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://217.172.12.130:8776/v1/00000000000000000000000000007968/volumes/a92ba527-fe41-441c-be9f-2a8e8e3f40ef -H "User-Agent: python-cinderclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}1ecbfedad8ddbfbb56b988c8c7ca796ae0c0ee45" INFO: requests.packages.urllib3.connectionpool Starting new HTTP connection (1): 217.172.12.130 DEBUG: requests.packages.urllib3.connectionpool "GET /v1/00000000000000000000000000007968/volumes/a92ba527-fe41-441c-be9f-2a8e8e3f40ef HTTP/1.1" 200 537 DEBUG: keystoneclient.session RESP: [200] content-length: 537 x-compute-request-id: req-9bba931c-e190-410b-a145-1ac018f72679 connection: close date: Mon, 06 Jun 2016 15:17:36 GMT content-type: application/json x-openstack-request-id: req-9bba931c-e190-410b-a145-1ac018f72679 RESP BODY: {"volume": {"status": "available", "display_name": "vol", "attachments": [], "availability_zone": "nova", "bootable": "false", "encrypted": false, "created_at": "2016-06-01T07:41:25.000000", "multiattach": "false", "os-vol-tenant-attr:tenant_id": "00000000000000000000000000007968", "os-volume-replication:driver_data": null, "display_description": "", "os-volume-replication:extended_status": null, "volume_type": null, "snapshot_id": null, "source_volid": null, "metadata": {}, "id": "a92ba527-fe41-441c-be9f-2a8e8e3f40ef", "size": 1}} DEBUG: keystoneclient.session REQ: curl -g -i -X POST http://217.172.12.130:8774/v2/00000000000000000000000000007968/servers/ccf7c86a-91d9-4130-83d2-8a0a18f9d1ed/os-volume_attachments -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}1ecbfedad8ddbfbb56b988c8c7ca796ae0c0ee45" -d '{"volumeAttachment": {"device": null, "volumeId": "a92ba527-fe41-441c-be9f-2a8e8e3f40ef"}}' INFO: requests.packages.urllib3.connectionpool Resetting dropped connection: 217.172.12.130 DEBUG: requests.packages.urllib3.connectionpool "POST /v2/00000000000000000000000000007968/servers/ccf7c86a-91d9-4130-83d2-8a0a18f9d1ed/os-volume_attachments HTTP/1.1" 500 128 DEBUG: keystoneclient.session RESP: ERROR: openstack The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-f495958b-3384-4d96-92d2-df49ccf692f4) Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 303, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python2.7/dist-packages/cliff/command.py", line 53, in run self.take_action(parsed_args) File "/usr/lib/python2.7/dist-packages/openstackclient/compute/v2/server.py", line 190, in take_action parsed_args.device, File "/usr/lib/python2.7/dist-packages/novaclient/v2/volumes.py", line 127, in create_server_volume body, "volumeAttachment") File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 161, in _create _resp, body = self.api.client.post(url, body=body) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 176, in post return self.request(url, 'POST', **kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 92, in request raise exceptions.from_response(resp, body, url, method) ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-f495958b-3384-4d96-92d2-df49ccf692f4) DEBUG: openstackclient.shell clean_up AddServerVolume DEBUG: openstackclient.shell got an error: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-f495958b-3384-4d96-92d2-df49ccf692f4) ERROR: openstackclient.shell Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openstackclient/shell.py", line 176, in run return super(OpenStackShell, self).run(argv) File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 238, in run result = self.run_subcommand(remainder) File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 303, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python2.7/dist-packages/cliff/command.py", line 53, in run self.take_action(parsed_args) File "/usr/lib/python2.7/dist-packages/openstackclient/compute/v2/server.py", line 190, in take_action parsed_args.device, File "/usr/lib/python2.7/dist-packages/novaclient/v2/volumes.py", line 127, in create_server_volume body, "volumeAttachment") File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 161, in _create _resp, body = self.api.client.post(url, body=body) File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 176, in post return self.request(url, 'POST', **kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 92, in request raise exceptions.from_response(resp, body, url, method) ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-f495958b-3384-4d96-92d2-df49ccf692f4) Have you faced the same issue? Have you got any suggestion? Thanks a lot for the cooperation Mauro -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.fiware.org/private/fiware-lab-federation-nodes/attachments/20160606/27107613/attachment.html>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy