1. how to launch an instance:

[root@localhost ~(keystone_admin)]# nova flavor-list
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name      | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| 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      |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+

[root@localhost ~(keystone_admin)]# glance image-list
+--------------------------------------+--------+
| ID                                   | Name   |
+--------------------------------------+--------+
| 3efcdaf6-778a-4a81-ac9a-b76ebb21bffd | cirros |
+--------------------------------------+--------+

[root@localhost ~(keystone_admin)]# nova boot --flavor m1.small --image cirros test
+--------------------------------------+-----------------------------------------------+
| Property                             | Value                                         |
+--------------------------------------+-----------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL                                        |
| OS-EXT-AZ:availability_zone          |                                               |
| OS-EXT-SRV-ATTR:host                 | -                                             |
| OS-EXT-SRV-ATTR:hostname             | test                                          |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | -                                             |
| OS-EXT-SRV-ATTR:instance_name        |                                               |
| OS-EXT-SRV-ATTR:kernel_id            |                                               |
| OS-EXT-SRV-ATTR:launch_index         | 0                                             |
| OS-EXT-SRV-ATTR:ramdisk_id           |                                               |
| OS-EXT-SRV-ATTR:reservation_id       | r-wsqhc0un                                    |
| OS-EXT-SRV-ATTR:root_device_name     | -                                             |
| OS-EXT-SRV-ATTR:user_data            | -                                             |
| 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                            | dtyW5McRcsd8                                  |
| config_drive                         |                                               |
| created                              | 2016-12-04T10:59:13Z                          |
| description                          | -                                             |
| flavor                               | m1.small (2)                                  |
| hostId                               |                                               |
| host_status                          |                                               |
| id                                   | ceb0bec9-40e9-4426-832a-3271eb8b62ab          |
| image                                | cirros (3efcdaf6-778a-4a81-ac9a-b76ebb21bffd) |
| key_name                             | -                                             |
| locked                               | False                                         |
| metadata                             | {}                                            |
| name                                 | test                                          |
| os-extended-volumes:volumes_attached | []                                            |
| progress                             | 0                                             |
| security_groups                      | default                                       |
| status                               | BUILD                                         |
| tags                                 | []                                            |
| tenant_id                            | 850808305d454ea7939724853a7c8844              |
| updated                              | 2016-12-04T10:59:14Z                          |
| user_id                              | ef23903614b84305bf5251915fa05d69              |
+--------------------------------------+-----------------------------------------------+

nova compute log:

path:/var/log/nova/nova_compute.log

1. 完整log

2016-12-04 05:59:15.188 1916 INFO nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] Auditing locally available compute resources for node localhost
2016-12-04 05:59:17.545 1916 INFO nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] Total usable vcpus: 1, total allocated vcpus: 0
2016-12-04 05:59:17.547 1916 INFO nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] Final resource view: name=localhost phys_ram=4703MB used_ram=512MB phys_disk=49GB used_disk=0GB total_vcpus=1 used_vcpus=0 pci_stats=[]
2016-12-04 05:59:17.714 1916 INFO nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] Compute_service record updated for localhost:localhost
2016-12-04 05:59:18.666 1916 WARNING nova.image.glance [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] No protocol specified in for api_server 'http://172.125.1.10:9292', please update [glance] api_servers with fully qualified url including scheme (http / https)
2016-12-04 05:59:18.921 1916 INFO nova.compute.claims [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] Attempting claim: memory 2048 MB, disk 20 GB, vcpus 1 CPU
2016-12-04 05:59:18.922 1916 INFO nova.compute.claims [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] Total memory: 4703 MB, used: 512.00 MB
2016-12-04 05:59:18.923 1916 INFO nova.compute.claims [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] memory limit: 7054.50 MB, free: 6542.50 MB
2016-12-04 05:59:18.924 1916 INFO nova.compute.claims [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] Total disk: 49 GB, used: 0.00 GB
2016-12-04 05:59:18.926 1916 INFO nova.compute.claims [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] disk limit: 49.00 GB, free: 49.00 GB
2016-12-04 05:59:18.927 1916 INFO nova.compute.claims [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] Total vcpu: 1 VCPU, used: 0.00 VCPU
2016-12-04 05:59:18.928 1916 INFO nova.compute.claims [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] vcpu limit: 16.00 VCPU, free: 16.00 VCPU
2016-12-04 05:59:18.948 1916 INFO nova.compute.claims [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] Claim successful
2016-12-04 05:59:20.910 1916 WARNING nova.virt.osinfo [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty)
2016-12-04 05:59:21.246 1916 WARNING nova.virt.osinfo [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty)
2016-12-04 05:59:24.038 1916 WARNING nova.virt.osinfo [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty)
2016-12-04 05:59:24.041 1916 INFO nova.virt.libvirt.driver [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] Creating image
2016-12-04 05:59:39.829 1916 WARNING nova.virt.osinfo [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty)
2016-12-04 05:59:41.480 1916 INFO os_vif [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] Successfully plugged vif VIFBridge(active=False,address=fa:16:3e:ae:2c:2a,bridge_name='qbrbea6ecd2-c5',has_traffic_filtering=True,id=bea6ecd2-c599-405b-9871-a6dcaa27ca2d,network=Network(da515db3-8dbf-4e67-833e-10c476871fa6),plugin='ovs',port_profile=VIFPortProfileBase,preserve_on_delete=False,vif_name='tapbea6ecd2-c5')
2016-12-04 05:59:51.979 1916 INFO nova.compute.manager [req-824292d4-400b-4e5f-9844-85528e330b2a - - - - -] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] VM Started (Lifecycle Event)
2016-12-04 05:59:52.953 1916 INFO nova.compute.manager [req-824292d4-400b-4e5f-9844-85528e330b2a - - - - -] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] VM Paused (Lifecycle Event)
2016-12-04 05:59:54.772 1916 INFO nova.compute.manager [req-824292d4-400b-4e5f-9844-85528e330b2a - - - - -] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] During sync_power_state the instance has a pending task (spawning). Skip.
2016-12-04 05:59:55.116 1916 INFO nova.compute.manager [req-824292d4-400b-4e5f-9844-85528e330b2a - - - - -] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] VM Resumed (Lifecycle Event)
2016-12-04 05:59:55.230 1916 INFO nova.virt.libvirt.driver [-] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] Instance spawned successfully.
2016-12-04 05:59:55.231 1916 INFO nova.compute.manager [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] Took 31.19 seconds to spawn the instance on the hypervisor.
2016-12-04 05:59:57.907 1916 INFO nova.compute.manager [req-824292d4-400b-4e5f-9844-85528e330b2a - - - - -] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] During sync_power_state the instance has a pending task (spawning). Skip.
2016-12-04 05:59:57.908 1916 INFO nova.compute.manager [req-824292d4-400b-4e5f-9844-85528e330b2a - - - - -] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] VM Resumed (Lifecycle Event)
2016-12-04 06:00:00.482 1916 WARNING nova.image.glance [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] No protocol specified in for api_server 'http://172.125.1.10:9292', please update [glance] api_servers with fully qualified url including scheme (http / https)
2016-12-04 06:00:00.593 1916 INFO nova.compute.manager [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] Took 41.93 seconds to build instance.
2016-12-04 06:00:13.006 1916 INFO nova.compute.manager [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] Running instance usage audit for host localhost from 2016-12-04 10:00:00 to 2016-12-04 11:00:00. 3 instances.
2016-12-04 06:00:13.313 1916 WARNING nova.image.glance [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] No protocol specified in for api_server 'http://172.125.1.10:9292', please update [glance] api_servers with fully qualified url including scheme (http / https)
2016-12-04 06:00:13.507 1916 WARNING nova.image.glance [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] No protocol specified in for api_server 'http://172.125.1.10:9292', please update [glance] api_servers with fully qualified url including scheme (http / https)
2016-12-04 06:00:13.751 1916 WARNING nova.image.glance [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] No protocol specified in for api_server 'http://172.125.1.10:9292', please update [glance] api_servers with fully qualified url including scheme (http / https)
2016-12-04 06:00:16.088 1916 INFO nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] Auditing locally available compute resources for node localhost
2016-12-04 06:00:16.171 1916 WARNING nova.virt.libvirt.driver [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] couldn't obtain the vcpu count from domain id: ceb0bec9-40e9-4426-832a-3271eb8b62ab, exception: Requested operation is not valid: cpu affinity is not supported
2016-12-04 06:00:20.245 1916 INFO nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] Total usable vcpus: 1, total allocated vcpus: 1
2016-12-04 06:00:20.246 1916 INFO nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] Final resource view: name=localhost phys_ram=4703MB used_ram=2560MB phys_disk=49GB used_disk=20GB total_vcpus=1 used_vcpus=1 pci_stats=[]
2016-12-04 06:00:20.499 1916 INFO nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] Compute_service record updated for localhost:localhost
2016-12-04 06:01:16.044 1916 INFO nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] Auditing locally available compute resources for node localhost
2016-12-04 06:01:16.200 1916 WARNING nova.virt.libvirt.driver [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] couldn't obtain the vcpu count from domain id: ceb0bec9-40e9-4426-832a-3271eb8b62ab, exception: Requested operation is not valid: cpu affinity is not supported
2016-12-04 06:01:23.000 1916 INFO nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] Total usable vcpus: 1, total allocated vcpus: 1
2016-12-04 06:01:23.002 1916 INFO nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] Final resource view: name=localhost phys_ram=4703MB used_ram=2560MB phys_disk=49GB used_disk=20GB total_vcpus=1 used_vcpus=1 pci_stats=[]
2016-12-04 06:01:23.543 1916 INFO nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] Compute_service record updated for localhost:localhost
2016-12-04 06:02:16.167 1916 INFO nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] Auditing locally available compute resources for node localhost
2016-12-04 06:02:16.264 1916 WARNING nova.virt.libvirt.driver [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] couldn't obtain the vcpu count from domain id: ceb0bec9-40e9-4426-832a-3271eb8b62ab, exception: Requested operation is not valid: cpu affinity is not supported
2016-12-04 06:02:21.224 1916 INFO nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] Total usable vcpus: 1, total allocated vcpus: 1
2016-12-04 06:02:21.225 1916 INFO nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] Final resource view: name=localhost phys_ram=4703MB used_ram=2560MB phys_disk=49GB used_disk=20GB total_vcpus=1 used_vcpus=1 pci_stats=[]
2016-12-04 06:02:21.433 1916 INFO nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] Compute_service record updated for localhost:localhost

1. audit

鉴权是第一步

2016-12-04 05:59:15.188 1916 INFO nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] Auditing locally available compute resources for node localhost

2. flavor条件判断: disk/memory/vCPU

2016-12-04 05:59:17.545 1916 INFO nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 - - - - -] Total usable vcpus: 1, total allocated vcpus: 0
2016-12-04 05:59:17.547 1916 INFO
nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 -
- - - -] Final resource view: name=localhost phys_ram=4703MB
used_ram=512MB phys_disk=49GB used_disk=0GB total_vcpus=1 used_vcpus=0
pci_stats=[]
2016-12-04 05:59:17.714 1916 INFO
nova.compute.resource_tracker [req-aca1bd33-ce85-4f3d-ad92-d0f6030a35f0 -
- - - -] Compute_service record updated for localhost:localhost
2016-12-04
05:59:18.666 1916 WARNING nova.image.glance
[req-876df2cc-e1f3-48ee-94f2-b794af6d25ea
ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -]
No protocol specified in for api_server 'http://172.125.1.10:9292',
please update [glance] api_servers with fully qualified url including
scheme (http / https)
2016-12-04 05:59:18.921 1916 INFO
nova.compute.claims [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea
ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -]
[instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] Attempting claim:
memory 2048 MB, disk 20 GB, vcpus 1 CPU
2016-12-04 05:59:18.922 1916
INFO nova.compute.claims [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea
ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -]
[instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] Total memory: 4703 MB,
used: 512.00 MB
2016-12-04 05:59:18.923 1916 INFO
nova.compute.claims [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea
ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -]
[instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] memory limit: 7054.50
MB, free: 6542.50 MB
2016-12-04 05:59:18.924 1916 INFO
nova.compute.claims [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea
ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -]
[instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] Total disk: 49 GB,
used: 0.00 GB
2016-12-04 05:59:18.926 1916 INFO nova.compute.claims
[req-876df2cc-e1f3-48ee-94f2-b794af6d25ea
ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -]
[instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] disk limit: 49.00 GB,
free: 49.00 GB
2016-12-04 05:59:18.927 1916 INFO nova.compute.claims
[req-876df2cc-e1f3-48ee-94f2-b794af6d25ea
ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -]
[instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] Total vcpu: 1 VCPU,
used: 0.00 VCPU
2016-12-04 05:59:18.928 1916 INFO nova.compute.claims
[req-876df2cc-e1f3-48ee-94f2-b794af6d25ea
ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -]
[instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] vcpu limit: 16.00
VCPU, free: 16.00 VCPU
2016-12-04 05:59:18.948 1916 INFO
nova.compute.claims [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea
ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -]
[instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] Claim successful

3.os:image

2016-12-04 05:59:24.041 1916 INFO nova.virt.libvirt.driver [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] Creating image

backend image path: /var/lib/nova/instances/_base

4. network:

2016-12-04 05:59:41.480 1916 INFO os_vif [req-876df2cc-e1f3-48ee-94f2-b794af6d25ea ef23903614b84305bf5251915fa05d69 850808305d454ea7939724853a7c8844 - - -] Successfully plugged vif VIFBridge(active=False,address=fa:16:3e:ae:2c:2a,bridge_name='qbrbea6ecd2-c5',has_traffic_filtering=True,id=bea6ecd2-c599-405b-9871-a

6dcaa27ca2d,network=Network(da515db3-8dbf-4e67-833e-10c476871fa6),plugin='ovs',port_profile=VIFPortProfileBase,preserve_on_delete=False,vif_name='tapbea6ecd2-c5')

5.vm life cycle manage:

2016-12-04 05:59:51.979 1916 INFO nova.compute.manager [req-824292d4-400b-4e5f-9844-85528e330b2a - - - - -] [instance: ceb0bec9-40e9-4426-832a-3271eb8b62ab] VM Started (Lifecycle Event)
2016-12-04
05:59:52.953 1916 INFO nova.compute.manager
[req-824292d4-400b-4e5f-9844-85528e330b2a - - - - -] [instance:
ceb0bec9-40e9-4426-832a-3271eb8b62ab] VM Paused (Lifecycle Event)
2016-12-04
05:59:54.772 1916 INFO nova.compute.manager
[req-824292d4-400b-4e5f-9844-85528e330b2a - - - - -] [instance:
ceb0bec9-40e9-4426-832a-3271eb8b62ab] During sync_power_state the
instance has a pending task (spawning). Skip.
2016-12-04 05:59:55.116
1916 INFO nova.compute.manager
[req-824292d4-400b-4e5f-9844-85528e330b2a - - - - -] [instance:
ceb0bec9-40e9-4426-832a-3271eb8b62ab] VM Resumed (Lifecycle Event)
2016-12-04
05:59:55.230 1916 INFO nova.virt.libvirt.driver [-] [instance:
ceb0bec9-40e9-4426-832a-3271eb8b62ab] Instance spawned successfully.

openstack-lanch an instance and nova compute log analysis的更多相关文章

  1. openstack第三章:nova

    第三篇nova— 计算服务 一.nova介绍:             Nova 是 OpenStack 最核心的服务,负责维护和管理云环境的计算资源.OpenStack 作为 IaaS 的云操作系统 ...

  2. CentOS7安装OpenStack(Rocky版)-04.安装Nova计算服务(控制节点)

    上一篇文章分享了glance镜像服务的安装配置,本文主要分享openstack的计算服务Nova的安装和配制方法 ------------------ 完美的分割线 ----------------- ...

  3. OpenStack Train版-6.安装nova计算服务(计算节点)

    安装nova计算服务(computel01计算节点 192.168.0.20)安装软件包 yum install centos-release-openstack-train -y yum insta ...

  4. OpenStack实践系列④计算服务Nova

    OpenStack实践系列④计算服务Nova 3.6 Nova控制节点的部署创建服务的凭证,完成下列步骤: 创建nova用户,并加入到service项目中,赋予admin权限 [root@node1 ...

  5. 1898 ERROR nova.compute.manager

    2018-06-10 21:03:54.045 1898 ERROR nova.compute.manager [instance: 15a6c26f-b8af-4a3e-a3df-8552c16e0 ...

  6. Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. <class 'sqlalchemy.exc.OperationalError'> (HTTP 500) (Request-ID: req-6ac88345-ce5a

    Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API ...

  7. Open source and free log analysis and log management tools.

    Open source and free log analysis and log management tools. Maintained by Dr. Anton Chuvakin Version ...

  8. openstack私有云布署实践【11.3 计算nova - compute节点-nova用户免密登录(用于云主机冷迁移+扩展云主机大小)】

    云主机迁移+扩展云主机大小 ,官方说它依赖nova用户之间的免密登录.确保每个resion区域的compute节点服务器他们可以相互SSH免密   compute1-7     他们相互SSH免密 k ...

  9. Openstack 03 - Nova Compute

    1.前言 非常早之前就開始着手写Openstack 系列的博客了,在写了总体架构和Keystone之后,准备写Nova,可是每次写到一半,自己心里就认为不踏实,由于似乎我并没有真正理解Nova,或者说 ...

随机推荐

  1. OpenVpn简单架设

    首先Wget wget http://swupdate.openvpn.org/as/openvpn-as-2.0.24-CentOS6.i386.rpm wget http://swupdate.o ...

  2. linux c 笔记-4 工程项目阅读推荐

    作者:周子涵链接:https://www.zhihu.com/question/27705862/answer/37738315来源:知乎著作权归作者所有,转载请联系作者获得授权. 转自网上不知道什么 ...

  3. C++中的 :: 用法

    ::是运算符中等级最高的,它分为三种:1)global scope(全局作用域符),用法(::name)2)class scope(类作用域符),用法(class::name)3)namespace ...

  4. 64位win7下安装SQL Server 2008(图文解说版)

    运行sql安装 单击安装-全新的sql server独立安装,如果我们准备好了故障转移群集,那么我们就可以创建故障转移群集sql 常规检查 一笑而过 选择版本,或者输入密钥自动识别版本 授权协议 支持 ...

  5. css div上下左右居中

    相信大家都会遇到这样的问题,要求一个块上下左右居中,在这里我总结了几个好用的方法 1.已知要居中的块width height 假设  content 要在f里上下左右居中 <div class= ...

  6. .Net中使用无闪刷新控件时提示框不显示

    今天做提示框的时候一直不显示,让我郁闷好久,晚上吃饭的时候问了同事一下,他给了一个思路, 他说可能是因为由于页面中的无闪刷新导致的结果:百度了一下真找到了解决方法 在页面中存在无闪刷新控件的时候提示框 ...

  7. js屏幕尺寸 笔记

    "屏幕分辨率为:"+screen.width+"*"+screen.height "屏幕可用大小:"+screen.availWidth+& ...

  8. Android root + 修改host

    1.使用KingRoot下载手机版,安装后进行Root处理. 2.下载 RE文件管理器,安装后,打开应用,进入etc,找到host, 勾选,菜单中选择 以文本方式编辑,修改好之后,按返回键 ,提示保存 ...

  9. Delphi多线程编程--线程同步的方法(事件、互斥、信号、计时器)简介

    更详细的可以参考:http://www.cnblogs.com/xumenger/p/4450659.html 或者参考之后的博客 四个系统内核对象(事件.互斥.信号.计时器)都是线程同步的手段,从这 ...

  10. 【Java EE 学习 28 下】【Oracle面试题2道】【Oracle练习题3道】

    一.已知程序和数据 create table test1 (id int primary key, name ), money int); ,); ,); ,); ,); 要求根据下图写出相应的sql ...