分享

求助:虚机状态为error

am4126 发表于 2017-4-3 22:03:29 [显示全部楼层] 只看大图 回帖奖励 阅读模式 关闭右栏 20 14545
          故障:

          [root@controller ~]# openstack server list
+--------------------------------------+-------------------+--------+----------+
| ID                                   | Name              | Status | Networks |
+--------------------------------------+-------------------+--------+----------+
| 0aee0766-be36-48a9-bd99-67b28a946188 | provider-instance | ERROR  |          |
| 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b | provider-instance | ERROR  |          |
+--------------------------------------+-------------------+--------+----------+
[root@controller ~]#

       openstack整体状态:

[root@controller ~]# openstack-status
== Nova services ==
openstack-nova-api:                     active
openstack-nova-compute:                 inactive  (disabled on boot)
openstack-nova-network:                 inactive  (disabled on boot)
openstack-nova-scheduler:               active
openstack-nova-conductor:               active
openstack-nova-console:                 inactive  (disabled on boot)
openstack-nova-consoleauth:             active
openstack-nova-xvpvncproxy:             inactive  (disabled on boot)
== Glance services ==
openstack-glance-api:                   active
openstack-glance-registry:              active
== Keystone service ==
openstack-keystone:                     inactive  (disabled on boot)
== Horizon service ==
openstack-dashboard:                    active
== neutron services ==
neutron-server:                         active
neutron-dhcp-agent:                     active
neutron-l3-agent:                       active
neutron-metadata-agent:                 active
neutron-linuxbridge-agent:              active
== Support services ==
mariadb:                                active
dbus:                                   active
rabbitmq-server:                        active
memcached:                              active
== Keystone users ==
/usr/lib/python2.7/site-packages/keystoneclient/shell.py:64: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
  'python-keystoneclient.', DeprecationWarning)
WARNING: unsupported identity-api-version 3, falling back to 2.0
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:145: DeprecationWarning: Constructing an instance of the keystoneclient.v2_0.client.Client class without a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
  'the 2.0.0 release.', DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:147: DeprecationWarning: Using the 'tenant_name' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_name' argument instead
  super(Client, self).__init__(**kwargs)
/usr/lib/python2.7/site-packages/debtcollector/renames.py:45: DeprecationWarning: Using the 'tenant_id' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_id' argument instead
  return f(*args, **kwargs)
/usr/lib/python2.7/site-packages/keystoneclient/httpclient.py:371: DeprecationWarning: Constructing an HTTPClient instance without using a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
  'the 2.0.0 release.', DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/session.py:140: DeprecationWarning: keystoneclient.session.Session is deprecated as of the 2.1.0 release in favor of keystoneauth1.session.Session. It will be removed in future releases.
  DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py:56: DeprecationWarning: keystoneclient auth plugins are deprecated as of the 2.1.0 release in favor of keystoneauth1 plugins. They will be removed in future releases.
  'in future releases.', DeprecationWarning)
Authorization Failed: The resource could not be found. (HTTP 404) (Request-ID: req-06fcd739-506f-4e4b-bc02-f816d75dad01)
== Glance images ==
+--------------------------------------+--------+
| ID                                   | Name   |
+--------------------------------------+--------+
| 8575c59f-68c4-435f-be48-839f05c774b2 | cirros |
+--------------------------------------+--------+
== Nova managed services ==
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary           | Host       | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| 1  | nova-consoleauth | controller | internal | enabled | up    | 2017-04-03T13:56:01.000000 | -               |
| 2  | nova-conductor   | controller | internal | enabled | up    | 2017-04-03T13:55:56.000000 | -               |
| 3  | nova-scheduler   | controller | internal | enabled | up    | 2017-04-03T13:55:59.000000 | -               |
| 6  | nova-compute     | computer   | nova     | enabled | up    | 2017-04-03T13:55:56.000000 | -               |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
== Nova networks ==
+--------------------------------------+----------+------+
| ID                                   | Label    | Cidr |
+--------------------------------------+----------+------+
| bb9534a1-17d4-4b74-aa50-8b117d535a00 | provider | -    |
| e593265e-ae86-4e7a-a819-d1edeabedc10 | ceshi    | -    |
+--------------------------------------+----------+------+
== Nova instance flavors ==
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name      | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| 0  | m1.nano   | 64        | 1    | 0         |      | 1     | 1.0         | True      |
| 1  | m1.tiny   | 512       | 1    | 0         |      | 1     | 1.0         | True      |
| 2  | m1.small  | 2048      | 20   | 0         |      | 1     | 1.0         | True      |
| 3  | m1.medium | 4096      | 40   | 0         |      | 2     | 1.0         | True      |
| 4  | m1.large  | 8192      | 80   | 0         |      | 4     | 1.0         | True      |
| 5  | m1.xlarge | 16384     | 160  | 0         |      | 8     | 1.0         | True      |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
== Nova instances ==
+--------------------------------------+-------------------+----------------------------------+--------+------------+-------------+----------+
| ID                                   | Name              | Tenant ID                        | Status | Task State | Power State | Networks |
+--------------------------------------+-------------------+----------------------------------+--------+------------+-------------+----------+
| 0aee0766-be36-48a9-bd99-67b28a946188 | provider-instance | c6e46a7876bd4d6db93b06c28026df84 | ERROR  | -          | NOSTATE     |          |
| 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b | provider-instance | c6e46a7876bd4d6db93b06c28026df84 | ERROR  | -          | NOSTATE     |          |
+--------------------------------------+-------------------+----------------------------------+--------+------------+-------------+----------+



    neutron agent状态

[root@controller ~]# neutron agent-list
+--------------------------------------+--------------------+------------+-------------------+-------+----------------+---------------------------+
| id                                   | agent_type         | host       | availability_zone | alive | admin_state_up | binary                    |
+--------------------------------------+--------------------+------------+-------------------+-------+----------------+---------------------------+
| 1162e878-fc6f-42e9-a08c-2d6974972c1b | Metadata agent     | controller |                   | :-)   | True           | neutron-metadata-agent    |
| 122f32e9-74d6-48a5-a580-a255a9c4b70c | L3 agent           | controller | nova              | :-)   | True           | neutron-l3-agent          |
| 4e0ed981-b925-4ec2-af1d-f4c4efee49ba | Linux bridge agent | controller |                   | :-)   | True           | neutron-linuxbridge-agent |
| be37b846-6766-453d-b0f3-4612816d54fb | DHCP agent         | controller | nova              | :-)   | True           | neutron-dhcp-agent        |
| f62bfa88-ab8b-45e5-9671-e1d51103b511 | Linux bridge agent | computer   |                   | :-)   | True           | neutron-linuxbridge-agent |
+--------------------------------------+--------------------+------------+-------------------+-------+----------------+---------------------------+


   虚机资源状态

[root@controller ~]# nova hypervisor-stats
+----------------------+-------+
| Property             | Value |
+----------------------+-------+
| count                | 1     |
| current_workload     | 0     |
| disk_available_least | 48    |
| free_disk_gb         | 49    |
| free_ram_mb          | 7679  |
| local_gb             | 49    |
| local_gb_used        | 0     |
| memory_mb            | 8191  |
| memory_mb_used       | 512   |
| running_vms          | 0     |
| vcpus                | 1     |
| vcpus_used           | 0     |
+----------------------+-------+


网络状态

[root@controller ~]# neutron net-list
+--------------------------------------+----------+------------------------------------------------------+
| id                                   | name     | subnets                                              |
+--------------------------------------+----------+------------------------------------------------------+
| bb9534a1-17d4-4b74-aa50-8b117d535a00 | provider | b04dbc28-a090-4c94-821d-809f5bcb4e09 192.168.11.0/24 |
| e593265e-ae86-4e7a-a819-d1edeabedc10 | ceshi    | 1c52c3cb-8e17-4a46-8197-eb11c532b5b2 172.16.1.0/24   |
+--------------------------------------+----------+------------------------------------------------------+


[root@controller ~]# openstack compute service list
+----+------------------+------------+----------+---------+-------+----------------------------+
| Id | Binary           | Host       | Zone     | Status  | State | Updated At                 |
+----+------------------+------------+----------+---------+-------+----------------------------+
|  1 | nova-consoleauth | controller | internal | enabled | up    | 2017-04-03T14:01:01.000000 |
|  2 | nova-conductor   | controller | internal | enabled | up    | 2017-04-03T14:01:06.000000 |
|  3 | nova-scheduler   | controller | internal | enabled | up    | 2017-04-03T14:01:09.000000 |
|  6 | nova-compute     | computer   | nova     | enabled | up    | 2017-04-03T14:01:06.000000 |
+----+------------------+------------+----------+---------+-------+----------------------------+
[root@controller ~]#



报错日志:

/var/log/nova/nova-compute.log   

2017-04-03 18:53:24.507 11286 INFO nova.compute.claims [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] Attempting claim: memory 512 MB, disk 1 GB, vcpus 1 CPU
2017-04-03 18:53:24.507 11286 INFO nova.compute.claims [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] Total memory: 8191 MB, used: 512.00 MB
2017-04-03 18:53:24.508 11286 INFO nova.compute.claims [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] memory limit: 12286.50 MB, free: 11774.50 MB
2017-04-03 18:53:24.508 11286 INFO nova.compute.claims [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] Total disk: 49 GB, used: 0.00 GB
2017-04-03 18:53:24.508 11286 INFO nova.compute.claims [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] disk limit: 49.00 GB, free: 49.00 GB
2017-04-03 18:53:24.508 11286 INFO nova.compute.claims [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] Total vcpu: 1 VCPU, used: 0.00 VCPU
2017-04-03 18:53:24.509 11286 INFO nova.compute.claims [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] vcpu limit not specified, defaulting to unlimited
2017-04-03 18:53:24.523 11286 INFO nova.compute.claims [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] Claim successful
2017-04-03 18:53:25.174 11286 WARNING nova.virt.osinfo [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty)
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] Instance failed network setup after 1 attempt(s)
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager Traceback (most recent call last):
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1570, in _allocate_network_async
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager     bind_host_id=bind_host_id)
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 566, in allocate_for_instance
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager     refresh_cache=True, neutron=neutron) else
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 716, in _has_port_binding_extension
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager     self._refresh_neutron_extensions_cache(context, neutron=neutron)
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 708, in _refresh_neutron_extensions_cache
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager     extensions_list = neutron.list_extensions()['extensions']
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 97, in with_params
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager     ret = self.function(instance, *args, **kwargs)
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 632, in list_extensions
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager     return self.get(self.extensions_path, params=_params)
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 358, in get
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager     headers=headers, params=params)
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 335, in retry_request
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager     headers=headers, params=params)
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 286, in do_request
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager     resp, replybody = self.httpclient.do_request(action, method, body=body)
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/neutronclient/client.py", line 306, in do_request
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager     return self.request(url, method, **kwargs)
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/neutronclient/client.py", line 294, in request
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager     resp = super(SessionClient, self).request(*args, **kwargs)
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 98, in request
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager     return self.session.request(url, method, **kwargs)
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 94, in inner
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager     return func(*args, **kwargs)
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 452, in request
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager     resp = send(**kwargs)
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 496, in _send_request
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager     raise exceptions.ConnectFailure(msg)
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager ConnectFailure: Unable to establish connection to http://127.0.0.1:9696/v2.0/extensions.json
2017-04-03 18:53:25.184 11286 ERROR nova.compute.manager
2017-04-03 18:53:25.209 11286 WARNING nova.virt.osinfo [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty)
2017-04-03 18:53:25.530 11286 WARNING nova.virt.osinfo [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty)
2017-04-03 18:53:25.531 11286 INFO nova.virt.libvirt.driver [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] Creating image
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] Instance failed to spawn
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] Traceback (most recent call last):
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2218, in _build_resources
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     yield resources
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2064, in _build_and_run_instance
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     block_device_info=block_device_info)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2776, in spawn
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     write_to_disk=True)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4715, in _get_guest_xml
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     network_info_str = str(network_info)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/network/model.py", line 521, in __str__
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     return self._sync_wrapper(fn, *args, **kwargs)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/network/model.py", line 504, in _sync_wrapper
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     self.wait()
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/network/model.py", line 536, in wait
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     self[:] = self._gt.wait()
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/eventlet/greenthread.py", line 175, in wait
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     return self._exit_event.wait()
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/eventlet/event.py", line 125, in wait
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     current.throw(*self._exc)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/eventlet/greenthread.py", line 214, in main
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     result = function(*args, **kwargs)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/utils.py", line 1159, in context_wrapper
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     return func(*args, **kwargs)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1587, in _allocate_network_async
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     six.reraise(*exc_info)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1570, in _allocate_network_async
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     bind_host_id=bind_host_id)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 566, in allocate_for_instance
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     refresh_cache=True, neutron=neutron) else
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 716, in _has_port_binding_extension
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     self._refresh_neutron_extensions_cache(context, neutron=neutron)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 708, in _refresh_neutron_extensions_cache
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     extensions_list = neutron.list_extensions()['extensions']
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 97, in with_params
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     ret = self.function(instance, *args, **kwargs)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 632, in list_extensions
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     return self.get(self.extensions_path, params=_params)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 358, in get
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     headers=headers, params=params)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 335, in retry_request
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     headers=headers, params=params)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 286, in do_request
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     resp, replybody = self.httpclient.do_request(action, method, body=body)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/neutronclient/client.py", line 306, in do_request
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     return self.request(url, method, **kwargs)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/neutronclient/client.py", line 294, in request
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     resp = super(SessionClient, self).request(*args, **kwargs)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 98, in request
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     return self.session.request(url, method, **kwargs)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 94, in inner
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     return func(*args, **kwargs)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 452, in request
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     resp = send(**kwargs)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 496, in _send_request
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     raise exceptions.ConnectFailure(msg)
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] ConnectFailure: Unable to establish connection to http://127.0.0.1:9696/v2.0/extensions.json
2017-04-03 18:53:25.883 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]
2017-04-03 18:53:25.886 11286 INFO nova.compute.manager [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] Terminating instance
2017-04-03 18:53:25.889 11286 INFO nova.virt.libvirt.driver [-] [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] During wait destroy, instance disappeared.
2017-04-03 18:53:25.899 11286 INFO nova.virt.libvirt.driver [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] Deleting instance files /var/lib/nova/instances/61ec627f-97d6-4fe4-b82a-7ad1b932ac1b_del
2017-04-03 18:53:25.899 11286 INFO nova.virt.libvirt.driver [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] Deletion of /var/lib/nova/instances/61ec627f-97d6-4fe4-b82a-7ad1b932ac1b_del complete
2017-04-03 18:53:26.110 11286 INFO nova.compute.manager [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] Took 0.22 seconds to destroy the instance on the hypervisor.
2017-04-03 18:53:26.112 11286 ERROR nova.compute.manager [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] Failed to deallocate network for instance.
2017-04-03 18:53:26.259 11286 WARNING nova.compute.manager [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] Could not clean up failed build, not rescheduling. Error: Unable to establish connection to http://127.0.0.1:9696/v2.0/ports ... 4-b82a-7ad1b932ac1b
2017-04-03 18:53:26.501 11286 ERROR nova.compute.manager [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] Build of instance 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b aborted: Unable to establish connection to http://127.0.0.1:9696/v2.0/extensions.json
2017-04-03 18:53:26.501 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] Traceback (most recent call last):
2017-04-03 18:53:26.501 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1926, in _do_build_and_run_instance
2017-04-03 18:53:26.501 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     filter_properties)
2017-04-03 18:53:26.501 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2083, in _build_and_run_instance
2017-04-03 18:53:26.501 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     'create.error', fault=e)
2017-04-03 18:53:26.501 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-04-03 18:53:26.501 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     self.force_reraise()
2017-04-03 18:53:26.501 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-04-03 18:53:26.501 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     six.reraise(self.type_, self.value, self.tb)
2017-04-03 18:53:26.501 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2067, in _build_and_run_instance
2017-04-03 18:53:26.501 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     instance=instance)
2017-04-03 18:53:26.501 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
2017-04-03 18:53:26.501 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     self.gen.throw(type, value, traceback)
2017-04-03 18:53:26.501 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2244, in _build_resources
2017-04-03 18:53:26.501 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     reason=six.text_type(exc))
2017-04-03 18:53:26.501 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] BuildAbortException: Build of instance 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b aborted: Unable to establish connection to http://127.0.0.1:9696/v2.0/extensions.json
2017-04-03 18:53:26.501 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [req-42477dce-28b0-4961-ba65-5d9323a0bbd4 a2ef09e29de64841a6ea2bf19cbd8311 c6e46a7876bd4d6db93b06c28026df84 - - -] [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] Failed to deallocate networks
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] Traceback (most recent call last):
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2249, in _cleanup_allocated_networks
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     self._deallocate_network(context, instance, requested_networks)
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1827, in _deallocate_network
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     context, instance, requested_networks=requested_networks)
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 821, in deallocate_for_instance
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     data = neutron.list_ports(**search_opts)
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 97, in with_params
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     ret = self.function(instance, *args, **kwargs)
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 644, in list_ports
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     **_params)
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 373, in list
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     for r in self._pagination(collection, path, **params):
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 388, in _pagination
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     res = self.get(path, params=params)
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 358, in get
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     headers=headers, params=params)
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 335, in retry_request
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     headers=headers, params=params)
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 286, in do_request
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     resp, replybody = self.httpclient.do_request(action, method, body=body)
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/neutronclient/client.py", line 306, in do_request
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     return self.request(url, method, **kwargs)
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/neutronclient/client.py", line 294, in request
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     resp = super(SessionClient, self).request(*args, **kwargs)
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 98, in request
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     return self.session.request(url, method, **kwargs)
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 94, in inner
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     return func(*args, **kwargs)
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 452, in request
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     resp = send(**kwargs)
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 496, in _send_request
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]     raise exceptions.ConnectFailure(msg)
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b] ConnectFailure: Unable to establish connection to http://127.0.0.1:9696/v2.0/ports ... 4-b82a-7ad1b932ac1b
2017-04-03 18:53:26.503 11286 ERROR nova.compute.manager [instance: 61ec627f-97d6-4fe4-b82a-7ad1b932ac1b]
2017-04-03 18:53:45.369 11286 INFO nova.compute.resource_tracker [req-88f98ecc-5371-47af-9e48-7cb70bb8c630 - - - - -] Auditing locally available compute resources for node computer
2017-04-03 18:53:45.493 11286 INFO nova.compute.resource_tracker [req-88f98ecc-5371-47af-9e48-7cb70bb8c630 - - - - -] Total usable vcpus: 1, total allocated vcpus: 0
2017-04-03 18:53:45.493 11286 INFO nova.compute.resource_tracker [req-88f98ecc-5371-47af-9e48-7cb70bb8c630 - - - - -] Final resource view: name=computer phys_ram=8191MB used_ram=512MB phys_disk=49GB used_disk=0GB total_vcpus=1 used_vcpus=0 pci_stats=[]
2017-04-03 18:53:45.513 11286 INFO nova.compute.resource_tracker [req-88f98ecc-5371-47af-9e48-7cb70bb8c630 - - - - -] Compute_service record updated for computer:computer
2017-04-03 18:54:46.398 11286 INFO nova.compute.resource_tracker [req-88f98ecc-5371-47af-9e48-7cb70bb8c630 - - - - -] Auditing locally available compute resources for node computer
2017-04-03 18:54:46.575 11286 INFO nova.compute.resource_tracker [req-88f98ecc-5371-47af-9e48-7cb70bb8c630 - - - - -] Total usable vcpus: 1, total allocated vcpus: 0
2017-04-03 18:54:46.575 11286 INFO nova.compute.resource_tracker [req-88f98ecc-5371-47af-9e48-7cb70bb8c630 - - - - -] Final resource view: name=computer phys_ram=8191MB used_ram=512MB phys_disk=49GB used_disk=0GB total_vcpus=1 used_vcpus=0 pci_stats=[]
2017-04-03 18:54:46.631 11286 INFO nova.compute.resource_tracker [req-88f98ecc-5371-47af-9e48-7cb70bb8c630 - - - - -] Compute_service record updated for computer:computer
[root@computer nova]#



           哪个大神指点下,各种服务都正常啊。谢谢 。。

已有(20)人评论

跳转到指定楼层
starrycheng 发表于 2017-4-4 10:05:42
用下面命令验证下[mw_shl_code=bash,true]nova service-list[/mw_shl_code]

回复

使用道具 举报

am4126 发表于 2017-4-4 14:01:49
[root@controller ~]# nova service-list
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary           | Host       | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| 1  | nova-consoleauth | controller | internal | enabled | up    | 2017-04-04T06:01:06.000000 | -               |
| 2  | nova-conductor   | controller | internal | enabled | up    | 2017-04-04T06:01:13.000000 | -               |
| 3  | nova-scheduler   | controller | internal | enabled | up    | 2017-04-04T06:01:14.000000 | -               |
| 6  | nova-compute     | computer   | nova     | enabled | up    | 2017-04-04T06:01:14.000000 | -               |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
[root@controller ~]#
回复

使用道具 举报

am4126 发表于 2017-4-4 14:02:44
[root@controller ~]# nova-manage service list
DEPRECATED: Use the nova service-* commands from python-novaclient instead or the os-services REST resource. The service subcommand will be removed in the 14.0 release.
Binary           Host                                 Zone             Status     State Updated_At
nova-consoleauth controller                           internal         enabled    :-)   2017-04-04 06:02:06
nova-conductor   controller                           internal         enabled    :-)   2017-04-04 06:02:03
nova-scheduler   controller                           internal         enabled    :-)   2017-04-04 06:02:04
nova-osapi_compute 0.0.0.0                              internal         enabled    XXX   None      
nova-metadata    0.0.0.0                              internal         enabled    XXX   None      
nova-compute     computer                             nova             enabled    :-)   2017-04-04 06:02:04
[root@controller ~]#
回复

使用道具 举报

am4126 发表于 2017-4-4 14:20:12
我自己怀疑是网络问题。
因为我在创建虚拟网络这里,验证达不到官方文档的要求。

请看下面:

[root@controller ~]# neutron net-list
+--------------------------------------+-------------+------------------------------------------------------+
| id                                   | name        | subnets                                              |
+--------------------------------------+-------------+------------------------------------------------------+
| 7e994c98-48fe-43f2-b8ee-3729e35398eb | provider    | 6a25a7a3-24b0-4a2c-aa9e-7456c3cd0f98 192.168.11.0/24 |
| e1124e09-795e-45fb-a8b4-ce937f78d4c5 | selfservice | ceeb0e6b-33e0-4498-868a-4d40994c21a6 172.16.1.0/24   |
+--------------------------------------+-------------+------------------------------------------------------+
[root@controller ~]#


我设置了两个网络,一个provider  192.168.11.0/24    这个没有开dhcp  
                           一个selfservice  172.16.1.0/24

两个网关看下面:

[root@controller ~]# neutron router-port-list   router
+--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+
| id                                   | name | mac_address       | fixed_ips                                                                           |
+--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+
| 6c9c5704-3d6b-4ed1-924c-99da7c5ae4e7 |      | fa:16:3e:79:17:06 | {"subnet_id": "6a25a7a3-24b0-4a2c-aa9e-7456c3cd0f98", "ip_address": "192.168.11.2"} |
| 9ad09f40-b8f3-4b72-b970-5cc53e79c93b |      | fa:16:3e:2d:7f:c6 | {"subnet_id": "ceeb0e6b-33e0-4498-868a-4d40994c21a6", "ip_address": "172.16.1.1"}   |
+--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+
[root@controller ~]#


这是使用端口情况:

[root@controller ~]# neutron port-list  
+--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+
| id                                   | name | mac_address       | fixed_ips                                                                           |
+--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+
| 6c9c5704-3d6b-4ed1-924c-99da7c5ae4e7 |      | fa:16:3e:79:17:06 | {"subnet_id": "6a25a7a3-24b0-4a2c-aa9e-7456c3cd0f98", "ip_address": "192.168.11.2"} |
| 9ad09f40-b8f3-4b72-b970-5cc53e79c93b |      | fa:16:3e:2d:7f:c6 | {"subnet_id": "ceeb0e6b-33e0-4498-868a-4d40994c21a6", "ip_address": "172.16.1.1"}   |
| a19d052d-33ee-4bd1-8a3c-2727fd73b4c0 |      | fa:16:3e:5f:56:c2 | {"subnet_id": "ceeb0e6b-33e0-4498-868a-4d40994c21a6", "ip_address": "172.16.1.2"}   |
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------------

我根据教程的方法
neutron router-interface-add router selfservice
neutron router-gateway-set router provider

设置子网接口 设置网关

教程验证:

只要是 192.168.11.0/24 上的设备,都可以ping通  192.168.1.2  (provider网关)

我的问题是,我只能在控制节点ping通这个地址。


而同时   172.16.1.1    (selfservice 网关)

我在192.168.11.0/24  网段都可以ping通。。


卡这里   一直实现不了教程的要求。
回复

使用道具 举报

am4126 发表于 2017-4-4 14:37:00
      

1

1
\

2

2


       官方文档上写的,provider的网关地址,在任何物理节点都可以ping通。我完完全全按照他的步骤的。
       只能控制节点ping通。。不知道问题出在哪里?
回复

使用道具 举报

qcbb001 发表于 2017-4-4 14:40:06

nova-osapi_compute 0.0.0.0                              internal         enabled    XXX   None      
nova-metadata    0.0.0.0                              internal         enabled    XXX   None      
上面两个服务先启动了。

回复

使用道具 举报

am4126 发表于 2017-4-4 14:43:15
好像没有安装这两个服务。
等等
回复

使用道具 举报

am4126 发表于 2017-4-4 15:04:44
囧。。没看到怎么启动这两个服务。。
回复

使用道具 举报

desehawk 发表于 2017-4-4 15:14:04
am4126 发表于 2017-4-4 15:04
囧。。没看到怎么启动这两个服务。。

应该是Nova api的问题
[mw_shl_code=bash,true]systemctl restart openstack-nova-api.service
[/mw_shl_code]

回复

使用道具 举报

123下一页
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条