yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #21334
[Bug 1328872] Re: Launch an instance with OpenStack Networking (neutron) in OpenStack Installation Guide for Red Hat Enterprise Linux, CentOS, and Fedora - icehouse Failed to close augeas aug_close: do_aug_close: you must call 'aug-init' first to initialize Augeas
Adding log with TRACE
augeas-libs.x86_64 1.1.0-12.el7 @rhel7-released
openstack-nova-api.noarch 2014.1.2-1.el7ost @puddle
openstack-nova-common.noarch 2014.1.2-1.el7ost @puddle
openstack-nova-compute.noarch 2014.1.2-1.el7ost @puddle
python-nova.noarch 2014.1.2-1.el7ost @puddle
** Also affects: nova
Importance: Undecided
Status: New
** Attachment added: "log"
https://bugs.launchpad.net/nova/+bug/1328872/+attachment/4205244/+files/log
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1328872
Title:
Launch an instance with OpenStack Networking (neutron) in OpenStack
Installation Guide for Red Hat Enterprise Linux, CentOS, and Fedora -
icehouse Failed to close augeas aug_close: do_aug_close: you must
call 'aug-init' first to initialize Augeas
Status in OpenStack Compute (Nova):
New
Status in OpenStack Manuals:
Expired
Bug description:
centos6.5+icehouse
when :
Launch an instance with OpenStack Networking (neutron) error
2014-06-10 13:14:58.354 2786 INFO oslo.messaging._drivers.impl_qpid [-] Connected to AMQP server on controller:5672
2014-06-10 13:23:39.074 2786 WARNING nova.virt.disk.vfs.guestfs [req-29f113b4-6f3a-4c59-a2dc-70c4bd0514af f9ebab09cbe1446fb07229f9ba53edad 7fa0b1e3152c4082a876f6dcd28d5e15] Failed to close augeas aug_close: do_aug_close: you must call 'aug-init' first to initialize Augeas
2014-06-10 13:23:40.555 2786 ERROR nova.virt.libvirt.driver [req-29f113b4-6f3a-4c59-a2dc-70c4bd0514af f9ebab09cbe1446fb07229f9ba53edad 7fa0b1e3152c4082a876f6dcd28d5e15] An error occurred while trying to launch a defined domain with xml: <domain type='kvm'>
[root@controller ~]# ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
8b:73:1d:01:76:5d:85:77:0b:c4:fb:0c:97:d0:4b:d7 root@controller
The key's randomart image is:
+--[ RSA 2048]----+
| o ..ooooo|
| . o .+.oE|
| . =.*|
| . o = |
| S . = |
| . o . o |
| o o . |
| o |
| |
+-----------------+
nova keypair-add --pub-key ~/.ssh/id_rsa.pub demo-key
[root@controller ~]# nova keypair-list
+----------+-------------------------------------------------+
| Name | Fingerprint |
+----------+-------------------------------------------------+
| demo-key | 8b:73:1d:01:76:5d:85:77:0b:c4:fb:0c:97:d0:4b:d7 |
+----------+-------------------------------------------------+
[root@controller ~]# 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@controller ~]# nova image-list
+--------------------------------------+---------------------+--------+--------+
| ID | Name | Status | Server |
+--------------------------------------+---------------------+--------+--------+
| 8c030990-f828-4109-9b08-76f1057e145a | cirros-0.3.2-x86_64 | ACTIVE | |
+--------------------------------------+---------------------+--------+--------+
[root@controller ~]# neutron net-list
+--------------------------------------+----------+-----------------------------------------------------+
| id | name | subnets |
+--------------------------------------+----------+-----------------------------------------------------+
| 37e7c14d-1c8f-483d-be86-ed9081ba4131 | demo-net | 8519df59-54fa-4441-99da-a5fa7bba5b36 192.168.1.0/24 |
| 742c3506-8c38-4349-bb0b-740f8d593a5b | ext-net | 3f222bbf-617a-406d-86b1-30ec897a065d 10.16.114.0/24 |
+--------------------------------------+----------+-----------------------------------------------------+
[root@controller ~]# nova secgroup-list
+--------------------------------------+---------+-------------+
| Id | Name | Description |
+--------------------------------------+---------+-------------+
| dbfc7446-c08a-4497-b1a6-64cefc2646f0 | default | default |
+--------------------------------------+---------+-------------+
[root@controller ~]# nova boot --flavor m1.tiny --image cirros-0.3.2-x86_64 --nic net-id=37e7c14d-1c8f-483d-be86-ed9081ba4131 --security-group default --key-name demo-key demo-instance1
+--------------------------------------+------------------------------------------------------------+
| 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-00000001 |
| 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 | tLrb9J9UEteD |
| config_drive | |
| created | 2014-06-09T09:36:41Z |
| flavor | m1.tiny (1) |
| hostId | |
| id | 7617403b-d0fe-41c1-b35b-929f8c519808 |
| image | cirros-0.3.2-x86_64 (8c030990-f828-4109-9b08-76f1057e145a) |
| key_name | demo-key |
| metadata | {} |
| name | demo-instance1 |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| security_groups | default |
| status | BUILD |
| tenant_id | 7fa0b1e3152c4082a876f6dcd28d5e15 |
| updated | 2014-06-09T09:36:42Z |
| user_id | f9ebab09cbe1446fb07229f9ba53edad |
+--------------------------------------+------------------------------------------------------------+
always BUILD or error 。。。。
[root@controller ~]# nova list
+--------------------------------------+----------------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+----------------+--------+------------+-------------+----------+
| 7617403b-d0fe-41c1-b35b-929f8c519808 | demo-instance1 | BUILD OR ERROR | - | NOSTATE | |
+--------------------------------------+----------------+--------+------------+-------------+----------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1328872/+subscriptions