Ask Your Question
0

I met a trouble,I cant boot a Instance,error

asked 2014-02-03 09:31:12 -0500

HOchikong gravatar image

updated 2014-02-03 10:57:53 -0500

I follow this guidelink text to install my openstack environment(my operated is little different),

| ID                                   | Name                | Status | Server |
+--------------------------------------+---------------------+--------+--------+
| a41ae85b-13ed-4676-bd59-f86b17efb657 | cirros-0.3.0-x86_64 | ACTIVE |        |
| 2e552430-3b6c-4295-8ac2-501667e46a49 | myFirstImage        | ACTIVE |        |

here is my images

nova flavor-list:

+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
| ID | Name      | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | extra_specs |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
| 1  | m1.tiny   | 512       | 0    | 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 boot --image a41ae85b-13ed-4676-bd59-f86b17efb657 --flavor 1 vm1:

+-------------------------------------+--------------------------------------+
| Property                            | Value                                |
+-------------------------------------+--------------------------------------+
| status                              | BUILD                                |
| updated                             | 2014-02-03T11:21:40Z                 |
| OS-EXT-STS:task_state               | scheduling                           |
| OS-EXT-SRV-ATTR:host                | None                                 |
| key_name                            | None                                 |
| image                               | cirros-0.3.0-x86_64                  |
| hostId                              |                                      |
| OS-EXT-STS:vm_state                 | building                             |
| OS-EXT-SRV-ATTR:instance_name       | instance-0000000c                    |
| OS-EXT-SRV-ATTR:hypervisor_hostname | None                                 |
| flavor                              | m1.tiny                              |
| id                                  | 28904bbb-adcc-4350-99ca-c6f4be6cad67 |
| security_groups                     | [{u'name': u'default'}]              |
| user_id                             | 99ae1e5b2ac34df1a9bd8d0522c7b409     |
| name                                | vm1                                  |
| adminPass                           | XwgNXU36xiPA                         |
| tenant_id                           | 39c9175513ec4bd8871182d6892f0164     |
| created                             | 2014-02-03T11:21:40Z                 |
| OS-DCF:diskConfig                   | MANUAL                               |
| metadata                            | {}                                   |
| accessIPv4                          |                                      |
| accessIPv6                          |                                      |
| progress                            | 0                                    |
| OS-EXT-STS:power_state              | 0                                    |
| OS-EXT-AZ:availability_zone         | nova                                 |
| config_drive                        |                                      |
+-------------------------------------+--------------------------------------+

but i can't boot my instance!

here is my log:

2014-02-03 21:21:52.520 1282 INFO nova.manager [-] Skipping periodic task _periodic_update_dns because its interval is negative
2014-02-03 21:21:57.798 1282 INFO nova.virt.driver [-] Loading compute driver 'libvirt.LibvirtDriver'
2014-02-03 21:22:00.977 INFO nova.openstack.common.rpc.common [req-28a034a2-fbda-4e2a-837e-422523197ae5 None None] Connected to AMQP server on 172.16.77.130:5672
2014-02-03 21:22:01.389 1282 AUDIT nova.service [-] Starting compute node (version 2013.1.4)
2014-02-03 21:22:01.876 INFO nova.compute.manager [req-67e63106-a6ba-40d0-b610-485f7798a255 None None] Updating host status
2014-02-03 21:22:02.257 1282 INFO nova.openstack.common.rpc.common [-] Connected to AMQP server on 172.16.77.130:5672
2014-02-03 21:22:02.659 1282 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources
2014-02-03 21:22:02.909 1282 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 476
2014-02-03 21:22:02.910 1282 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 18
2014-02-03 21:22:02.910 1282 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 1
2014-02-03 21:22:03.129 1282 INFO nova.compute.resource_tracker [-] Compute_service record updated for compute1:compute1
2014-02-03 21:22:48.224 AUDIT nova.compute.resource_tracker [req-33ce9f57-db74-40d3-b12c-ba431827e74f None None] Auditing locally available compute resources
2014-02-03 21:22:48.358 AUDIT nova.compute.resource_tracker [req-33ce9f57-db74-40d3-b12c-ba431827e74f None None] Free ram (MB): 476
2014-02-03 21:22:48.358 AUDIT nova.compute.resource_tracker [req-33ce9f57-db74-40d3-b12c-ba431827e74f None None] Free disk (GB): 18
2014-02-03 21:22:48.359 AUDIT nova.compute.resource_tracker [req-33ce9f57-db74-40d3-b12c-ba431827e74f None None] Free VCPUS: 1
2014-02-03 21:22:48.499 INFO nova.compute.resource_tracker [req-33ce9f57-db74-40d3-b12c-ba431827e74f None None] Compute_service record updated for compute1:compute1
2014-02-03 21:22:48.627 INFO nova.compute.manager [req-33ce9f57-db74-40d3-b12c-ba431827e74f None None] Updating bandwidth usage cache
2014-02-03 21:23:48.784 1282 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources
2014-02-03 21:23:48.894 1282 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 476
2014-02-03 21:23:48.896 1282 AUDIT nova.compute.resource_tracker [-] Free disk ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2014-02-03 09:46:26 -0500

Brenne gravatar image

It seems there is no network configured:

WARNING nova.network.quantumv2.api [req-66d78e14-0764-4f9d-b591-b9183761926d 99ae1e5b2ac34df1a9bd8d0522c7b409 39c9175513ec4bd8871182d6892f0164] [instance: 53ab53e0-f32c-4c5a-8bb3-9ef2a272f45b] No network configured!

Since you are using quantum you have to create a quantum net (quantum net-create) and also a subnet. quantum net-create vmnet quantum subnet-create vmnet 10.0.0.0/24

Moreover it seems your rabbitmq server isn't configured correctly.

 AMQP server on 172.16.77.130:5672 is unreachable:

Have you set up the rabbitmq according to http://docs.openstack.org/havana/install-guide/install/apt/content/basics-queue.html?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-02-03 09:31:12 -0500

Seen: 201 times

Last updated: Feb 03 '14