[OpenStack-fr] Erreur lors de la création d'une instance de test
ismail SEBBANE
sebbane.ismail at gmail.com
Lun 27 Avr 09:47:43 UTC 2015
Bonjour,
Je débute sur OpenStack, j'ai installé que les briques de bases en suivant
la doc officiel
<http://docs.openstack.org/juno/install-guide/install/apt/content/> sur
VirtualBox (Ubuntu) .
Par contre je rencontre des problèmes à la création des instances en
utilisant l'image de test cirros-0.3.3-x86_64
Les logs en PJ, et ci-dessous quelques éléments utiles.
Pouvez vous m'aider a débloquer cette situation .
Merci
root at controller:~# source admin-openrc.sh
root at controller:~# neutron net-list
+--------------------------------------+-----------+-------------------------------------------------------+
| id | name | subnets
|
+--------------------------------------+-----------+-------------------------------------------------------+
| eed8ae7c-43d5-473e-80b0-3404cf6361fa | demo-net2 |
2229302c-401c-4d26-8cac-f888c328fc45 192.168.1.0/24 |
| 865128d4-d8d1-4c8b-bbef-4229e2703ce8 | ext-net |
2d1a4e2b-a0c0-4314-ae07-ec80c27764ef 192.168.100.0/24 |
+--------------------------------------+-----------+-------------------------------------------------------+
root at controller:~# neutron subnet-list
+--------------------------------------+--------------+------------------+--------------------------------------------------------+
| id | name | cidr |
allocation_pools |
+--------------------------------------+--------------+------------------+--------------------------------------------------------+
| 2229302c-401c-4d26-8cac-f888c328fc45 | demo-subnet2 | 192.168.1.0/24 |
{"start": "192.168.1.2", "end": "192.168.1.254"} |
| 2d1a4e2b-a0c0-4314-ae07-ec80c27764ef | ext-subnet | 192.168.100.0/24 |
{"start": "192.168.100.101", "end": "192.168.100.200"} |
+--------------------------------------+--------------+------------------+--------------------------------------------------------+
root at controller:~# neutron router-list
+--------------------------------------+--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+
| id | name |
external_gateway_info
| distributed | ha |
+--------------------------------------+--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+
| f91c86fc-ce64-4ddb-a20d-293b2fe9f908 | demo-router2 | {"network_id":
"865128d4-d8d1-4c8b-bbef-4229e2703ce8", "enable_snat": true,
"external_fixed_ips": [{"subnet_id":
"2d1a4e2b-a0c0-4314-ae07-ec80c27764ef", "ip_address": "192.168.100.103"}]}
| False | False |
+--------------------------------------+--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+
root at controller:~# keystone service-list
+----------------------------------+----------+----------+----------------------------+
| id | name | type |
description |
+----------------------------------+----------+----------+----------------------------+
| 00e15b4acd1f4137863f39bf084087c9 | glance | image | OpenStack Image
Service |
| 9401ac24d9d24ca3ac91feeefa79f2df | keystone | identity | OpenStack
Identité Service |
| c826e7b944a74bd98373c68b954b3d9c | neutron | network | OpenStack
Networking |
| 66fc7dccce0c4f238bf4f7ab92a2dfe5 | nova | compute | OpenStack
Compute |
+----------------------------------+----------+----------+----------------------------+
root at controller:~# glance image-list
+--------------------------------------+---------------------+-------------+------------------+----------+--------+
| ID | Name | Disk Format
| Container Format | Size | Status |
+--------------------------------------+---------------------+-------------+------------------+----------+--------+
| d5443117-3b0d-4875-848d-4ff6fdc38bd0 | cirros-0.3.3-x86_64 | qcow2
| bare | 13200896 | active |
+--------------------------------------+---------------------+-------------+------------------+----------+--------+
root at controller:~# source demo-openrc.sh
nova boot --flavor m1.tiny --image cirros-0.3.3-x86_64 --nic
net-id=eed8ae7c-43d5-473e-80b0-3404cf6361fa --security-group default
--key-name openstack demo-instance1
+--------------------------------------+------------------------------------------------------------+
| Property | Value
|
+--------------------------------------+------------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL
|
| OS-EXT-AZ:availability_zone | nova
|
| 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 | r55uSgYuyyMB
|
| config_drive |
|
| created | 2015-04-27T09:02:40Z
|
| flavor | m1.tiny (1)
|
| hostId |
|
| id |
237df3fb-7100-438c-b63c-d180b37b59ec |
| image | cirros-0.3.3-x86_64
(d5443117-3b0d-4875-848d-4ff6fdc38bd0) |
| key_name | openstack
|
| metadata | {}
|
| name | demo-instance1
|
| os-extended-volumes:volumes_attached | []
|
| progress | 0
|
| security_groups | default
|
| status | BUILD
|
| tenant_id | 1adba37b4e074499a1597a62e91f29f5
|
| updated | 2015-04-27T09:02:40Z
|
| user_id | f91fe6ea397d41e08aa7803c181ea5cf
|
+--------------------------------------+------------------------------------------------------------+
root at controller:/var/log# nova list
+--------------------------------------+----------------+--------+------------+-------------+----------+
| ID | Name | Status | Task
State | Power State | Networks |
+--------------------------------------+----------------+--------+------------+-------------+----------+
| 237df3fb-7100-438c-b63c-d180b37b59ec | demo-instance1 | ERROR | spawning
| NOSTATE | |
+--------------------------------------+----------------+--------+------------+-------------+----------+
Merci
*Ismail SEBBANE*Consultant Informatique @ NEOXIA <http://www.neoxia.com>
sebbane.ismail at gmail.com
0033 6 83 00 88 57
Pensez à l’environnement. N’imprimez ce courriel que si vous en avez
vraiment besoin.
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.openstack.org/pipermail/openstack-fr/attachments/20150427/690fdbca/attachment-0001.html>
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: 1120908724.jpg
Type: image/jpeg
Taille: 673 octets
Desc: non disponible
URL: <http://lists.openstack.org/pipermail/openstack-fr/attachments/20150427/690fdbca/attachment-0001.jpg>
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: nova-compute.log
Type: application/octet-stream
Taille: 16606 octets
Desc: non disponible
URL: <http://lists.openstack.org/pipermail/openstack-fr/attachments/20150427/690fdbca/attachment-0001.obj>
Plus d'informations sur la liste de diffusion OpenStack-fr