· 6 years ago · Mar 21, 2020, 01:24 PM
1moberukhtin@opst:~/Документы/shared$ source ./i84_admin.sh
2moberukhtin@opst:~/Документы/shared$ op server list
3Failed to discover available identity versions when contacting http://api-admin.api.i84.infra.loc:35357/v3. Attempting to parse version from URL.
4Unable to establish connection to http://api-admin.api.i84.infra.loc:35357/v3/auth/tokens: HTTPConnectionPool(host='api-admin.api.i84.infra.loc', port=35357): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f6d533099a0>: Failed to establish a new connection: [Errno -2] Неизвестное имя или служба'))
5moberukhtin@opst:~/Документы/shared$ op server list
6^CTraceback (most recent call last):
7 File "/usr/local/bin/openstack", line 8, in <module>
8 sys.exit(main())
9 File "/usr/local/lib/python3.8/site-packages/openstackclient/shell.py", line 179, in main
10 return OpenStackShell().run(argv)
11 File "/usr/local/lib/python3.8/site-packages/osc_lib/shell.py", line 136, in run
12 ret_val = super(OpenStackShell, self).run(argv)
13 File "/usr/local/lib/python3.8/site-packages/cliff/app.py", line 279, in run
14 result = self.run_subcommand(remainder)
15 File "/usr/local/lib/python3.8/site-packages/osc_lib/shell.py", line 176, in run_subcommand
16 ret_value = super(OpenStackShell, self).run_subcommand(argv)
17 File "/usr/local/lib/python3.8/site-packages/cliff/app.py", line 400, in run_subcommand
18 result = cmd.run(parsed_args)
19 File "/usr/local/lib/python3.8/site-packages/osc_lib/command/command.py", line 41, in run
20 return super(Command, self).run(parsed_args)
21 File "/usr/local/lib/python3.8/site-packages/cliff/display.py", line 116, in run
22 column_names, data = self.take_action(parsed_args)
23 File "/usr/local/lib/python3.8/site-packages/openstackclient/compute/v2/server.py", line 1418, in take_action
24 data = compute_client.servers.list(search_opts=search_opts,
25 File "/usr/local/lib/python3.8/site-packages/novaclient/v2/servers.py", line 936, in list
26 servers = self._list("/servers%s%s" % (detail, query_string),
27 File "/usr/local/lib/python3.8/site-packages/novaclient/base.py", line 254, in _list
28 resp, body = self.api.client.get(url)
29 File "/usr/local/lib/python3.8/site-packages/keystoneauth1/adapter.py", line 386, in get
30 return self.request(url, 'GET', **kwargs)
31 File "/usr/local/lib/python3.8/site-packages/novaclient/client.py", line 69, in request
32 resp, body = super(SessionClient, self).request(url,
33 File "/usr/local/lib/python3.8/site-packages/keystoneauth1/adapter.py", line 545, in request
34 resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
35 File "/usr/local/lib/python3.8/site-packages/keystoneauth1/adapter.py", line 248, in request
36 return self.session.request(url, method, **kwargs)
37 File "/usr/local/lib/python3.8/site-packages/keystoneauth1/session.py", line 913, in request
38 resp = send(**kwargs)
39 File "/usr/local/lib/python3.8/site-packages/keystoneauth1/session.py", line 1004, in _send_request
40 resp = self.session.request(method, url, **kwargs)
41 File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 533, in request
42 resp = self.send(prep, **send_kwargs)
43 File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 646, in send
44 r = adapter.send(request, **kwargs)
45 File "/usr/local/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
46 resp = conn.urlopen(
47 File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 665, in urlopen
48 httplib_response = self._make_request(
49 File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 376, in _make_request
50 self._validate_conn(conn)
51 File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
52 conn.connect()
53 File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 386, in connect
54 self.sock = ssl_wrap_socket(
55 File "/usr/local/lib/python3.8/site-packages/urllib3/util/ssl_.py", line 370, in ssl_wrap_socket
56 return context.wrap_socket(sock, server_hostname=server_hostname)
57 File "/usr/local/lib/python3.8/site-packages/urllib3/contrib/pyopenssl.py", line 485, in wrap_socket
58 cnx.do_handshake()
59 File "/usr/local/lib/python3.8/site-packages/OpenSSL/SSL.py", line 1933, in do_handshake
60 result = _lib.SSL_do_handshake(self._ssl)
61KeyboardInterrupt
62
63moberukhtin@opst:~/Документы/shared$ op server list -vvvv
64START with options: server list -vvvv
65options: Namespace(access_token='***', access_token_endpoint='', access_token_type='', application_credential_id='', application_credential_name='', application_credential_secret='***', auth_methods='', auth_type='', auth_url='http://api-admin.api.i84.infra.loc:35357/v3', cacert=None, cert='', client_id='', client_secret='***', cloud='', code='', debug=False, default_domain='default', default_domain_id='', default_domain_name='', deferred_help=False, discovery_endpoint='', domain_id='', domain_name='', endpoint='', identity_provider='', insecure=None, interface='public', key='', log_file=None, openid_scope='', os_beta_command=False, os_compute_api_version='', os_identity_api_version='3', os_image_api_version='2', os_network_api_version='', os_object_api_version='', os_project_id=None, os_project_name=None, os_volume_api_version='', passcode='', password='***', project_domain_id='', project_domain_name='Default', project_id='f34f94f2b43b483ebcdcb0e078c36dfb', project_name='duty', protocol='', redirect_uri='', region_name='Ekaterinburg', remote_project_domain_id='', remote_project_domain_name='', remote_project_id='', remote_project_name='', service_provider='', system_scope='', timing=False, token='***', trust_id='', user_domain_id='', user_domain_name='Default', user_id='', username='1.5support@rtk-dc.ru', verbose_level=5, verify=None)
66Auth plugin password selected
67auth_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_id': 'f34f94f2b43b483ebcdcb0e078c36dfb', 'project_name': 'duty'}, 'verbose_level': 5, 'deferred_help': False, 'region_name': 'Ekaterinburg', 'default_domain': 'default', 'timing': False, 'auth_url': 'http://api-admin.api.i84.infra.loc:35357/v3', 'username': '1.5support@rtk-dc.ru', 'password': '***', 'beta_command': False, 'identity_api_version': '3', 'image_api_version': '2', 'auth_type': 'password', 'networks': []}
68defaults: {'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'}
69cloud 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_id': 'f34f94f2b43b483ebcdcb0e078c36dfb', 'project_name': 'duty'}, 'verbose_level': 5, 'deferred_help': False, 'region_name': 'Ekaterinburg', 'default_domain': 'default', 'timing': False, 'auth_url': 'http://api-admin.api.i84.infra.loc:35357/v3', 'username': '1.5support@rtk-dc.ru', 'password': '***', 'beta_command': False, 'identity_api_version': '3', 'image_api_version': '2', 'auth_type': 'password', 'networks': []}
70compute API version 2.1, cmd group openstack.compute.v2
71identity API version 3, cmd group openstack.identity.v3
72image API version 2, cmd group openstack.image.v2
73network API version 2, cmd group openstack.network.v2
74object_store API version 1, cmd group openstack.object_store.v1
75volume API version 3, cmd group openstack.volume.v3
76Auth plugin password selected
77auth_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_id': 'f34f94f2b43b483ebcdcb0e078c36dfb', 'project_name': 'duty'}, 'verbose_level': 5, 'deferred_help': False, 'region_name': 'Ekaterinburg', 'default_domain': 'default', 'timing': False, 'auth_url': 'http://api-admin.api.i84.infra.loc:35357/v3', 'username': '1.5support@rtk-dc.ru', 'password': '***', 'beta_command': False, 'identity_api_version': '3', 'image_api_version': '2', 'auth_type': 'password', 'networks': []}
78command: server list -> openstackclient.compute.v2.server.ListServer (auth=True)
79Auth plugin password selected
80auth_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_id': 'f34f94f2b43b483ebcdcb0e078c36dfb', 'project_name': 'duty'}, 'additional_user_agent': [('osc-lib', '1.15.0')], 'verbose_level': 5, 'deferred_help': False, 'region_name': 'Ekaterinburg', 'default_domain': 'default', 'timing': False, 'auth_url': 'http://api-admin.api.i84.infra.loc:35357/v3', 'username': '1.5support@rtk-dc.ru', 'password': '***', 'beta_command': False, 'identity_api_version': '3', 'image_api_version': '2', 'auth_type': 'password', 'networks': []}
81Using auth plugin: password
82Using parameters {'auth_url': 'http://api-admin.api.i84.infra.loc:35357/v3', 'project_id': 'f34f94f2b43b483ebcdcb0e078c36dfb', 'project_name': 'duty', 'project_domain_name': 'Default', 'username': '1.5support@rtk-dc.ru', 'user_domain_name': 'Default', 'password': '***'}
83Get auth_ref
84REQ: curl -g -i -X GET http://api-admin.api.i84.infra.loc:35357/v3 -H "Accept: application/json" -H "User-Agent: openstacksdk/0.37.0 keystoneauth1/3.18.0 python-requests/2.22.0 CPython/3.8.0"
85Starting new HTTP connection (1): api-admin.api.i84.infra.loc:35357
86http://api-admin.api.i84.infra.loc:35357 "GET /v3 HTTP/1.1" 200 268
87RESP: [200] Content-Length: 268 Content-Type: application/json Date: Sat, 21 Mar 2020 13:20:47 GMT Server: nginx/1.16.1 Vary: X-Auth-Token x-openstack-request-id: req-cfc7d93b-0e6a-41c8-8fd9-c50436be549b
88RESP BODY: {"version": {"status": "stable", "updated": "2018-02-28T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.10", "links": [{"href": "http://api-admin.api.i84.infra.loc:35357/v3/", "rel": "self"}]}}
89GET call to http://api-admin.api.i84.infra.loc:35357/v3 used request id req-cfc7d93b-0e6a-41c8-8fd9-c50436be549b
90Making authentication request to http://api-admin.api.i84.infra.loc:35357/v3/auth/tokens
91http://api-admin.api.i84.infra.loc:35357 "POST /v3/auth/tokens HTTP/1.1" 201 8662
92{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "d3b8099d1b6d4332a1c037f9ea4df0a7", "name": "admin"}], "expires_at": "2020-03-21T15:20:47.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "f34f94f2b43b483ebcdcb0e078c36dfb", "name": "duty"}, "catalog": [{"endpoints": [{"url": "https://hapi4.vdcportal.ru:9363", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "00f1e033f5dc47fea52ea1214e26a587"}, {"url": "http://api-internal.api.i84.infra.loc:9363", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "32cb0f1fb0504891b2a571d7c91b0fd8"}, {"url": "http://api-admin.api.i84.infra.loc:9363", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "6a0ea2ed39b14c7882e9f53ba2b13cdf"}], "type": "tnx-monitor", "id": "0ec61f4453d64b6684c5c06c89f84610", "name": "tnx-monitor"}, {"endpoints": [{"url": "http://api-admin.api.i84.infra.loc:8080/v1/AUTH_f34f94f2b43b483ebcdcb0e078c36dfb", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "10e509f0d95d4ceca13c618f7405266c"}, {"url": "http://api-internal.api.i84.infra.loc:8080/v1/AUTH_f34f94f2b43b483ebcdcb0e078c36dfb", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "71480481bc43440189154d6c391a38d3"}], "type": "image-store", "id": "17891a1d5cbd42cfba032aa992149dfb", "name": "swift"}, {"endpoints": [{"url": "http://api-admin.api.i84.infra.loc:8774/v2.1", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "12db3648fe9f4c69a79cebc938fd4054"}, {"url": "https://hapi4.vdcportal.ru:8774/v2.1", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "242ccd08fb674ed18a90ed155abd3ac9"}, {"url": "http://api-internal.api.i84.infra.loc:8774/v2.1", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "76259cea5c02482b9b5ab3acc374cf6c"}], "type": "compute", "id": "29b25b9bd64b49d6b097ba932e2037db", "name": "nova"}, {"endpoints": [{"url": "http://api-admin.api.i84.infra.loc:9696", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "0d720dd5695547ca93e2ab379b819c9d"}, {"url": "http://api-internal.api.i84.infra.loc:9696", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "63a1c0357e2a474ca2371032b6721149"}, {"url": "https://hapi4.vdcportal.ru:9696", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "cd95c4e8dd8b440697334ed34f7f03ce"}], "type": "network", "id": "519d1c0ce20b4479a0fe1e8a33340da6", "name": "neutron"}, {"endpoints": [{"url": "http://api-admin.api.i84.infra.loc:8778", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "020afc11c0b74691b54442db36994708"}, {"url": "https://hapi4.vdcportal.ru:8778", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "23d4104dce5c4e0582e71dd075d8f173"}, {"url": "http://api-internal.api.i84.infra.loc:8778", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "aa93db67b7ce4920b300096544193c30"}], "type": "placement", "id": "532c9891d35e42aeaddf421344206afe", "name": "placement"}, {"endpoints": [{"url": "https://hapi4.vdcportal.ru:5000/v3", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "2bb40e0584bf44cdbb41036556cde518"}, {"url": "http://api-internal.api.i84.infra.loc:5000/v3", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "4ce763692dd4420e82986e1854baeaf4"}, {"url": "http://api-admin.api.i84.infra.loc:35357/v3", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "d31a7a1686c247138eae0b9abd7be3d2"}], "type": "identity", "id": "60145054b00a4916a2363ba41fdd6e0e", "name": "identity"}, {"endpoints": [{"url": "http://api-internal.api.i84.infra.loc:9360", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "1e48f122eb3c4e0e9bbcdeb544ce510f"}, {"url": "http://api-admin.api.i84.infra.loc:9360", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "c20ccd6078304decb5c0735d602bede9"}, {"url": "https://hapi4.vdcportal.ru:9360", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "f756097f16784df69a993a4b56375206"}], "type": "tnx-journal", "id": "7aeeb1b91e9a42e59d6f702c8c2215b3", "name": "tnx-journal"}, {"endpoints": [{"url": "http://api-internal.api.i84.infra.loc:9362", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "c712dfea6ce04d56acd6f98469a1b70a"}, {"url": "https://hapi4.vdcportal.ru:9362", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "faaa9404c9ba47099a0a60f55fc49787"}, {"url": "http://api-admin.api.i84.infra.loc:9362", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "fe0a39bf3a0242c5b886e1499c322c5e"}], "type": "tnx-nc", "id": "833ef832503b46079c349f65ab3cad54", "name": "tnx-nc"}, {"endpoints": [{"url": "http://api-internal.api.i84.infra.loc:9364", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "643b06f2b9f44cc78c148c3f0ea8e149"}, {"url": "http://api-admin.api.i84.infra.loc:9364", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "d3d33ebae592455c92f8a64ba85e6946"}, {"url": "https://hapi4.vdcportal.ru:9364", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "d41ae07ccf13466fa58a621be20147a0"}], "type": "tnx-vdi", "id": "8dfb7b089c304dbeaa8f8cc737b25653", "name": "tnx-vdi"}, {"endpoints": [{"url": "http://api-admin.api.i84.infra.loc:9292", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "62b5ca0633fa4c24a8640e85926222d8"}, {"url": "https://hapi4.vdcportal.ru:9292", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "7982ff6a787849fcb9b71ccb1c77e3ac"}, {"url": "http://api-internal.api.i84.infra.loc:9292", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "fed4e910955f4596a47a5748e59508ca"}], "type": "image", "id": "aeb2d1d5805f4693af88d864d1b4ab19", "name": "glance"}, {"endpoints": [{"url": "https://hapi4.vdcportal.ru:8776/v2/f34f94f2b43b483ebcdcb0e078c36dfb", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "339ffe96c3d04485ab78a1d55b754171"}, {"url": "http://api-internal.api.i84.infra.loc:8776/v2/f34f94f2b43b483ebcdcb0e078c36dfb", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "8420f4925789467b95668b656c540968"}, {"url": "http://api-admin.api.i84.infra.loc:8776/v2/f34f94f2b43b483ebcdcb0e078c36dfb", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "9284f40fd678483d9de674577047a6eb"}], "type": "volumev2", "id": "bbfd4c74f9674ffdbfa4ef4137411b6d", "name": "cinderv2"}, {"endpoints": [{"url": "http://api-internal.api.i84.infra.loc:10001", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "273237e7c7c3442fa6100bf669a1cbf1"}, {"url": "http://api-admin.api.i84.infra.loc:10001", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "d9b3bec0826e4fcc8db2ff0a343445bc"}, {"url": "https://hapi4.vdcportal.ru:10001", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "e708c543c20545dfa4d64a699f3052a4"}], "type": "tnx-scheduler", "id": "bebb6a5bcba34fc0bbbc027c9a358af2", "name": "tnx-scheduler"}, {"endpoints": [{"url": "http://api-admin.api.i84.infra.loc:8776/v3/f34f94f2b43b483ebcdcb0e078c36dfb", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "2026c1e212934c9081a8870cc2286622"}, {"url": "http://api-internal.api.i84.infra.loc:8776/v3/f34f94f2b43b483ebcdcb0e078c36dfb", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "c52ce5060a7a441eb78e32019b35606a"}, {"url": "https://hapi4.vdcportal.ru:8776/v3/f34f94f2b43b483ebcdcb0e078c36dfb", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "db762d21e06f44a096319c3467495ef6"}], "type": "volumev3", "id": "c7207fb1596a4e3695f6c034c437b766", "name": "cinderv3"}], "user": {"password_expires_at": null, "domain": {"id": "default", "name": "Default"}, "id": "74a7d47d5d594956ba41a432ae8bf154", "name": "1.5support@rtk-dc.ru"}, "audit_ids": ["cnx2cZr0RA2b6-ULcpq2Xg"], "issued_at": "2020-03-21T13:20:47.000000Z"}}
93run(Namespace(all_projects=False, changes_before=None, changes_since=None, columns=[], deleted=False, fit_width=False, flavor=None, formatter='table', host=None, image=None, instance_name=None, ip=None, ip6=None, limit=None, locked=False, long=False, marker=None, max_width=0, name=None, name_lookup_one_by_one=False, no_name_lookup=False, noindent=False, print_empty=False, project=None, project_domain=None, quote_mode='nonnumeric', reservation_id=None, sort_columns=[], status=None, unlocked=False, user=None, user_domain=None))
94Instantiating compute client for API Version Major: 2, Minor: 1
95Instantiating compute api: <class 'openstackclient.api.compute_v2.APIv2'>
96Instantiating identity client: <class 'keystoneclient.v3.client.Client'>
97Instantiating image client: <class 'glanceclient.v2.client.Client'>
98Making authentication request to http://api-admin.api.i84.infra.loc:35357/v3/auth/tokens
99http://api-admin.api.i84.infra.loc:35357 "POST /v3/auth/tokens HTTP/1.1" 201 8662
100{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "d3b8099d1b6d4332a1c037f9ea4df0a7", "name": "admin"}], "expires_at": "2020-03-21T15:20:48.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "f34f94f2b43b483ebcdcb0e078c36dfb", "name": "duty"}, "catalog": [{"endpoints": [{"url": "https://hapi4.vdcportal.ru:9363", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "00f1e033f5dc47fea52ea1214e26a587"}, {"url": "http://api-internal.api.i84.infra.loc:9363", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "32cb0f1fb0504891b2a571d7c91b0fd8"}, {"url": "http://api-admin.api.i84.infra.loc:9363", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "6a0ea2ed39b14c7882e9f53ba2b13cdf"}], "type": "tnx-monitor", "id": "0ec61f4453d64b6684c5c06c89f84610", "name": "tnx-monitor"}, {"endpoints": [{"url": "http://api-admin.api.i84.infra.loc:8080/v1/AUTH_f34f94f2b43b483ebcdcb0e078c36dfb", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "10e509f0d95d4ceca13c618f7405266c"}, {"url": "http://api-internal.api.i84.infra.loc:8080/v1/AUTH_f34f94f2b43b483ebcdcb0e078c36dfb", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "71480481bc43440189154d6c391a38d3"}], "type": "image-store", "id": "17891a1d5cbd42cfba032aa992149dfb", "name": "swift"}, {"endpoints": [{"url": "http://api-admin.api.i84.infra.loc:8774/v2.1", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "12db3648fe9f4c69a79cebc938fd4054"}, {"url": "https://hapi4.vdcportal.ru:8774/v2.1", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "242ccd08fb674ed18a90ed155abd3ac9"}, {"url": "http://api-internal.api.i84.infra.loc:8774/v2.1", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "76259cea5c02482b9b5ab3acc374cf6c"}], "type": "compute", "id": "29b25b9bd64b49d6b097ba932e2037db", "name": "nova"}, {"endpoints": [{"url": "http://api-admin.api.i84.infra.loc:9696", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "0d720dd5695547ca93e2ab379b819c9d"}, {"url": "http://api-internal.api.i84.infra.loc:9696", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "63a1c0357e2a474ca2371032b6721149"}, {"url": "https://hapi4.vdcportal.ru:9696", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "cd95c4e8dd8b440697334ed34f7f03ce"}], "type": "network", "id": "519d1c0ce20b4479a0fe1e8a33340da6", "name": "neutron"}, {"endpoints": [{"url": "http://api-admin.api.i84.infra.loc:8778", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "020afc11c0b74691b54442db36994708"}, {"url": "https://hapi4.vdcportal.ru:8778", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "23d4104dce5c4e0582e71dd075d8f173"}, {"url": "http://api-internal.api.i84.infra.loc:8778", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "aa93db67b7ce4920b300096544193c30"}], "type": "placement", "id": "532c9891d35e42aeaddf421344206afe", "name": "placement"}, {"endpoints": [{"url": "https://hapi4.vdcportal.ru:5000/v3", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "2bb40e0584bf44cdbb41036556cde518"}, {"url": "http://api-internal.api.i84.infra.loc:5000/v3", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "4ce763692dd4420e82986e1854baeaf4"}, {"url": "http://api-admin.api.i84.infra.loc:35357/v3", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "d31a7a1686c247138eae0b9abd7be3d2"}], "type": "identity", "id": "60145054b00a4916a2363ba41fdd6e0e", "name": "identity"}, {"endpoints": [{"url": "http://api-internal.api.i84.infra.loc:9360", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "1e48f122eb3c4e0e9bbcdeb544ce510f"}, {"url": "http://api-admin.api.i84.infra.loc:9360", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "c20ccd6078304decb5c0735d602bede9"}, {"url": "https://hapi4.vdcportal.ru:9360", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "f756097f16784df69a993a4b56375206"}], "type": "tnx-journal", "id": "7aeeb1b91e9a42e59d6f702c8c2215b3", "name": "tnx-journal"}, {"endpoints": [{"url": "http://api-internal.api.i84.infra.loc:9362", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "c712dfea6ce04d56acd6f98469a1b70a"}, {"url": "https://hapi4.vdcportal.ru:9362", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "faaa9404c9ba47099a0a60f55fc49787"}, {"url": "http://api-admin.api.i84.infra.loc:9362", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "fe0a39bf3a0242c5b886e1499c322c5e"}], "type": "tnx-nc", "id": "833ef832503b46079c349f65ab3cad54", "name": "tnx-nc"}, {"endpoints": [{"url": "http://api-internal.api.i84.infra.loc:9364", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "643b06f2b9f44cc78c148c3f0ea8e149"}, {"url": "http://api-admin.api.i84.infra.loc:9364", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "d3d33ebae592455c92f8a64ba85e6946"}, {"url": "https://hapi4.vdcportal.ru:9364", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "d41ae07ccf13466fa58a621be20147a0"}], "type": "tnx-vdi", "id": "8dfb7b089c304dbeaa8f8cc737b25653", "name": "tnx-vdi"}, {"endpoints": [{"url": "http://api-admin.api.i84.infra.loc:9292", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "62b5ca0633fa4c24a8640e85926222d8"}, {"url": "https://hapi4.vdcportal.ru:9292", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "7982ff6a787849fcb9b71ccb1c77e3ac"}, {"url": "http://api-internal.api.i84.infra.loc:9292", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "fed4e910955f4596a47a5748e59508ca"}], "type": "image", "id": "aeb2d1d5805f4693af88d864d1b4ab19", "name": "glance"}, {"endpoints": [{"url": "https://hapi4.vdcportal.ru:8776/v2/f34f94f2b43b483ebcdcb0e078c36dfb", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "339ffe96c3d04485ab78a1d55b754171"}, {"url": "http://api-internal.api.i84.infra.loc:8776/v2/f34f94f2b43b483ebcdcb0e078c36dfb", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "8420f4925789467b95668b656c540968"}, {"url": "http://api-admin.api.i84.infra.loc:8776/v2/f34f94f2b43b483ebcdcb0e078c36dfb", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "9284f40fd678483d9de674577047a6eb"}], "type": "volumev2", "id": "bbfd4c74f9674ffdbfa4ef4137411b6d", "name": "cinderv2"}, {"endpoints": [{"url": "http://api-internal.api.i84.infra.loc:10001", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "273237e7c7c3442fa6100bf669a1cbf1"}, {"url": "http://api-admin.api.i84.infra.loc:10001", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "d9b3bec0826e4fcc8db2ff0a343445bc"}, {"url": "https://hapi4.vdcportal.ru:10001", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "e708c543c20545dfa4d64a699f3052a4"}], "type": "tnx-scheduler", "id": "bebb6a5bcba34fc0bbbc027c9a358af2", "name": "tnx-scheduler"}, {"endpoints": [{"url": "http://api-admin.api.i84.infra.loc:8776/v3/f34f94f2b43b483ebcdcb0e078c36dfb", "interface": "admin", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "2026c1e212934c9081a8870cc2286622"}, {"url": "http://api-internal.api.i84.infra.loc:8776/v3/f34f94f2b43b483ebcdcb0e078c36dfb", "interface": "internal", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "c52ce5060a7a441eb78e32019b35606a"}, {"url": "https://hapi4.vdcportal.ru:8776/v3/f34f94f2b43b483ebcdcb0e078c36dfb", "interface": "public", "region": "Ekaterinburg", "region_id": "Ekaterinburg", "id": "db762d21e06f44a096319c3467495ef6"}], "type": "volumev3", "id": "c7207fb1596a4e3695f6c034c437b766", "name": "cinderv3"}], "user": {"password_expires_at": null, "domain": {"id": "default", "name": "Default"}, "id": "74a7d47d5d594956ba41a432ae8bf154", "name": "1.5support@rtk-dc.ru"}, "audit_ids": ["6YX0z5emQOuzZZUOMRXw0w"], "issued_at": "2020-03-21T13:20:48.000000Z"}}
101Instantiating image api: <class 'openstackclient.api.image_v2.APIv2'>
102search options: {'reservation_id': None, 'ip': None, 'ip6': None, 'name': None, 'instance_name': None, 'status': None, 'flavor': None, 'image': None, 'host': None, 'tenant_id': None, 'all_tenants': False, 'user_id': None, 'deleted': False, 'changes-before': None, 'changes-since': None}
103REQ: curl -g -i -X GET https://hapi4.vdcportal.ru:8774/v2.1/servers/detail -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}7bc6b9e5d2f9f528d547a200cdb3c126ba9a4d439d9ebe79891c1fa5151478c4" -H "X-OpenStack-Nova-API-Version: 2.1"
104Starting new HTTPS connection (1): hapi4.vdcportal.ru:8774
105https://hapi4.vdcportal.ru:8774 "GET /v2.1/servers/detail HTTP/1.1" 200 3666
106RESP: [200] Content-Length: 3666 Content-Type: application/json Date: Sat, 21 Mar 2020 13:20:48 GMT Openstack-Api-Version: compute 2.1 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-cdcc3bc1-4ec9-4ca7-b596-bf0cacec14b0 X-Openstack-Nova-Api-Version: 2.1 X-Openstack-Request-Id: req-cdcc3bc1-4ec9-4ca7-b596-bf0cacec14b0
107RESP BODY: {"servers": [{"OS-EXT-STS:task_state": null, "addresses": {"test": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:ad:fc:f8", "version": 4, "addr": "192.168.0.10", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/servers/6513867a-4dfa-4f72-aea4-3171bfe212ab", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/servers/6513867a-4dfa-4f72-aea4-3171bfe212ab", "rel": "bookmark"}], "image": "", "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name": "instance-0000167c", "OS-SRV-USG:launched_at": "2020-01-30T10:56:22.000000", "flavor": {"id": "4bff09e3-13ba-442c-9180-1b859f125cf7", "links": [{"href": "https://hapi4.vdcportal.ru:8774/flavors/4bff09e3-13ba-442c-9180-1b859f125cf7", "rel": "bookmark"}]}, "id": "6513867a-4dfa-4f72-aea4-3171bfe212ab", "security_groups": [{"name": "default"}], "user_id": "74a7d47d5d594956ba41a432ae8bf154", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "ACTIVE", "updated": "2020-02-18T20:21:07Z", "hostId": "b8851e2c21e86c3f17098d12bad8d39bbdda64e8f1daf97690a7c9e4", "OS-EXT-SRV-ATTR:host": "i84s007kvm.hw.i84.infra.loc", "OS-SRV-USG:terminated_at": null, "key_name": null, "OS-EXT-SRV-ATTR:hypervisor_hostname": "i84s007kvm.hw.i84.infra.loc", "name": "Test_VM_2", "created": "2020-01-30T10:55:20Z", "tenant_id": "f34f94f2b43b483ebcdcb0e078c36dfb", "os-extended-volumes:volumes_attached": [{"id": "249f3682-ad3f-45b1-84e0-5432936c7629"}], "metadata": {"recovery_priority": "5", "node_id": "26", "evacuation_time": "60", "create_vol_on_launch": "{\"vol_image_id\": \"a57502de-11fc-4239-b473-c03d17ddcc6d\", \"del_vol_on_termination\": false}", "hypervisor_id": "a9524f25-e293-484b-9c1d-8edebe984392", "node_title": ""}}, {"OS-EXT-STS:task_state": null, "addresses": {"test": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:b9:ac:7a", "version": 4, "addr": "192.168.0.7", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/servers/60d03b79-ccb7-494e-9ae0-567eb371fba3", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/servers/60d03b79-ccb7-494e-9ae0-567eb371fba3", "rel": "bookmark"}], "image": "", "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name": "instance-00001644", "OS-SRV-USG:launched_at": "2020-01-30T11:17:23.000000", "flavor": {"id": "4bff09e3-13ba-442c-9180-1b859f125cf7", "links": [{"href": "https://hapi4.vdcportal.ru:8774/flavors/4bff09e3-13ba-442c-9180-1b859f125cf7", "rel": "bookmark"}]}, "id": "60d03b79-ccb7-494e-9ae0-567eb371fba3", "security_groups": [{"name": "default"}], "user_id": "74a7d47d5d594956ba41a432ae8bf154", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "ACTIVE", "updated": "2020-02-18T20:21:07Z", "hostId": "5a8bebd398e30eb7f55f9505915a9b2c08d04b56a46fe2f3670f2781", "OS-EXT-SRV-ATTR:host": "i84s006kvm.hw.i84.infra.loc", "OS-SRV-USG:terminated_at": null, "key_name": null, "OS-EXT-SRV-ATTR:hypervisor_hostname": "i84s006kvm.hw.i84.infra.loc", "name": "Test_VM_1", "created": "2020-01-30T10:33:03Z", "tenant_id": "f34f94f2b43b483ebcdcb0e078c36dfb", "os-extended-volumes:volumes_attached": [{"id": "095cd5dc-1f03-4396-af9e-bcf8c592b2fb"}, {"id": "453d5273-37f0-471f-bbf6-e7b9bb3bcf95"}, {"id": "94bcfc2d-0b4d-400b-a2d9-caa738f7f986"}, {"id": "9fec962a-6f43-4ca2-9b8c-733c371a24b4"}, {"id": "d5817420-61c6-42aa-a74f-0bff7fade9eb"}], "metadata": {"hypervisor_id": "f1c7e42a-5607-448d-adc2-f2f720120983", "node_id": "29", "node_title": ""}}]}
108GET call to compute for https://hapi4.vdcportal.ru:8774/v2.1/servers/detail used request id req-cdcc3bc1-4ec9-4ca7-b596-bf0cacec14b0
109curl -g -i -X GET -H 'b'Content-Type': b'application/octet-stream'' -H 'b'X-Auth-Token': b'gAAAAABedhSw24BQ9N7yKm80sEQhs9JdWUhrAkFIKoD1Wb8Tm3q5wKOiAxJXTqcYbSSj_ELo6MXo6EAqiVT2p0UVRSUCwaOw_a-pMymQCSHwazlrfGkSo6BhLN1X2Hec_vs_IUcN1E_JPI5X032o75GBp95XDQJKITjhcNgVx4N-DOcjsKhLCnc'' -H 'User-Agent: python-glanceclient' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'Connection: keep-alive' -k --cert None --key None https://hapi4.vdcportal.ru:9292/v2/images?limit=20
110Starting new HTTPS connection (1): hapi4.vdcportal.ru:9292
111/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py:997: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
112 warnings.warn(
113https://hapi4.vdcportal.ru:9292 "GET /v2/images?limit=20 HTTP/1.1" 200 12255
114GET call to image for https://hapi4.vdcportal.ru:9292/v2/images?limit=20 used request id req-def301fe-46f7-43d7-9e67-0ec4e9ba01d9
115
116HTTP/1.1 200 OK
117Content-Length: 12255
118Content-Type: application/json
119X-Openstack-Request-Id: req-def301fe-46f7-43d7-9e67-0ec4e9ba01d9
120Date: Sat, 21 Mar 2020 13:20:48 GMT
121
122{"images": [{"status": "active", "name": "vm-100-disk-0", "tags": [], "container_format": "bare", "created_at": "2020-03-18T21:46:27Z", "size": 34365243392, "disk_format": "qcow2", "updated_at": "2020-03-18T21:51:31Z", "visibility": "private", "self": "/v2/images/15cb448c-bcd5-4f16-bae0-40152c6f2f97", "min_disk": 0, "protected": false, "id": "15cb448c-bcd5-4f16-bae0-40152c6f2f97", "file": "/v2/images/15cb448c-bcd5-4f16-bae0-40152c6f2f97/file", "checksum": "27aeee3961dd58443fa4ea49d8769632", "owner": "c55f7ab2e0a74a668eaf25e6dfa07b52", "virtual_size": null, "min_ram": 0, "schema": "/v2/schemas/image"}, {"status": "active", "name": "Windows_Server_2012_Standard_Edition", "tags": [], "container_format": "bare", "created_at": "2020-02-12T06:46:19Z", "size": 13426688000, "disk_format": "qcow2", "updated_at": "2020-03-03T22:52:12Z", "visibility": "public", "self": "/v2/images/861ce906-cb54-4dd9-bb92-0bdbdd2edf8c", "min_disk": 0, "protected": true, "id": "861ce906-cb54-4dd9-bb92-0bdbdd2edf8c", "file": "/v2/images/861ce906-cb54-4dd9-bb92-0bdbdd2edf8c/file", "checksum": "ae5764ec40ef2dbaf08540eccef9d2e4", "owner": "f34f94f2b43b483ebcdcb0e078c36dfb", "virtual_size": null, "min_ram": 0, "schema": "/v2/schemas/image"}, {"status": "active", "name": "Windows_Server_2012_Datacenter_Edition", "tags": [], "container_format": "bare", "created_at": "2020-02-12T05:54:09Z", "size": 13677363200, "disk_format": "qcow2", "updated_at": "2020-03-03T22:52:10Z", "visibility": "public", "self": "/v2/images/19b3652e-720a-4869-b19a-31cd6bfa3e35", "min_disk": 0, "protected": true, "id": "19b3652e-720a-4869-b19a-31cd6bfa3e35", "file": "/v2/images/19b3652e-720a-4869-b19a-31cd6bfa3e35/file", "checksum": "9222d1780753b823d9eed5da6f195aea", "owner": "f34f94f2b43b483ebcdcb0e078c36dfb", "virtual_size": null, "min_ram": 0, "schema": "/v2/schemas/image"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2020-03-11T16:19:51Z", "hw_scsi_model": "virtio-scsi", "file": "/v2/images/6e7c6d1b-516d-4796-a9e1-cff4d0bbb2a1/file", "owner": "f34f94f2b43b483ebcdcb0e078c36dfb", "id": "6e7c6d1b-516d-4796-a9e1-cff4d0bbb2a1", "size": 2770731008, "self": "/v2/images/6e7c6d1b-516d-4796-a9e1-cff4d0bbb2a1", "disk_format": "qcow2", "hw_disk_bus": "scsi", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "min_disk": 0, "virtual_size": null, "name": "Ubuntu_Linux_16.04_LTS_amd64", "checksum": "acfa6c1486b3e80915e462a3b47d5d06", "created_at": "2020-02-12T00:57:27Z", "protected": true, "architecture": "X86_64"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2020-03-11T16:15:30Z", "hw_scsi_model": "virtio-scsi", "file": "/v2/images/a73e7dc9-8542-4ae1-8f75-8effb27dc7a5/file", "owner": "f34f94f2b43b483ebcdcb0e078c36dfb", "id": "a73e7dc9-8542-4ae1-8f75-8effb27dc7a5", "size": 2828992512, "self": "/v2/images/a73e7dc9-8542-4ae1-8f75-8effb27dc7a5", "disk_format": "qcow2", "hw_disk_bus": "scsi", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "min_disk": 0, "virtual_size": null, "name": "Ubuntu_Linux_14.04_LTS_amd64", "checksum": "334284ebf44ce540b349e34b8a233547", "created_at": "2020-02-12T00:47:12Z", "protected": true, "architecture": "X86_64"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2020-03-03T22:52:02Z", "hw_scsi_model": "virtio-scsi", "file": "/v2/images/937af900-9922-4a32-ba2a-afd5cb97b8b6/file", "owner": "f34f94f2b43b483ebcdcb0e078c36dfb", "id": "937af900-9922-4a32-ba2a-afd5cb97b8b6", "size": 2495741952, "self": "/v2/images/937af900-9922-4a32-ba2a-afd5cb97b8b6", "disk_format": "qcow2", "hw_disk_bus": "scsi", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "min_disk": 0, "virtual_size": null, "name": "Red_Hat_Enterprise_Linux_7.2_x86_64", "checksum": "ca8d1c78996130d12d36d1157fb0f8c1", "created_at": "2020-02-12T00:37:23Z", "protected": true, "architecture": "x86_64"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2020-03-03T22:52:00Z", "hw_scsi_model": "virtio-scsi", "file": "/v2/images/db40464d-db06-4215-b394-6b2e524dab82/file", "owner": "f34f94f2b43b483ebcdcb0e078c36dfb", "id": "db40464d-db06-4215-b394-6b2e524dab82", "size": 4463984640, "self": "/v2/images/db40464d-db06-4215-b394-6b2e524dab82", "disk_format": "qcow2", "hw_disk_bus": "scsi", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "min_disk": 0, "virtual_size": null, "name": "Red_Hat_Enterprise_Linux_6.7_x86_64", "checksum": "d2b745fcbda01a689afd6b887a615841", "created_at": "2020-02-12T00:26:24Z", "protected": true, "architecture": "x86_64"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2020-03-11T16:22:44Z", "hw_scsi_model": "virtio-scsi", "file": "/v2/images/b20c760b-7ac6-46c0-b37e-c7272de632f5/file", "owner": "f34f94f2b43b483ebcdcb0e078c36dfb", "id": "b20c760b-7ac6-46c0-b37e-c7272de632f5", "size": 2174746624, "self": "/v2/images/b20c760b-7ac6-46c0-b37e-c7272de632f5", "disk_format": "qcow2", "hw_disk_bus": "scsi", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "min_disk": 0, "virtual_size": null, "name": "Debian_Linux_8.6_amd64", "checksum": "9fa9ddf1c5508a444f8eeb811eb8e7aa", "created_at": "2020-02-12T00:10:43Z", "protected": true, "architecture": "X86_64"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2020-03-03T22:51:47Z", "hw_scsi_model": "virtio-scsi", "file": "/v2/images/8491d4dd-920f-4bfd-9c68-69461a43cc7b/file", "owner": "f34f94f2b43b483ebcdcb0e078c36dfb", "id": "8491d4dd-920f-4bfd-9c68-69461a43cc7b", "size": 2157838336, "self": "/v2/images/8491d4dd-920f-4bfd-9c68-69461a43cc7b", "disk_format": "qcow2", "hw_disk_bus": "scsi", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "min_disk": 0, "virtual_size": null, "name": "CentOS_Linux_7.2_x86_64", "checksum": "03715b2834f65ba2b209a6badb68631f", "created_at": "2020-02-12T00:02:19Z", "protected": true, "architecture": "x86_64"}, {"status": "active", "name": "CentOS_Linux_6.7_x86_64", "tags": [], "container_format": "bare", "created_at": "2020-02-11T23:53:03Z", "size": 3999006720, "disk_format": "qcow2", "updated_at": "2020-03-03T22:51:45Z", "visibility": "public", "hw_scsi_model": "virtio-scsi", "self": "/v2/images/1995c6a1-7e65-4a3c-bb97-1cbd1cf4f436", "min_disk": 0, "protected": true, "id": "1995c6a1-7e65-4a3c-bb97-1cbd1cf4f436", "file": "/v2/images/1995c6a1-7e65-4a3c-bb97-1cbd1cf4f436/file", "checksum": "a0433cbb1ccecf197a0d1fd52441c061", "owner": "f34f94f2b43b483ebcdcb0e078c36dfb", "hw_disk_bus": "scsi", "virtual_size": null, "min_ram": 0, "schema": "/v2/schemas/image"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2020-03-03T22:51:43Z", "hw_scsi_model": "virtio-scsi", "file": "/v2/images/196fec0d-3395-487d-a2bb-b1a320a2f827/file", "owner": "f34f94f2b43b483ebcdcb0e078c36dfb", "id": "196fec0d-3395-487d-a2bb-b1a320a2f827", "size": 1158545408, "self": "/v2/images/196fec0d-3395-487d-a2bb-b1a320a2f827", "disk_format": "qcow2", "hw_disk_bus": "scsi", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "min_disk": 0, "virtual_size": null, "name": "CentOS_Linux_6.4_x86_64", "checksum": "2adf1b6c8a93297fff7442a9f3d1d7ea", "created_at": "2020-02-11T23:38:39Z", "protected": true, "architecture": "x86_64"}, {"status": "active", "name": "OpenVPN_Appliance", "tags": [], "container_format": "bare", "created_at": "2020-01-29T14:52:27Z", "size": 4502257664, "disk_format": "qcow2", "updated_at": "2020-03-03T22:51:58Z", "visibility": "public", "self": "/v2/images/15409a29-634e-419a-ad90-5ac89c370340", "min_disk": 0, "protected": true, "id": "15409a29-634e-419a-ad90-5ac89c370340", "file": "/v2/images/15409a29-634e-419a-ad90-5ac89c370340/file", "checksum": "0bb02f6c85a35937bd679356d88464ce", "owner": "f34f94f2b43b483ebcdcb0e078c36dfb", "virtual_size": null, "min_ram": 0, "schema": "/v2/schemas/image"}, {"status": "active", "name": "GostVPN_Appliance", "tags": [], "container_format": "bare", "created_at": "2020-01-29T14:35:13Z", "size": 1065222144, "disk_format": "qcow2", "updated_at": "2020-03-03T22:51:56Z", "visibility": "public", "self": "/v2/images/9d349fa0-e6b0-49a2-8e76-f2fe8283929c", "min_disk": 0, "protected": true, "id": "9d349fa0-e6b0-49a2-8e76-f2fe8283929c", "file": "/v2/images/9d349fa0-e6b0-49a2-8e76-f2fe8283929c/file", "checksum": "f3be2907c6d09dca2a6568190f3eed6f", "owner": "f34f94f2b43b483ebcdcb0e078c36dfb", "virtual_size": null, "min_ram": 0, "schema": "/v2/schemas/image"}, {"status": "active", "name": "Debian-10-official-community", "tags": [], "container_format": "bare", "created_at": "2020-01-28T11:40:40Z", "size": 566434304, "disk_format": "qcow2", "updated_at": "2020-03-03T22:51:51Z", "visibility": "public", "self": "/v2/images/7bcc6e65-2bd8-477f-8f9e-0bd28ae4ec9d", "min_disk": 0, "protected": true, "id": "7bcc6e65-2bd8-477f-8f9e-0bd28ae4ec9d", "file": "/v2/images/7bcc6e65-2bd8-477f-8f9e-0bd28ae4ec9d/file", "checksum": "22139064b03695b2e611848b4edfe20a", "owner": "f34f94f2b43b483ebcdcb0e078c36dfb", "virtual_size": null, "min_ram": 0, "schema": "/v2/schemas/image"}, {"status": "active", "name": "Fedora-31-official-community", "tags": [], "container_format": "bare", "created_at": "2020-01-28T08:58:44Z", "size": 355350528, "disk_format": "qcow2", "updated_at": "2020-03-03T22:51:55Z", "visibility": "public", "self": "/v2/images/3687f7c0-7da8-4a33-8aac-3200139370b6", "min_disk": 0, "protected": true, "id": "3687f7c0-7da8-4a33-8aac-3200139370b6", "file": "/v2/images/3687f7c0-7da8-4a33-8aac-3200139370b6/file", "checksum": "726b5ea57013e6a71b1cddb25356cfe5", "owner": "f34f94f2b43b483ebcdcb0e078c36dfb", "virtual_size": null, "min_ram": 0, "schema": "/v2/schemas/image"}, {"status": "active", "name": "Ubuntu-18.04-official-community", "tags": [], "container_format": "bare", "created_at": "2020-01-23T11:31:41Z", "size": 344391680, "disk_format": "qcow2", "updated_at": "2020-03-03T22:52:04Z", "visibility": "public", "self": "/v2/images/a57502de-11fc-4239-b473-c03d17ddcc6d", "min_disk": 0, "protected": true, "id": "a57502de-11fc-4239-b473-c03d17ddcc6d", "file": "/v2/images/a57502de-11fc-4239-b473-c03d17ddcc6d/file", "checksum": "de0aeba0510693725f350089b46f7095", "owner": "f34f94f2b43b483ebcdcb0e078c36dfb", "virtual_size": null, "min_ram": 0, "schema": "/v2/schemas/image"}, {"status": "active", "name": "CentOS-8-official-community", "tags": [], "container_format": "bare", "created_at": "2020-01-23T09:31:09Z", "size": 716176896, "disk_format": "qcow2", "updated_at": "2020-03-03T22:51:41Z", "visibility": "public", "self": "/v2/images/376a6fe7-6cc3-484a-bd8c-0c1b0d21b9b3", "min_disk": 0, "protected": true, "id": "376a6fe7-6cc3-484a-bd8c-0c1b0d21b9b3", "file": "/v2/images/376a6fe7-6cc3-484a-bd8c-0c1b0d21b9b3/file", "checksum": "d89eb49f2c264d29225cecf2b6c83322", "owner": "f34f94f2b43b483ebcdcb0e078c36dfb", "virtual_size": null, "min_ram": 0, "schema": "/v2/schemas/image"}, {"status": "active", "name": "CentOS-7-official-community", "tags": [], "container_format": "bare", "created_at": "2020-01-23T09:27:07Z", "size": 942407680, "disk_format": "qcow2", "updated_at": "2020-03-03T22:51:39Z", "visibility": "public", "id": "0538bc33-0736-41c0-8926-467019dd1d3e", "self": "/v2/images/0538bc33-0736-41c0-8926-467019dd1d3e", "min_disk": 0, "protected": true, "min_ram": 0, "file": "/v2/images/0538bc33-0736-41c0-8926-467019dd1d3e/file", "checksum": "160aa274e7a69f2edb50e2d89f54270b", "owner": "f34f94f2b43b483ebcdcb0e078c36dfb", "virtual_size": null, "hw_qemu_guest_agent": "yes", "schema": "/v2/schemas/image"}, {"status": "active", "name": "Cirros-test", "tags": [], "container_format": "bare", "created_at": "2020-01-22T13:20:23Z", "size": 12716032, "disk_format": "qcow2", "updated_at": "2020-03-03T22:51:49Z", "visibility": "public", "self": "/v2/images/84fb9cc5-bab6-446c-a2f3-e8bb299e793f", "min_disk": 0, "protected": true, "id": "84fb9cc5-bab6-446c-a2f3-e8bb299e793f", "file": "/v2/images/84fb9cc5-bab6-446c-a2f3-e8bb299e793f/file", "checksum": "443b7623e27ecf03dc9e01ee93f67afe", "owner": "3d236b76cb45429ab47cc39d79637be9", "virtual_size": null, "min_ram": 0, "schema": "/v2/schemas/image"}], "schema": "/v2/schemas/images", "first": "/v2/images?limit=20"}
123
124curl -g -i -X GET -H 'b'Content-Type': b'application/octet-stream'' -H 'b'X-Auth-Token': b'gAAAAABedhSw24BQ9N7yKm80sEQhs9JdWUhrAkFIKoD1Wb8Tm3q5wKOiAxJXTqcYbSSj_ELo6MXo6EAqiVT2p0UVRSUCwaOw_a-pMymQCSHwazlrfGkSo6BhLN1X2Hec_vs_IUcN1E_JPI5X032o75GBp95XDQJKITjhcNgVx4N-DOcjsKhLCnc'' -H 'User-Agent: python-glanceclient' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'Connection: keep-alive' -k --cert None --key None https://hapi4.vdcportal.ru:9292/v2/schemas/image
125/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py:997: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
126 warnings.warn(
127https://hapi4.vdcportal.ru:9292 "GET /v2/schemas/image HTTP/1.1" 200 4183
128GET call to image for https://hapi4.vdcportal.ru:9292/v2/schemas/image used request id req-af7f8ed0-2134-449f-9fa7-739d341667c5
129
130HTTP/1.1 200 OK
131Content-Type: application/json
132Content-Length: 4183
133X-Openstack-Request-Id: req-af7f8ed0-2134-449f-9fa7-739d341667c5
134Date: Sat, 21 Mar 2020 13:20:48 GMT
135
136{"additionalProperties": {"type": "string"}, "name": "image", "links": [{"href": "{self}", "rel": "self"}, {"href": "{file}", "rel": "enclosure"}, {"href": "{schema}", "rel": "describedby"}], "properties": {"status": {"readOnly": true, "enum": ["queued", "saving", "active", "killed", "deleted", "uploading", "importing", "pending_delete", "deactivated"], "type": "string", "description": "Status of the image"}, "tags": {"items": {"type": "string", "maxLength": 255}, "type": "array", "description": "List of strings related to the image"}, "kernel_id": {"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$", "type": ["null", "string"], "description": "ID of image stored in Glance that should be used as the kernel when booting an AMI-style image.", "is_base": false}, "container_format": {"enum": [null, "ami", "ari", "aki", "bare", "ovf", "ova", "docker"], "type": ["null", "string"], "description": "Format of the container"}, "min_ram": {"type": "integer", "description": "Amount of ram (in MB) required to boot image."}, "ramdisk_id": {"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$", "type": ["null", "string"], "description": "ID of image stored in Glance that should be used as the ramdisk when booting an AMI-style image.", "is_base": false}, "locations": {"items": {"required": ["url", "metadata"], "type": "object", "properties": {"url": {"type": "string", "maxLength": 255}, "metadata": {"type": "object"}}}, "type": "array", "description": "A set of URLs to access the image file kept in external store"}, "visibility": {"enum": ["community", "public", "private", "shared"], "type": "string", "description": "Scope of image accessibility"}, "updated_at": {"readOnly": true, "type": "string", "description": "Date and time of the last image modification"}, "owner": {"type": ["null", "string"], "description": "Owner of the image", "maxLength": 255}, "file": {"readOnly": true, "type": "string", "description": "An image file url"}, "min_disk": {"type": "integer", "description": "Amount of disk space (in GB) required to boot image."}, "virtual_size": {"readOnly": true, "type": ["null", "integer"], "description": "Virtual size of image in bytes"}, "id": {"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$", "type": "string", "description": "An identifier for the image"}, "size": {"readOnly": true, "type": ["null", "integer"], "description": "Size of image file in bytes"}, "instance_uuid": {"type": "string", "description": "Metadata which can be used to record which instance this image is associated with. (Informational only, does not create an instance snapshot.)", "is_base": false}, "os_distro": {"type": "string", "description": "Common name of operating system distribution as specified in https://docs.openstack.org/python-glanceclient/latest/cli/property-keys.html", "is_base": false}, "name": {"type": ["null", "string"], "description": "Descriptive name for the image", "maxLength": 255}, "checksum": {"readOnly": true, "type": ["null", "string"], "description": "md5 hash of image contents.", "maxLength": 32}, "created_at": {"readOnly": true, "type": "string", "description": "Date and time of image registration"}, "disk_format": {"enum": [null, "ami", "ari", "aki", "vhd", "vhdx", "vmdk", "raw", "qcow2", "vdi", "iso", "ploop"], "type": ["null", "string"], "description": "Format of the disk"}, "os_version": {"type": "string", "description": "Operating system version as specified by the distributor", "is_base": false}, "protected": {"type": "boolean", "description": "If true, image will not be deletable."}, "architecture": {"type": "string", "description": "Operating system architecture as specified in https://docs.openstack.org/python-glanceclient/latest/cli/property-keys.html", "is_base": false}, "direct_url": {"readOnly": true, "type": "string", "description": "URL to access the image file kept in external store"}, "self": {"readOnly": true, "type": "string", "description": "An image self url"}, "schema": {"readOnly": true, "type": "string", "description": "An image schema url"}}}
137
138REQ: curl -g -i -X GET https://hapi4.vdcportal.ru:8774/v2.1/flavors/detail?is_public=None -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}7bc6b9e5d2f9f528d547a200cdb3c126ba9a4d439d9ebe79891c1fa5151478c4" -H "X-OpenStack-Nova-API-Version: 2.1"
139https://hapi4.vdcportal.ru:8774 "GET /v2.1/flavors/detail?is_public=None HTTP/1.1" 200 12822
140RESP: [200] Content-Length: 12822 Content-Type: application/json Date: Sat, 21 Mar 2020 13:20:49 GMT Openstack-Api-Version: compute 2.1 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-14fe8f13-e348-4d33-a9a6-af07b15d9849 X-Openstack-Nova-Api-Version: 2.1 X-Openstack-Request-Id: req-14fe8f13-e348-4d33-a9a6-af07b15d9849
141RESP BODY: {"flavors": [{"name": "cpu_8_ram_32g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/03f107ba-08b4-42cf-9364-9c4444a91b44", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/03f107ba-08b4-42cf-9364-9c4444a91b44", "rel": "bookmark"}], "ram": 32768, "OS-FLV-DISABLED:disabled": false, "vcpus": 8, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "03f107ba-08b4-42cf-9364-9c4444a91b44"}, {"name": "cpu_2_ram_32g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/14d610a0-718d-436b-a266-f6e045e4b291", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/14d610a0-718d-436b-a266-f6e045e4b291", "rel": "bookmark"}], "ram": 32768, "OS-FLV-DISABLED:disabled": false, "vcpus": 2, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "14d610a0-718d-436b-a266-f6e045e4b291"}, {"name": "cpu_4_ram_16g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/2208e3bc-78b9-4091-9b43-1a4e2c6db260", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/2208e3bc-78b9-4091-9b43-1a4e2c6db260", "rel": "bookmark"}], "ram": 16384, "OS-FLV-DISABLED:disabled": false, "vcpus": 4, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "2208e3bc-78b9-4091-9b43-1a4e2c6db260"}, {"name": "cpu_2_ram_16g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/2d5e5fcf-a8a8-472a-adfd-56cb0ccc89ca", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/2d5e5fcf-a8a8-472a-adfd-56cb0ccc89ca", "rel": "bookmark"}], "ram": 16384, "OS-FLV-DISABLED:disabled": false, "vcpus": 2, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "2d5e5fcf-a8a8-472a-adfd-56cb0ccc89ca"}, {"name": "cpu_4_ram_8g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/3d138915-c472-4eff-898c-6a8b4835859e", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/3d138915-c472-4eff-898c-6a8b4835859e", "rel": "bookmark"}], "ram": 8192, "OS-FLV-DISABLED:disabled": false, "vcpus": 4, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "3d138915-c472-4eff-898c-6a8b4835859e"}, {"name": "cpu_2_ram_2g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/4bff09e3-13ba-442c-9180-1b859f125cf7", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/4bff09e3-13ba-442c-9180-1b859f125cf7", "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false, "vcpus": 2, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "4bff09e3-13ba-442c-9180-1b859f125cf7"}, {"name": "cpu_8_ram_2g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/4e5de33e-e07b-4bdb-b297-8ba6ef53b69b", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/4e5de33e-e07b-4bdb-b297-8ba6ef53b69b", "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false, "vcpus": 8, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "4e5de33e-e07b-4bdb-b297-8ba6ef53b69b"}, {"name": "cpu_1_ram_2g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/4f190af7-16ab-4274-bd12-36cfadeb29ae", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/4f190af7-16ab-4274-bd12-36cfadeb29ae", "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false, "vcpus": 1, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "4f190af7-16ab-4274-bd12-36cfadeb29ae"}, {"name": "cpu_4_ram_2g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/6e9234ae-c498-4969-9797-3e0a80715255", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/6e9234ae-c498-4969-9797-3e0a80715255", "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false, "vcpus": 4, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "6e9234ae-c498-4969-9797-3e0a80715255"}, {"name": "cpu_8_ram_8g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/7586e39f-4075-4211-9721-1fa85639e1d1", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/7586e39f-4075-4211-9721-1fa85639e1d1", "rel": "bookmark"}], "ram": 8192, "OS-FLV-DISABLED:disabled": false, "vcpus": 8, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "7586e39f-4075-4211-9721-1fa85639e1d1"}, {"name": "cpu_1_ram_12g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/7733c8d3-b332-4c8d-b270-f8eae952c645", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/7733c8d3-b332-4c8d-b270-f8eae952c645", "rel": "bookmark"}], "ram": 12288, "OS-FLV-DISABLED:disabled": false, "vcpus": 1, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "7733c8d3-b332-4c8d-b270-f8eae952c645"}, {"name": "cpu_8_ram_16g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/8340c693-ff82-474a-85f4-174be6876647", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/8340c693-ff82-474a-85f4-174be6876647", "rel": "bookmark"}], "ram": 16384, "OS-FLV-DISABLED:disabled": false, "vcpus": 8, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "8340c693-ff82-474a-85f4-174be6876647"}, {"name": "cpu_4_ram_12g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/8e185b58-de9c-44a8-b305-687f0b51189f", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/8e185b58-de9c-44a8-b305-687f0b51189f", "rel": "bookmark"}], "ram": 12288, "OS-FLV-DISABLED:disabled": false, "vcpus": 4, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "8e185b58-de9c-44a8-b305-687f0b51189f"}, {"name": "cpu_8_ram_12g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/947f4754-45d4-4081-8985-ed9f96f62afa", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/947f4754-45d4-4081-8985-ed9f96f62afa", "rel": "bookmark"}], "ram": 12288, "OS-FLV-DISABLED:disabled": false, "vcpus": 8, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "947f4754-45d4-4081-8985-ed9f96f62afa"}, {"name": "cpu_2_ram_4g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/9529a3e7-cb9f-461a-80c0-3b1e7fd9963e", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/9529a3e7-cb9f-461a-80c0-3b1e7fd9963e", "rel": "bookmark"}], "ram": 4096, "OS-FLV-DISABLED:disabled": false, "vcpus": 2, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "9529a3e7-cb9f-461a-80c0-3b1e7fd9963e"}, {"name": "cpu_2_ram_12g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/9f101c4e-0866-4666-b984-5ba4e456c636", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/9f101c4e-0866-4666-b984-5ba4e456c636", "rel": "bookmark"}], "ram": 12288, "OS-FLV-DISABLED:disabled": false, "vcpus": 2, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "9f101c4e-0866-4666-b984-5ba4e456c636"}, {"name": "cpu_1_ram_1g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/aa1d5fb2-d3ed-4d9b-a28e-4e2069de7e8f", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/aa1d5fb2-d3ed-4d9b-a28e-4e2069de7e8f", "rel": "bookmark"}], "ram": 1024, "OS-FLV-DISABLED:disabled": false, "vcpus": 1, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "aa1d5fb2-d3ed-4d9b-a28e-4e2069de7e8f"}, {"name": "cpu_8_ram_4g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/bab60577-a708-4412-a437-fa100b85ff8b", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/bab60577-a708-4412-a437-fa100b85ff8b", "rel": "bookmark"}], "ram": 4096, "OS-FLV-DISABLED:disabled": false, "vcpus": 8, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "bab60577-a708-4412-a437-fa100b85ff8b"}, {"name": "cpu_2_ram_8g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/bd177b3a-3797-47e6-b06d-4342e38fc4d1", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/bd177b3a-3797-47e6-b06d-4342e38fc4d1", "rel": "bookmark"}], "ram": 8192, "OS-FLV-DISABLED:disabled": false, "vcpus": 2, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "bd177b3a-3797-47e6-b06d-4342e38fc4d1"}, {"name": "cpu_4_ram_4g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/c1be9993-3469-48c9-9c1b-b755f52f0d45", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/c1be9993-3469-48c9-9c1b-b755f52f0d45", "rel": "bookmark"}], "ram": 4096, "OS-FLV-DISABLED:disabled": false, "vcpus": 4, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "c1be9993-3469-48c9-9c1b-b755f52f0d45"}, {"name": "cpu_8_ram_128g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/c6fa64f5-4e7a-494f-8cc4-e72b7fbe30d2", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/c6fa64f5-4e7a-494f-8cc4-e72b7fbe30d2", "rel": "bookmark"}], "ram": 131072, "OS-FLV-DISABLED:disabled": false, "vcpus": 8, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "c6fa64f5-4e7a-494f-8cc4-e72b7fbe30d2"}, {"name": "cpu_1_ram_16g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/dbcde894-8da1-48b1-8b72-d1807f474700", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/dbcde894-8da1-48b1-8b72-d1807f474700", "rel": "bookmark"}], "ram": 16384, "OS-FLV-DISABLED:disabled": false, "vcpus": 1, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "dbcde894-8da1-48b1-8b72-d1807f474700"}, {"name": "cpu_1_ram_4g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/e0efa7d7-28c5-4402-9a8e-ff43c701b0ee", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/e0efa7d7-28c5-4402-9a8e-ff43c701b0ee", "rel": "bookmark"}], "ram": 4096, "OS-FLV-DISABLED:disabled": false, "vcpus": 1, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "e0efa7d7-28c5-4402-9a8e-ff43c701b0ee"}, {"name": "cpu_1_ram_8g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/ebca3aa4-d356-4ecf-b382-fbf1724a53e8", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/ebca3aa4-d356-4ecf-b382-fbf1724a53e8", "rel": "bookmark"}], "ram": 8192, "OS-FLV-DISABLED:disabled": false, "vcpus": 1, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "ebca3aa4-d356-4ecf-b382-fbf1724a53e8"}, {"name": "cpu_6_ram_128g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/f24dd02d-7dbd-4247-b4ef-cf1175683cde", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/f24dd02d-7dbd-4247-b4ef-cf1175683cde", "rel": "bookmark"}], "ram": 131072, "OS-FLV-DISABLED:disabled": false, "vcpus": 6, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "f24dd02d-7dbd-4247-b4ef-cf1175683cde"}, {"name": "cpu_4_ram_32g", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/f2e18bf4-79d7-497b-b843-8e2777edd938", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/f2e18bf4-79d7-497b-b843-8e2777edd938", "rel": "bookmark"}], "ram": 32768, "OS-FLV-DISABLED:disabled": false, "vcpus": 4, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "f2e18bf4-79d7-497b-b843-8e2777edd938"}, {"name": "cpu_1_ram_1g_hdd_10", "links": [{"href": "https://hapi4.vdcportal.ru:8774/v2.1/flavors/feba628b-9695-4ca4-bb17-86eb342f267d", "rel": "self"}, {"href": "https://hapi4.vdcportal.ru:8774/flavors/feba628b-9695-4ca4-bb17-86eb342f267d", "rel": "bookmark"}], "ram": 1024, "OS-FLV-DISABLED:disabled": false, "vcpus": 1, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 10, "id": "feba628b-9695-4ca4-bb17-86eb342f267d"}]}
142GET call to compute for https://hapi4.vdcportal.ru:8774/v2.1/flavors/detail?is_public=None used request id req-14fe8f13-e348-4d33-a9a6-af07b15d9849
143+--------------------------------------+-----------+----------+-------------------+----------+--------------+
144| ID | Name | Status | Networks | Image | Flavor |
145+--------------------------------------+-----------+----------+-------------------+----------+--------------+
146| 6513867a-4dfa-4f72-aea4-3171bfe212ab | Test_VM_2 | ACTIVE | test=192.168.0.10 | | cpu_2_ram_2g |
147| 60d03b79-ccb7-494e-9ae0-567eb371fba3 | Test_VM_1 | ACTIVE | test=192.168.0.7 | | cpu_2_ram_2g |
148+--------------------------------------+-----------+----------+-------------------+----------+--------------+
149clean_up ListServer:
150END return value: 0
151moberukhtin@opst:~/Документы/shared$ op server list
152+--------------------------------------+-----------+----------+-------------------+----------+--------------+
153| ID | Name | Status | Networks | Image | Flavor |
154+--------------------------------------+-----------+----------+-------------------+----------+--------------+
155| 6513867a-4dfa-4f72-aea4-3171bfe212ab | Test_VM_2 | ACTIVE | test=192.168.0.10 | | cpu_2_ram_2g |
156| 60d03b79-ccb7-494e-9ae0-567eb371fba3 | Test_VM_1 | ACTIVE | test=192.168.0.7 | | cpu_2_ram_2g |
157+--------------------------------------+-----------+----------+-------------------+----------+--------------+