Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@nailgun ~]# fuel --f
- DEPRECATION WARNING: /etc/fuel/client/config.yaml exists and will be used as the source for settings. This behavior is deprecated. Please specify the path to your custom settings file in the FUELCLIENT_CUSTOM_SETTINGS environment variable.
- api: '1.0'
- astute_sha: 53c86cba593ddbac776ce5a3360240274c20738c
- auth_required: true
- build_id: '257'
- build_number: '257'
- feature_groups:
- - mirantis
- fuel-agent_sha: 1e8f38bbb864ed99aa8fe862b6367e82afec3263
- fuel-library_sha: bc04a7092d92400c79e6ea6ede25e7b67c6a6355
- fuel-nailgun-agent_sha: d7027952870a35db8dc52f185bb1158cdd3d1ebd
- fuel-ostf_sha: 644db51186dc23c9b27e9b5486c120c8363dc87c
- fuelmain_sha: 0e54d68392b359bc122e5bbba9249c729eeaf579
- nailgun_sha: 3189ccfb8c1dac888e351f535b03bdbc9d392406
- openstack_version: 2015.1.0-7.0
- production: docker
- python-fuelclient_sha: 9643fa07f1290071511066804f962f62fe27b512
- release: '7.0'
- release_versions:
- 2015.1.0-7.0:
- VERSION:
- api: '1.0'
- astute_sha: 53c86cba593ddbac776ce5a3360240274c20738c
- build_id: '257'
- build_number: '257'
- feature_groups:
- - mirantis
- fuel-agent_sha: 1e8f38bbb864ed99aa8fe862b6367e82afec3263
- fuel-library_sha: bc04a7092d92400c79e6ea6ede25e7b67c6a6355
- fuel-nailgun-agent_sha: d7027952870a35db8dc52f185bb1158cdd3d1ebd
- fuel-ostf_sha: 644db51186dc23c9b27e9b5486c120c8363dc87c
- fuelmain_sha: 0e54d68392b359bc122e5bbba9249c729eeaf579
- nailgun_sha: 3189ccfb8c1dac888e351f535b03bdbc9d392406
- openstack_version: 2015.1.0-7.0
- production: docker
- python-fuelclient_sha: 9643fa07f1290071511066804f962f62fe27b512
- release: '7.0'
- root@node-1:~# nova boot --image TestVM --flavor m1.micro --nic net-id=$(neutron net-list | awk '/net04 / {print $2}') --config-drive=true test1
- +--------------------------------------+-------------------------------------------------+
- | 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-0000002e |
- | 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 | 2BmreQbSKDb4 |
- | config_drive | True |
- | created | 2015-09-03T12:09:42Z |
- | flavor | m1.micro (37f04fa2-5fe8-4c7f-a668-77417dce5c58) |
- | hostId | |
- | id | 39bccbf5-3a43-4e14-9efa-e9fee14476d6 |
- | image | TestVM (07012d71-fb4e-4db6-8488-a7999ad441c5) |
- | key_name | - |
- | metadata | {} |
- | name | test1 |
- | os-extended-volumes:volumes_attached | [] |
- | progress | 0 |
- | security_groups | default |
- | status | BUILD |
- | tenant_id | 2373830893d74d3caa1e89bcfc411b13 |
- | updated | 2015-09-03T12:09:44Z |
- | user_id | b707fcdc15344e64abee857b9af52191 |
- +--------------------------------------+-------------------------------------------------+
- root@node-1:~# nova list
- +--------------------------------------+-------+--------+------------+-------------+---------------------+
- | ID | Name | Status | Task State | Power State | Networks |
- +--------------------------------------+-------+--------+------------+-------------+---------------------+
- | 39bccbf5-3a43-4e14-9efa-e9fee14476d6 | test1 | ERROR | - | NOSTATE | net04=192.168.111.7 |
- +--------------------------------------+-------+--------+------------+-------------+---------------------+
- root@node-1:~# nova show 39bccbf5-3a43-4e14-9efa-e9fee14476d6
- +--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Property | Value |
- +--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | OS-DCF:diskConfig | MANUAL |
- | OS-EXT-AZ:availability_zone | nova |
- | OS-EXT-SRV-ATTR:host | node-4.test.domain.local |
- | OS-EXT-SRV-ATTR:hypervisor_hostname | node-4.test.domain.local |
- | OS-EXT-SRV-ATTR:instance_name | instance-0000002e |
- | 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 | True |
- | created | 2015-09-03T12:09:42Z |
- | fault | {"message": "No valid host was found. There are not enough hosts available.", "code": 500, "details": " File \"/usr/lib/python2.7/dist-packages/nova/conductor/manager.py\", line 671, in build_instances |
- | | request_spec, filter_properties) |
- | | File \"/usr/lib/python2.7/dist-packages/nova/scheduler/utils.py\", line 337, in wrapped |
- | | return func(*args, **kwargs) |
- | | File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py\", line 52, in select_destinations |
- | | context, request_spec, filter_properties) |
- | | File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py\", line 37, 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 120, in select_destinations |
- | | request_spec=request_spec, filter_properties=filter_properties) |
- | | File \"/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py\", line 156, 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 350, in send |
- | | retry=retry) |
- | | File \"/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py\", line 341, in _send |
- | | raise result |
- | | ", "created": "2015-09-03T12:10:21Z"} |
- | flavor | m1.micro (37f04fa2-5fe8-4c7f-a668-77417dce5c58) |
- | hostId | f3819d0f31fbbadce6f79d83044b7f30dae6e8e9c88b50aced2043c0 |
- | id | 39bccbf5-3a43-4e14-9efa-e9fee14476d6 |
- | image | TestVM (07012d71-fb4e-4db6-8488-a7999ad441c5) |
- | key_name | - |
- | metadata | {} |
- | name | test1 |
- | net04 network | 192.168.111.7 |
- | os-extended-volumes:volumes_attached | [] |
- | security_groups | default |
- | status | ERROR |
- | tenant_id | 2373830893d74d3caa1e89bcfc411b13 |
- | updated | 2015-09-03T12:10:21Z |
- | user_id | b707fcdc15344e64abee857b9af52191 |
- +--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- compute:
- 2015-09-03 12:09:50.114 568 INFO nova.scheduler.client.report [req-c27d9332-9564-4308-b4de-121bd1be600e b707fcdc15344e64abee857b9af52191 2373830893d74d3caa1e89bcfc411b13 - - -] Compute_service record updated for ('node-5.test.domain.local', 'node-5.test.domain.local')
- 2015-09-03 12:09:51.629 568 INFO nova.virt.libvirt.driver [req-c27d9332-9564-4308-b4de-121bd1be600e b707fcdc15344e64abee857b9af52191 2373830893d74d3caa1e89bcfc411b13 - - -] [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] Creating image
- 2015-09-03 12:09:53.679 568 INFO nova.virt.libvirt.driver [req-c27d9332-9564-4308-b4de-121bd1be600e b707fcdc15344e64abee857b9af52191 2373830893d74d3caa1e89bcfc411b13 - - -] [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] Using config drive
- 2015-09-03 12:09:55.512 568 INFO nova.virt.libvirt.driver [req-c27d9332-9564-4308-b4de-121bd1be600e b707fcdc15344e64abee857b9af52191 2373830893d74d3caa1e89bcfc411b13 - - -] [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] Creating config drive at /var/lib/nova/instances/39bccbf5-3a43-4e14-9efa-e9fee14476d6/disk.config
- 2015-09-03 12:09:55.556 568 ERROR nova.compute.manager [req-c27d9332-9564-4308-b4de-121bd1be600e b707fcdc15344e64abee857b9af52191 2373830893d74d3caa1e89bcfc411b13 - - -] [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] Instance failed to spawn
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] Traceback (most recent call last):
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2465, in _build_resources
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] yield resources
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2337, in _build_and_run_instance
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] block_device_info=block_device_info)
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2405, in spawn
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] admin_pass=admin_password)
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2884, in _create_image
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] cdb.make_drive(configdrive_path)
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/dist-packages/nova/virt/configdrive.py", line 163, in make_drive
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] self._make_iso9660(path, tmpdir)
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/dist-packages/nova/virt/configdrive.py", line 117, in _make_iso9660
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] run_as_root=False)
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 207, in execute
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] return processutils.execute(*cmd, **kwargs)
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/dist-packages/oslo_concurrency/processutils.py", line 242, in execute
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] env=env_variables)
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/dist-packages/eventlet/green/subprocess.py", line 47, in __init__
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] subprocess_orig.Popen.__init__(self, args, 0, *argss, **kwds)
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] errread, errwrite)
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] raise child_exception
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] OSError: [Errno 2] No such file or directory
- 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6]
- 2015-09-03 12:09:55.563 568 INFO nova.compute.manager [req-c27d9332-9564-4308-b4de-121bd1be600e b707fcdc15344e64abee857b9af52191 2373830893d74d3caa1e89bcfc411b13 - - -] [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] Terminating instance
- 2015-09-03 12:09:55.572 568 INFO nova.virt.libvirt.driver [-] [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] During wait destroy, instance disappeared.
- 2015-09-03 12:09:55.806 568 INFO nova.virt.libvirt.driver [req-c27d9332-9564-4308-b4de-121bd1be600e b707fcdc15344e64abee857b9af52191 2373830893d74d3caa1e89bcfc411b13 - - -] [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] Deleting instance files /var/lib/nova/instances/39bccbf5-3a43-4e14-9efa-e9fee14476d6_del
- 2015-09-03 12:09:55.808 568 INFO nova.virt.libvirt.driver [req-c27d9332-9564-4308-b4de-121bd1be600e b707fcdc15344e64abee857b9af52191 2373830893d74d3caa1e89bcfc411b13 - - -] [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] Deletion of /var/lib/nova/instances/39bccbf5-3a43-4e14-9efa-e9fee14476d6_del complete
- 2015-09-03 12:09:57.167 568 INFO nova.scheduler.client.report [req-c27d9332-9564-4308-b4de-121bd1be600e b707fcdc15344e64abee857b9af52191 2373830893d74d3caa1e89bcfc411b13 - - -] Compute_service record updated for ('node-5.test.domain.local', 'node-5.test.domain.local')
- 2015-09-03 12:10:21.233 568 INFO nova.compute.resource_tracker [req-ed7a053b-51eb-47f5-bbf0-162f3868557f - - - - -] Auditing locally available compute resources for node node-5.test.domain.local
- 2015-09-03 12:10:22.303 568 INFO nova.compute.resource_tracker [req-ed7a053b-51eb-47f5-bbf0-162f3868557f - - - - -] Total usable vcpus: 1, total allocated vcpus: 0
- without 'config_drive' option instance created successfully
- root@node-1:~# nova boot --image TestVM --flavor m1.micro --nic net-id=$(neutron net-list | awk '/net04 / {print $2}') test1
- +--------------------------------------+-------------------------------------------------+
- | 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-00000031 |
- | 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 | p2zTtySmUJe4 |
- | config_drive | |
- | created | 2015-09-03T12:19:14Z |
- | flavor | m1.micro (37f04fa2-5fe8-4c7f-a668-77417dce5c58) |
- | hostId | |
- | id | 85ab454c-9264-4b59-941b-9be87e6040b5 |
- | image | TestVM (07012d71-fb4e-4db6-8488-a7999ad441c5) |
- | key_name | - |
- | metadata | {} |
- | name | test1 |
- | os-extended-volumes:volumes_attached | [] |
- | progress | 0 |
- | security_groups | default |
- | status | BUILD |
- | tenant_id | 2373830893d74d3caa1e89bcfc411b13 |
- | updated | 2015-09-03T12:19:15Z |
- | user_id | b707fcdc15344e64abee857b9af52191 |
- +--------------------------------------+-------------------------------------------------+
- root@node-1:~# nova list
- +--------------------------------------+-------+--------+------------+-------------+---------------------+
- | ID | Name | Status | Task State | Power State | Networks |
- +--------------------------------------+-------+--------+------------+-------------+---------------------+
- | 39bccbf5-3a43-4e14-9efa-e9fee14476d6 | test1 | ERROR | - | NOSTATE | net04=192.168.111.7 |
- | 85ab454c-9264-4b59-941b-9be87e6040b5 | test1 | ACTIVE | - | Running | net04=192.168.111.8 |
- +--------------------------------------+-------+--------+------------+-------------+---------------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement