Advertisement
Guest User

Untitled

a guest
Aug 29th, 2024
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.89 KB | None | 0 0
  1. root@keystone:~# openstack --debug server create --flavor m1.nano --image cirros --nic net-id=5207b06c-eae2-4f57-beb3-b37ebd081245 --security-group default --key-name demo-key1 provider-instance1
  2. START with options: --debug server create --flavor m1.nano --image cirros --nic net-id=5207b06c-eae2-4f57-beb3-b37ebd081245 --security-group default --key-name demo-key1 provider-instance1
  3. options: Namespace(verbose_level=3, log_file=None, deferred_help=False, debug=True, cloud='', region_name='', cacert=None, cert='', key='', verify=None, insecure=None, default_domain='default', interface='public', service_provider='', remote_project_name='', remote_project_id='', remote_project_domain_name='', remote_project_domain_id='', timing=False, os_beta_command=False, profile='', os_compute_api_version='', os_identity_api_version='3', os_image_api_version='2', os_network_api_version='', os_object_api_version='', os_volume_api_version='3', os_orchestration_api_version='1', auth_type='', auth_url='http://keystone:5000/identity/v3', trust_id='', token='***', system_scope='', domain_id='', domain_name='', project_id='', project_name='myproject', project_domain_id='', project_domain_name='Default', identity_provider='', protocol='', client_id='', client_secret='***', openid_scope='', access_token_endpoint='', discovery_endpoint='', access_token_type='', username='myuser', password='***', user_id='', user_domain_id='', user_domain_name='Default', passcode='', endpoint='', identity_provider_url='', default_domain_id='', default_domain_name='', access_token='***', consumer_key='', consumer_secret='***', access_key='', access_secret='***', service_provider_endpoint='', service_provider_entity_id='', redirect_uri='', code='', auth_methods='', application_credential_secret='***', application_credential_id='', application_credential_name='', os_project_name=None, os_project_id=None)
  4. Auth plugin password selected
  5. auth_config_hook(): {'api_timeout': None, 'verify': True, 'cacert': None, 'cert': None, 'key': None, 'baremetal_status_code_retries': '5', 'baremetal_introspection_status_code_retries': '5', 'image_status_code_retries': '5', 'disable_vendor_agent': {}, 'interface': 'public', 'floating_ip_source': 'neutron', 'image_api_use_tasks': False, 'image_format': 'qcow2', 'message': '', 'network_api_version': '2', 'object_store_api_version': '1', 'secgroup_source': 'neutron', 'status': 'active', 'auth': {'user_domain_name': 'Default', 'project_domain_name': 'Default', 'project_name': 'myproject'}, 'verbose_level': 3, 'deferred_help': False, 'debug': True, 'default_domain': 'default', 'timing': False, 'auth_url': 'http://keystone:5000/identity/v3', 'username': 'myuser', 'password': '***', 'beta_command': False, 'identity_api_version': '3', 'image_api_version': '2', 'volume_api_version': '3', 'orchestration_api_version': '1', 'region_name': '', 'auth_type': 'password', ': []}
  6. defaults: {'api_timeout': None, 'verify': True, 'cacert': None, 'cert': None, 'key': None, 'auth_type': 'password', 'baremetal_status_code_retries': 5, 'baremetal_introspection_status_code_retries': 5, 'image_status_code_retries': 5, 'disable_vendor_agent': {}, 'interface': None, 'floating_ip_source': 'neutron', 'image_api_use_tasks': False, 'image_format': 'qcow2', 'message': '', 'network_api_version': '2', 'object_store_api_version': '1', 'secgroup_source': 'neutron', 'status': 'active'}
  7. cloud cfg: {'api_timeout': None, 'verify': True, 'cacert': None, 'cert': None, 'key': None, 'baremetal_status_code_retries': '5', 'baremetal_introspection_status_code_retries': '5', 'image_status_code_retries': '5', 'disable_vendor_agent': {}, 'interface': 'public', 'floating_ip_source': 'neutron', 'image_api_use_tasks': False, 'image_format': 'qcow2', 'message': '', 'network_api_version': '2', 'object_store_api_version': '1', 'secgroup_source': 'neutron', 'status': 'active', 'auth': {'user_domain_name': 'Default', 'project_domain_name': 'Default', 'project_name': 'myproject'}, 'verbose_level': 3, 'deferred_help': False, 'debug': True, 'default_domain': 'default', 'timing': False, 'auth_url': 'http://keystone:5000/identity/v3', 'username': 'myuser', 'password': '***', 'beta_command': False, 'identity_api_version': '3', 'image_api_version': '2', 'volume_api_version': '3', 'orchestration_api_version': '1', 'region_name': '', 'auth_type': 'password', ': []}
  8. compute API version 2.1, cmd group openstack.compute.v2
  9. identity API version 3, cmd group openstack.identity.v3
  10. image API version 2, cmd group openstack.image.v2
  11. network API version 2, cmd group openstack.network.v2
  12. object_store API version 1, cmd group openstack.object_store.v1
  13. volume API version 3, cmd group openstack.volume.v3
  14. orchestration API version 1, cmd group openstack.orchestration.v1
  15. neutronclient API version 2, cmd group openstack.neutronclient.v2
  16. command: server create -> openstackclient.compute.v2.server.CreateServer (auth=True)
  17. Auth plugin password selected
  18. auth_config_hook(): {'api_timeout': None, 'verify': True, 'cacert': None, 'cert': None, 'key': None, 'baremetal_status_code_retries': '5', 'baremetal_introspection_status_code_retries': '5', 'image_status_code_retries': '5', 'disable_vendor_agent': {}, 'interface': 'public', 'floating_ip_source': 'neutron', 'image_api_use_tasks': False, 'image_format': 'qcow2', 'message': '', 'network_api_version': '2', 'object_store_api_version': '1', 'secgroup_source': 'neutron', 'status': 'active', 'auth': {'user_domain_name': 'Default', 'project_domain_name': 'Default', 'project_name': 'myproject'}, 'additional_user_agent': [('osc-lib', '2.5.0')], 'verbose_level': 3, 'deferred_help': False, 'debug': True, 'default_domain': 'default', 'timing': False, 'auth_url': 'http://keystone:5000/identity/v3', 'username': 'myuser', 'password': '***', 'beta_command': False, 'identity_api_version': '3', 'image_api_version': '2', 'volume_api_version': '3', 'orchestration_api_version': '1', 'region_name': '', 'auth_type': 'password', ': []}
  19. Using auth plugin: password
  20. Using parameters {'auth_url': 'http://keystone:5000/identity/v3', 'project_name': 'myproject', 'project_domain_name': 'Default', 'username': 'myuser', 'user_domain_name': 'Default', 'password': '***'}
  21. Get auth_ref
  22. REQ: curl -g -i -X GET http://keystone:5000/identity/v3 -H "Accept: application/json" -H "User-Agent: openstacksdk/0.61.0 keystoneauth1/4.4.0 python-requests/2.25.1 CPython/3.10.12"
  23. Starting new HTTP connection (1): keystone:5000
  24. http://keystone:5000 "GET /identity/v3 HTTP/1.1" 200 257
  25. RESP: [200] Connection: Keep-Alive Content-Length: 257 Content-Type: application/json Date: Thu, 29 Aug 2024 13:37:35 GMT Keep-Alive: timeout=5, max=100 Server: Apache/2.4.52 (Ubuntu) Vary: X-Auth-Token x-openstack-request-id: req-edd5b885-1c99-48fd-9d17-f1e2447400f8
  26. RESP BODY: {"version": {"id": "v3.14", "status": "stable", "updated": "2020-04-07T00:00:00Z", "links": [{"rel": "self", "href": "http://keystone:5000/identity/v3/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}]}}
  27. GET call to http://keystone:5000/identity/v3 used request id req-edd5b885-1c99-48fd-9d17-f1e2447400f8
  28. Making authentication request to http://keystone:5000/identity/v3/auth/tokens
  29. http://keystone:5000 "POST /identity/v3/auth/tokens HTTP/1.1" 201 3902
  30. {"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "bca8d7a0353246f884bd73abfcab323f", "name": "myuser", "password_expires_at": null}, "audit_ids": ["EnDDUQVUTfGtA8z5ghsEmQ"], "expires_at": "2024-08-29T14:37:36.000000Z", "issued_at": "2024-08-29T13:37:36.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "1823332b9d284ec2bb0f5fb776e24027", "name": "myproject"}, "is_domain": false, "roles": [{"id": "b7fc27b394db4b689f87db6e7afd80a4", "name": "myrole"}], "catalog": [{"endpoints": [{"id": "269ceaf6adb04c1595632d4fd10b3019", "interface": "internal", "region_id": "RegionOne", "url": "http://nova-api:8774/v2.1", "region": "RegionOne"}, {"id": "b5d6b654ee1b40e3bc5d23d1a099c40b", "interface": "public", "region_id": "RegionOne", "url": "http://nova-api:8774/v2.1", "region": "RegionOne"}, {"id": "d46e2c0dc4e344afae9a99871f670af7", "interface": "admin", "region_id": "RegionOne", "url": "http://nova-api:8774/v2.1", "region": "RegionOne"}], "id": "3dde0a2617f94b27bab36c8e7be1a407", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "babdd831ab464b968ed4cd552e14d219", "interface": "internal", "region_id": "RegionOne", "url": "http://neutron:9696", "region": "RegionOne"}, {"id": "d371ac1812b44c20a96a45672cec63ad", "interface": "public", "region_id": "RegionOne", "url": "http://neutron:9696", "region": "RegionOne"}, {"id": "ece2d0113ffc43a49a334d62fa423fdb", "interface": "admin", "region_id": "RegionOne", "url": "http://neutron:9696", "region": "RegionOne"}], "id": "599be514768d4236b5636dd7df6b36a2", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "41d006791e424ab783b7f47ee6be541c", "interface": "admin", "region_id": "RegionOne", "url": "http://glance:9292", "region": "RegionOne"}, {"id": "7e644074fec74fb4847a16961637a9c1", "interface": "internal", "region_id": "RegionOne", "url": "http://glance:9292", "region": "RegionOne"}, {"id": "ed8bdb5af92546b1854275eb417e8f3c", "interface": "public", "region_id": "RegionOne", "url": "http://glance:9292", "region": "RegionOne"}], "id": "78950aaffb0b42c1b00747a0a560f87a", "type": "image", "name": "glance"}, {"endpoints": [{"id": "318a090ab1fa4667a23dfe4c329f8a5d", "interface": "admin", "region_id": "RegionOne", "url": "http://placement:8778", "region": "RegionOne"}, {"id": "e1852ed7c43842fe9b4984fcee6efefa", "interface": "public", "region_id": "RegionOne", "url": "http://placement:8778", "region": "RegionOne"}, {"id": "fae31b228ddc4f22b38efbc4d78191a3", "interface": "internal", "region_id": "RegionOne", "url": "http://placement:8778", "region": "RegionOne"}], "id": "8a51b2cebe334d9ab40ea38a39242f64", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "63d9d75e93b8482b88bb513357ce427c", "interface": "admin", "region_id": "RegionOne", "url": "http://cinder:8776/v3/1823332b9d284ec2bb0f5fb776e24027", "region": "RegionOne"}, {"id": "ea53de63df0c4f7abb581d523dd3fd33", "interface": "public", "region_id": "RegionOne", "url": "http://cinder:8776/v3/1823332b9d284ec2bb0f5fb776e24027", "region": "RegionOne"}, {"id": "fb3f0837d1854c219d2f319861e8dce4", "interface": "internal", "region_id": "RegionOne", "url": "http://cinder:8776/v3/1823332b9d284ec2bb0f5fb776e24027", "region": "RegionOne"}], "id": "8e32e346030c45acb28cb73781599fe0", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "41fcf80eb8924270afa5a93a73de4b52", "interface": "public", "region_id": "RegionOne", "url": "http://keystone:5000/v3/", "region": "RegionOne"}, {"id": "571f5b4428144a51b71cf36414b0cd52", "interface": "admin", "region_id": "RegionOne", "url": "http://keystone:5000/v3/", "region": "RegionOne"}, {"id": "70849266a0844d1fb1325a52fdead155", "interface": "internal", "region_id": "RegionOne", "url": "http://keystone:5000/v3/", "region": "RegionOne"}], "id": "d81b90bed9a947809796c36e95c2ee9e", "type": "identity", "name": "keystone"}]}}
  31. run(Namespace(formatter='table', columns=[], noindent=False, variables=[], prefix='', max_width=0, fit_width=False, print_empty=False, server_name='provider-instance1', flavor='m1.nano', image='cirros', image_properties=None, volume=None, snapshot=None, boot_from_volume=None, block_device_mapping=[], block_devices=[], swap=None, ephemerals=[], nics=[{'net-id': '5207b06c-eae2-4f57-beb3-b37ebd081245', 'port-id': '', 'v4-fixed-ip': '', 'v6-fixed-ip': ''}], password=None, security_group=['default'], key_name='demo-key1', properties=None, file=[], user_data=None, description=None, availability_zone=None, host=None, hypervisor_hostname=None, hint={}, config_drive=False, min=1, max=1, tags=[], hostname=None, wait=False, trusted_image_certs=None))
  32. Instantiating compute client for API Version Major: 2, Minor: 1
  33. Instantiating compute api: <class 'openstackclient.api.compute_v2.APIv2'>
  34. Instantiating volume client: <class 'cinderclient.v3.client.Client'>
  35. REQ: curl -g -i -X GET http://glance:9292 -H "Accept: application/json" -H "User-Agent: openstacksdk/0.61.0 keystoneauth1/4.4.0 python-requests/2.25.1 CPython/3.10.12"
  36. Starting new HTTP connection (1): glance:9292
  37. http://glance:9292 "GET / HTTP/1.1" 300 1532
  38. RESP: [300] Connection: keep-alive Content-Length: 1532 Content-Type: application/json Date: Thu, 29 Aug 2024 13:37:38 GMT
  39. RESP BODY: {"versions": [{"id": "v2.15", "status": "CURRENT", "links": [{"rel": "self", "href": "http://glance:9292/v2/"}]}, {"id": "v2.13", "status": "SUPPORTED", "links": [{"rel": "self", "href": "http://glance:9292/v2/"}]}, {"id": "v2.12", "status": "SUPPORTED", "links": [{"rel": "self", "href": "http://glance:9292/v2/"}]}, {"id": "v2.11", "status": "SUPPORTED", "links": [{"rel": "self", "href": "http://glance:9292/v2/"}]}, {"id": "v2.10", "status": "SUPPORTED", "links": [{"rel": "self", "href": "http://glance:9292/v2/"}]}, {"id": "v2.9", "status": "SUPPORTED", "links": [{"rel": "self", "href": "http://glance:9292/v2/"}]}, {"id": "v2.8", "status": "SUPPORTED", "links": [{"rel": "self", "href": "http://glance:9292/v2/"}]}, {"id": "v2.7", "status": "SUPPORTED", "links": [{"rel": "self", "href": "http://glance:9292/v2/"}]}, {"id": "v2.6", "status": "SUPPORTED", "links": [{"rel": "self", "href": "http://glance:9292/v2/"}]}, {"id": "v2.5", "status": "SUPPORTED", "links": [{"rel": "self", "href": "http://glance:9292/v2/"}]}, {"id": "v2.4", "status": "SUPPORTED", "links": [{"rel": "self", "href": "http://glance:9292/v2/"}]}, {"id": "v2.3", "status": "SUPPORTED", "links": [{"rel": "self", "href": "http://glance:9292/v2/"}]}, {"id": "v2.2", "status": "SUPPORTED", "links": [{"rel": "self", "href": "http://glance:9292/v2/"}]}, {"id": "v2.1", "status": "SUPPORTED", "links": [{"rel": "self", "href": "http://glance:9292/v2/"}]}, {"id": "v2.0", "status": "SUPPORTED", "links": [{"rel": "self", "href": "http://glance:9292/v2/"}]}]}
  40. Image client initialized using OpenStack SDK: <openstack.image.v2._proxy.Proxy object at 0x7f69bc19cbe0>
  41. REQ: curl -g -i -X GET http://glance:9292/v2/images/cirros -H "User-Agent: openstacksdk/0.61.0 keystoneauth1/4.4.0 python-requests/2.25.1 CPython/3.10.12" -H "X-Auth-Token: {SHA256}b5435fcbe920d0c8f419315b2fc6de410aec5f7e3e5d8911049388ec84517a24"
  42. http://glance:9292 "GET /v2/images/cirros HTTP/1.1" 404 151
  43. RESP: [404] Connection: keep-alive Content-Length: 151 Content-Type: text/html; charset=UTF-8 Date: Thu, 29 Aug 2024 13:37:40 GMT X-Openstack-Request-Id: req-a59e1b59-c015-4051-b611-8e41eaaef56a
  44. RESP BODY: Omitted, Content-Type is set to text/html; charset=UTF-8. Only application/json responses have their bodies logged.
  45. GET call to image for http://glance:9292/v2/images/cirros used request id req-a59e1b59-c015-4051-b611-8e41eaaef56a
  46. REQ: curl -g -i -X GET "http://glance:9292/v2/images?name=cirros" -H "Accept: application/json" -H "User-Agent: openstacksdk/0.61.0 keystoneauth1/4.4.0 python-requests/2.25.1 CPython/3.10.12" -H "X-Auth-Token: {SHA256}b5435fcbe920d0c8f419315b2fc6de410aec5f7e3e5d8911049388ec84517a24"
  47. http://glance:9292 "GET /v2/images?name=cirros HTTP/1.1" 200 880
  48. RESP: [200] Connection: keep-alive Content-Length: 880 Content-Type: application/json Date: Thu, 29 Aug 2024 13:37:40 GMT X-Openstack-Request-Id: req-3cefc937-2abd-4161-9e39-29f6219f7f79
  49. RESP BODY: {"images": [{"name": "cirros", "disk_format": "qcow2", "container_format": "bare", "visibility": "public", "size": 12716032, "virtual_size": 46137344, "status": "active", "checksum": "443b7623e27ecf03dc9e01ee93f67afe", "protected": false, "min_ram": 0, "min_disk": 0, "owner": "70d1d3ff085a4013ad319cd71006365f", "os_hidden": false, "os_hash_algo": "sha512", "os_hash_value": "6513f21e44aa3da349f248188a44bc304a3653a04122d8fb4535423c8e1d14cd6a153f735bb0982e2161b5b5186106570c17a9e58b64dd39390617cd5a350f78", "id": "099b2d6c-b048-4c73-9a38-c950eb559fcf", "created_at": "2024-08-28T19:16:26Z", "updated_at": "2024-08-28T19:16:27Z", "tags": [], "self": "/v2/images/099b2d6c-b048-4c73-9a38-c950eb559fcf", "file": "/v2/images/099b2d6c-b048-4c73-9a38-c950eb559fcf/file", "schema": "/v2/schemas/image", "stores": "fs"}], "first": "/v2/images?name=cirros", "schema": "/v2/schemas/images"}
  50. GET call to image for http://glance:9292/v2/images?name=cirros used request id req-3cefc937-2abd-4161-9e39-29f6219f7f79
  51. REQ: curl -g -i -X GET http://nova-api:8774/v2.1/flavors/m1.nano -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}b5435fcbe920d0c8f419315b2fc6de410aec5f7e3e5d8911049388ec84517a24" -H "X-OpenStack-Nova-API-Version: 2.1"
  52. Starting new HTTP connection (1): nova-api:8774
  53. http://nova-api:8774 "GET /v2.1/flavors/m1.nano HTTP/1.1" 404 80
  54. RESP: [404] Connection: keep-alive Content-Length: 80 Content-Type: application/json; charset=UTF-8 Date: Thu, 29 Aug 2024 13:37:40 GMT Openstack-Api-Version: compute 2.1 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-63ffe500-4907-4b79-934e-dec2b9c2ad49 X-Openstack-Nova-Api-Version: 2.1 X-Openstack-Request-Id: req-63ffe500-4907-4b79-934e-dec2b9c2ad49
  55. RESP BODY: {"itemNotFound": {"code": 404, "message": "Flavor m1.nano could not be found."}}
  56. GET call to compute for http://nova-api:8774/v2.1/flavors/m1.nano used request id req-63ffe500-4907-4b79-934e-dec2b9c2ad49
  57. REQ: curl -g -i -X GET http://nova-api:8774/v2.1/flavors -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}b5435fcbe920d0c8f419315b2fc6de410aec5f7e3e5d8911049388ec84517a24" -H "X-OpenStack-Nova-API-Version: 2.1"
  58. http://nova-api:8774 "GET /v2.1/flavors HTTP/1.1" 200 183
  59. RESP: [200] Connection: keep-alive Content-Length: 183 Content-Type: application/json Date: Thu, 29 Aug 2024 13:37:40 GMT Openstack-Api-Version: compute 2.1 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-7fcbe04d-eb78-4dec-a78a-5abe2af6ac8e X-Openstack-Nova-Api-Version: 2.1 X-Openstack-Request-Id: req-7fcbe04d-eb78-4dec-a78a-5abe2af6ac8e
  60. RESP BODY: {"flavors": [{"id": "0", "name": "m1.nano", "links": [{"rel": "self", "href": "http://nova-api:8774/v2.1/flavors/0"}, {"rel": "bookmark", "href": "http://nova-api:8774/flavors/0"}]}]}
  61. GET call to compute for http://nova-api:8774/v2.1/flavors used request id req-7fcbe04d-eb78-4dec-a78a-5abe2af6ac8e
  62. REQ: curl -g -i -X GET http://nova-api:8774/v2.1/flavors/0 -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}b5435fcbe920d0c8f419315b2fc6de410aec5f7e3e5d8911049388ec84517a24" -H "X-OpenStack-Nova-API-Version: 2.1"
  63. http://nova-api:8774 "GET /v2.1/flavors/0 HTTP/1.1" 200 349
  64. RESP: [200] Connection: keep-alive Content-Length: 349 Content-Type: application/json Date: Thu, 29 Aug 2024 13:37:40 GMT Openstack-Api-Version: compute 2.1 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-6d932d7b-e9a9-42ff-acbf-571f40700e69 X-Openstack-Nova-Api-Version: 2.1 X-Openstack-Request-Id: req-6d932d7b-e9a9-42ff-acbf-571f40700e69
  65. RESP BODY: {"flavor": {"id": "0", "name": "m1.nano", "ram": 64, "disk": 1, "swap": "", "OS-FLV-EXT-DATA:ephemeral": 0, "OS-FLV-DISABLED:disabled": false, "vcpus": 1, "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "links": [{"rel": "self", "href": "http://nova-api:8774/v2.1/flavors/0"}, {"rel": "bookmark", "href": "http://nova-api:8774/flavors/0"}]}}
  66. GET call to compute for http://nova-api:8774/v2.1/flavors/0 used request id req-6d932d7b-e9a9-42ff-acbf-571f40700e69
  67. network endpoint in service catalog
  68. Network client initialized using OpenStack SDK: <openstack.network.v2._proxy.Proxy object at 0x7f69bc19d390>
  69. REQ: curl -g -i -X GET http://neutron:9696/v2.0/networks/5207b06c-eae2-4f57-beb3-b37ebd081245 -H "User-Agent: openstacksdk/0.61.0 keystoneauth1/4.4.0 python-requests/2.25.1 CPython/3.10.12" -H "X-Auth-Token: {SHA256}b5435fcbe920d0c8f419315b2fc6de410aec5f7e3e5d8911049388ec84517a24"
  70. Starting new HTTP connection (1): neutron:9696
  71. http://neutron:9696 "GET /v2.0/networks/5207b06c-eae2-4f57-beb3-b37ebd081245 HTTP/1.1" 200 587
  72. RESP: [200] Connection: keep-alive Content-Length: 587 Content-Type: application/json Date: Thu, 29 Aug 2024 13:37:42 GMT X-Openstack-Request-Id: req-56505201-6298-490a-84e5-cf20a17c89f7
  73. RESP BODY: {"network":{"id":"5207b06c-eae2-4f57-beb3-b37ebd081245","name":"provider","tenant_id":"70d1d3ff085a4013ad319cd71006365f","admin_state_up":true,"mtu":1500,"status":"ACTIVE","subnets":["011a1364-6734-422f-a400-32218c23b60f"],"shared":true,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"ipv6_address_scope":null,"router:external":true,"description":"","port_security_enabled":true,"is_default":false,"tags":[],"created_at":"2024-08-28T22:42:12Z","updated_at":"2024-08-28T22:50:11Z","revision_number":2,"project_id":"70d1d3ff085a4013ad319cd71006365f"}}
  74. GET call to network for http://neutron:9696/v2.0/networks/5207b06c-eae2-4f57-beb3-b37ebd081245 used request id req-56505201-6298-490a-84e5-cf20a17c89f7
  75. network endpoint in service catalog
  76. REQ: curl -g -i -X GET http://neutron:9696/v2.0/security-groups/default -H "User-Agent: openstacksdk/0.61.0 keystoneauth1/4.4.0 python-requests/2.25.1 CPython/3.10.12" -H "X-Auth-Token: {SHA256}b5435fcbe920d0c8f419315b2fc6de410aec5f7e3e5d8911049388ec84517a24"
  77. http://neutron:9696 "GET /v2.0/security-groups/default HTTP/1.1" 404 117
  78. RESP: [404] Connection: keep-alive Content-Length: 117 Content-Type: application/json Date: Thu, 29 Aug 2024 13:37:42 GMT X-Openstack-Request-Id: req-d87421ac-0b95-4678-8546-8860692679a8
  79. RESP BODY: {"NeutronError": {"type": "SecurityGroupNotFound", "message": "Security group default does not exist", "detail": ""}}
  80. GET call to network for http://neutron:9696/v2.0/security-groups/default used request id req-d87421ac-0b95-4678-8546-8860692679a8
  81. REQ: curl -g -i -X GET "http://neutron:9696/v2.0/security-groups?name=default" -H "Accept: application/json" -H "User-Agent: openstacksdk/0.61.0 keystoneauth1/4.4.0 python-requests/2.25.1 CPython/3.10.12" -H "X-Auth-Token: {SHA256}b5435fcbe920d0c8f419315b2fc6de410aec5f7e3e5d8911049388ec84517a24"
  82. http://neutron:9696 "GET /v2.0/security-groups?name=default HTTP/1.1" 200 3986
  83. RESP: [200] Connection: keep-alive Content-Length: 3986 Content-Type: application/json Date: Thu, 29 Aug 2024 13:37:42 GMT X-Openstack-Request-Id: req-41802242-55f3-4933-a573-bb7f984fdc7c
  84. RESP BODY: {"security_groups": [{"id": "22d69471-523e-4b20-9845-0016ea777fda", "name": "default", "stateful": true, "tenant_id": "1823332b9d284ec2bb0f5fb776e24027", "description": "Default security group", "shared": false, "security_group_rules": [{"id": "8238f8f5-2c3e-4337-99b2-e72ca906683a", "tenant_id": "1823332b9d284ec2bb0f5fb776e24027", "security_group_id": "22d69471-523e-4b20-9845-0016ea777fda", "ethertype": "IPv4", "direction": "ingress", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "remote_ip_prefix": "0.0.0.0/0", "remote_address_group_id": null, "normalized_cidr": "0.0.0.0/0", "remote_group_id": null, "standard_attr_id": 21, "description": "", "tags": [], "created_at": "2024-08-28T23:13:25Z", "updated_at": "2024-08-28T23:13:25Z", "revision_number": 0, "project_id": "1823332b9d284ec2bb0f5fb776e24027"}, {"id": "c29dec8b-68c8-4fb3-9415-592a31febf69", "tenant_id": "1823332b9d284ec2bb0f5fb776e24027", "security_group_id": "22d69471-523e-4b20-9845-0016ea777fda", "ethertype": "IPv4", "direction": "ingress", "protocol": "icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": "0.0.0.0/0", "remote_address_group_id": null, "normalized_cidr": "0.0.0.0/0", "remote_group_id": null, "standard_attr_id": 20, "description": "", "tags": [], "created_at": "2024-08-28T23:13:02Z", "updated_at": "2024-08-28T23:13:02Z", "revision_number": 0, "project_id": "1823332b9d284ec2bb0f5fb776e24027"}, {"id": "c4f4912b-8108-46f3-9ad5-9e4a194f346a", "tenant_id": "1823332b9d284ec2bb0f5fb776e24027", "security_group_id": "22d69471-523e-4b20-9845-0016ea777fda", "ethertype": "IPv4", "direction": "ingress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": "22d69471-523e-4b20-9845-0016ea777fda", "standard_attr_id": 10, "description": null, "tags": [], "created_at": "2024-08-28T22:59:41Z", "updated_at": "2024-08-28T22:59:41Z", "revision_number": 0, "project_id": "1823332b9d284ec2bb0f5fb776e24027"}, {"id": "c7440b5c-4388-4d9a-8264-ad8010dff9ae", "tenant_id": "1823332b9d284ec2bb0f5fb776e24027", "security_group_id": "22d69471-523e-4b20-9845-0016ea777fda", "ethertype": "IPv6", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 13, "description": null, "tags": [], "created_at": "2024-08-28T22:59:42Z", "updated_at": "2024-08-28T22:59:42Z", "revision_number": 0, "project_id": "1823332b9d284ec2bb0f5fb776e24027"}, {"id": "de3bf969-1a9d-4f1f-9e14-51a6ab3430a6", "tenant_id": "1823332b9d284ec2bb0f5fb776e24027", "security_group_id": "22d69471-523e-4b20-9845-0016ea777fda", "ethertype": "IPv4", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 11, "description": null, "tags": [], "created_at": "2024-08-28T22:59:42Z", "updated_at": "2024-08-28T22:59:42Z", "revision_number": 0, "project_id": "1823332b9d284ec2bb0f5fb776e24027"}, {"id": "f43b9026-29bb-49c8-ae16-fefe09da1d25", "tenant_id": "1823332b9d284ec2bb0f5fb776e24027", "security_group_id": "22d69471-523e-4b20-9845-0016ea777fda", "ethertype": "IPv6", "direction": "ingress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": "22d69471-523e-4b20-9845-0016ea777fda", "standard_attr_id": 12, "description": null, "tags": [], "created_at": "2024-08-28T22:59:42Z", "updated_at": "2024-08-28T22:59:42Z", "revision_number": 0, "project_id": "1823332b9d284ec2bb0f5fb776e24027"}], "tags": [], "created_at": "2024-08-28T22:59:41Z", "updated_at": "2024-08-28T23:13:25Z", "revision_number": 3, "project_id": "1823332b9d284ec2bb0f5fb776e24027"}]}
  85. GET call to network for http://neutron:9696/v2.0/security-groups?name=default used request id req-41802242-55f3-4933-a573-bb7f984fdc7c
  86. boot_args: ['provider-instance1', openstack.image.v2.image.Image(name=cirros, disk_format=qcow2, container_format=bare, visibility=public, size=12716032, virtual_size=46137344, status=active, checksum=443b7623e27ecf03dc9e01ee93f67afe, protected=False, min_ram=0, min_disk=0, owner=70d1d3ff085a4013ad319cd71006365f, os_hidden=False, os_hash_algo=sha512, os_hash_value=6513f21e44aa3da349f248188a44bc304a3653a04122d8fb4535423c8e1d14cd6a153f735bb0982e2161b5b5186106570c17a9e58b64dd39390617cd5a350f78, id=099b2d6c-b048-4c73-9a38-c950eb559fcf, created_at=2024-08-28T19:16:26Z, updated_at=2024-08-28T19:16:27Z, tags=[], file=/v2/images/099b2d6c-b048-4c73-9a38-c950eb559fcf/file, schema=/v2/schemas/image, properties={'stores': 'fs'}, location=Munch({'cloud': '', 'region_name': '', 'zone': None, 'project': Munch({'id': '1823332b9d284ec2bb0f5fb776e24027', 'name': 'myproject', 'domain_id': None, 'domain_name': 'Default'})})), <Flavor: m1.nano>]
  87. boot_kwargs: {'meta': None, 'files': {}, 'reservation_id': None, 'min_count': 1, 'max_count': 1, 'security_groups': ['22d69471-523e-4b20-9845-0016ea777fda'], 'userdata': None, 'key_name': 'demo-key1', 'availability_zone': None, 'admin_pass': None, 'block_device_mapping_v2': [], 'nics': [{'net-id': '5207b06c-eae2-4f57-beb3-b37ebd081245', 'port-id': '', 'v4-fixed-ip': '', 'v6-fixed-ip': ''}], 'scheduler_hints': {}, 'config_drive': None}
  88. REQ: curl -g -i -X POST http://nova-api:8774/v2.1/servers -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}b5435fcbe920d0c8f419315b2fc6de410aec5f7e3e5d8911049388ec84517a24" -H "X-OpenStack-Nova-API-Version: 2.1" -d '{"server": {"name": "provider-instance1", "imageRef": "099b2d6c-b048-4c73-9a38-c950eb559fcf", "flavorRef": "0", "key_name": "demo-key1", "min_count": 1, "max_count": 1, "security_groups": [{"name": "22d69471-523e-4b20-9845-0016ea777fda"}], "networks": [{"uuid": "5207b06c-eae2-4f57-beb3-b37ebd081245"}]}}'
  89. http://nova-api:8774 "POST /v2.1/servers HTTP/1.1" 500 225
  90. RESP: [500] Connection: keep-alive Content-Length: 225 Content-Type: application/json; charset=UTF-8 Date: Thu, 29 Aug 2024 13:37:42 GMT Openstack-Api-Version: compute 2.1 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-714b22b5-4c3e-42ff-8776-281dbba47558 X-Openstack-Nova-Api-Version: 2.1 X-Openstack-Request-Id: req-714b22b5-4c3e-42ff-8776-281dbba47558
  91. RESP BODY: {"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'keystoneauth1.exceptions.discovery.DiscoveryFailure'>"}}
  92. POST call to compute for http://nova-api:8774/v2.1/servers used request id req-714b22b5-4c3e-42ff-8776-281dbba47558
  93. Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  94. <class 'keystoneauth1.exceptions.discovery.DiscoveryFailure'> (HTTP 500) (Request-ID: req-714b22b5-4c3e-42ff-8776-281dbba47558)
  95. Traceback (most recent call last):
  96. File "/usr/lib/python3/dist-packages/cliff/app.py", line 407, in run_subcommand
  97. result = cmd.run(parsed_args)
  98. File "/usr/lib/python3/dist-packages/osc_lib/command/command.py", line 39, in run
  99. return super(Command, self).run(parsed_args)
  100. File "/usr/lib/python3/dist-packages/cliff/display.py", line 115, in run
  101. column_names, data = self.take_action(parsed_args)
  102. File "/usr/lib/python3/dist-packages/openstackclient/compute/v2/server.py", line 1729, in take_action
  103. server = compute_client.servers.create(*boot_args, **boot_kwargs)
  104. File "/usr/lib/python3/dist-packages/novaclient/v2/servers.py", line 1501, in create
  105. return self._boot(response_key, *boot_args, **boot_kwargs)
  106. File "/usr/lib/python3/dist-packages/novaclient/v2/servers.py", line 856, in _boot
  107. return self._create('/servers', body, response_key,
  108. File "/usr/lib/python3/dist-packages/novaclient/base.py", line 363, in _create
  109. resp, body = self.api.client.post(url, body=body)
  110. File "/usr/lib/python3/dist-packages/keystoneauth1/adapter.py", line 401, in post
  111. return self.request(url, 'POST', **kwargs)
  112. File "/usr/lib/python3/dist-packages/novaclient/client.py", line 78, in request
  113. raise exceptions.from_response(resp, body, url, method)
  114. novaclient.exceptions.ClientException: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  115. <class 'keystoneauth1.exceptions.discovery.DiscoveryFailure'> (HTTP 500) (Request-ID: req-714b22b5-4c3e-42ff-8776-281dbba47558)
  116. clean_up CreateServer: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  117. <class 'keystoneauth1.exceptions.discovery.DiscoveryFailure'> (HTTP 500) (Request-ID: req-714b22b5-4c3e-42ff-8776-281dbba47558)
  118. END return value: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement