Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@openstack-controller:/home/user# nova boot --flavor m1.nano --image cirros-0.3.3-x86_64 --nic net-id=fc2c70b2-e404-46bb-83cb-f76e6eafffa4 i1
- +--------------------------------------+------------------------------------------------------------+
- | Property | Value |
- +--------------------------------------+------------------------------------------------------------+
- | OS-DCF:diskConfig | MANUAL |
- | OS-EXT-AZ:availability_zone | nova |
- | OS-EXT-SRV-ATTR:host | - |
- | OS-EXT-SRV-ATTR:hypervisor_hostname | - |
- | OS-EXT-SRV-ATTR:instance_name | instance-00000030 |
- | OS-EXT-STS:power_state | 0 |
- | OS-EXT-STS:task_state | scheduling |
- | OS-EXT-STS:vm_state | building |
- | OS-SRV-USG:launched_at | - |
- | OS-SRV-USG:terminated_at | - |
- | accessIPv4 | |
- | accessIPv6 | |
- | adminPass | d3hLAppKiUo7 |
- | config_drive | |
- | created | 2015-04-19T13:46:05Z |
- | flavor | m1.nano (7) |
- | hostId | |
- | id | 032a51df-ebe8-4b63-b220-07a6017fad58 |
- | image | cirros-0.3.3-x86_64 (68156038-cf09-4eb3-baf0-010a0646a5f4) |
- | key_name | - |
- | metadata | {} |
- | name | i1 |
- | os-extended-volumes:volumes_attached | [] |
- | progress | 0 |
- | security_groups | default |
- | status | BUILD |
- | tenant_id | e3ac23ce854541efa7e38434a3ea1bfe |
- | updated | 2015-04-19T13:46:05Z |
- | user_id | ee64c6f81ddb40358d1cf6df3a198141 |
- +--------------------------------------+------------------------------------------------------------+
- root@openstack-controller:/home/user# nova show i1
- +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Property | Value |
- +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | OS-DCF:diskConfig | MANUAL |
- | OS-EXT-AZ:availability_zone | nova |
- | OS-EXT-SRV-ATTR:host | openstack-compute |
- | OS-EXT-SRV-ATTR:hypervisor_hostname | openstack-compute |
- | OS-EXT-SRV-ATTR:instance_name | instance-00000030 |
- | OS-EXT-STS:power_state | 0 |
- | OS-EXT-STS:task_state | - |
- | OS-EXT-STS:vm_state | error |
- | OS-SRV-USG:launched_at | - |
- | OS-SRV-USG:terminated_at | - |
- | accessIPv4 | |
- | accessIPv6 | |
- | config_drive | |
- | created | 2015-04-19T13:46:05Z |
- | fault | {"message": "No valid host was found. ", "code": 500, "details": " File \"/usr/lib/python2.7/dist-packages/nova/conductor/manager.py\", line 616, in build_instances |
- | | request_spec, filter_properties) |
- | | File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py\", line 49, in select_destinations |
- | | context, request_spec, filter_properties) |
- | | File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py\", line 35, in __run_method |
- | | return getattr(self.instance, __name)(*args, **kwargs) |
- | | File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/query.py\", line 34, in select_destinations |
- | | context, request_spec, filter_properties) |
- | | File \"/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py\", line 108, in select_destinations |
- | | request_spec=request_spec, filter_properties=filter_properties) |
- | | File \"/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py\", line 152, in call |
- | | retry=self.retry) |
- | | File \"/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py\", line 90, in _send |
- | | timeout=timeout, retry=retry) |
- | | File \"/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py\", line 408, in send |
- | | retry=retry) |
- | | File \"/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py\", line 399, in _send |
- | | raise result |
- | | ", "created": "2015-04-19T13:46:07Z"} |
- | flavor | m1.nano (7) |
- | hostId | 368ef4d35a41f01123bfcd3bf91e773d3f1c2fc7f3b09ca436db7c3a |
- | id | 032a51df-ebe8-4b63-b220-07a6017fad58 |
- | image | cirros-0.3.3-x86_64 (68156038-cf09-4eb3-baf0-010a0646a5f4) |
- | key_name | - |
- | metadata | {} |
- | name | i1 |
- | net network | 10.0.0.7 |
- | os-extended-volumes:volumes_attached | [] |
- | security_groups | default |
- | status | ERROR |
- | tenant_id | e3ac23ce854541efa7e38434a3ea1bfe |
- | updated | 2015-04-19T13:46:07Z |
- | user_id | ee64c6f81ddb40358d1cf6df3a198141 |
- +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- But in nova-compute.log in compute node I see this.
- 2015-04-19 06:49:18.817 5147 DEBUG nova.network.base_api [-] Updating cache with info: [VIF({'profile': {}, 'ovs_interfaceid': None, 'network': Network({'bridge': None, 'subnets': [Subnet({'ips': [FixedIP({'meta': {}, 'version': 4, 'type': 'fixed', 'floating_ips': [], 'address': u'10.0.0.7'})], 'version': 4, 'meta': {'dhcp_server': u'10.0.0.3'}, 'dns': [], 'routes': [], 'cidr': u'10.0.0.0/24', 'gateway': IP({'meta': {}, 'version': 4, 'type': 'gateway', 'address': u'10.0.0.1'})})], 'meta': {'injected': False, 'tenant_id': u'e3ac23ce854541efa7e38434a3ea1bfe'}, 'id': u'fc2c70b2-e404-46bb-83cb-f76e6eafffa4', 'label': u'net'}), 'devname': u'tap8849062d-86', 'vnic_type': u'normal', 'qbh_params': None, 'meta': {}, 'details': {}, 'address': u'fa:16:3e:6d:61:60', 'active': False, 'type': u'binding_failed', 'id': u'8849062d-86bf-4fe7-b1ec-d76e53e04b20', 'qbg_params': None})] update_instance_cache_with_nw_info /usr/lib/python2.7/dist-packages/nova/network/base_api.py:40
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement