Icehouse: Launch Instance fails using the heat

asked 2014-06-22 20:33:24 -0600

agenge gravatar image

updated 2014-06-22 20:34:02 -0600

When I start a separate VM, everything is normal, but also to get to the metadata.

If you start a virtual machine with heat, will stop in the following steps:

   Cloud-init v. 0.7.4 running 'init' at Mon, 23 Jun 2014 01:18:42 +0000. Up 46.42 seconds.
ci-info: ++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++
ci-info: +--------+------+--------------+---------------+-------------------+
ci-info: | Device |  Up  |   Address    |      Mask     |     Hw-Address    |
ci-info: +--------+------+--------------+---------------+-------------------+
ci-info: |   lo   | True |  127.0.0.1   |   255.0.0.0   |         .         |
ci-info: |  eth0  | True | 192.168.1.30 | 255.255.255.0 | fa:16:3e:d5:41:8f |
ci-info: +--------+------+--------------+---------------+-------------------+
ci-info: +++++++++++++++++++++++++++++++Route info++++++++++++++++++++++++++++++++
ci-info: +-------+-------------+-------------+---------------+-----------+-------+
ci-info: | Route | Destination |   Gateway   |    Genmask    | Interface | Flags |
ci-info: +-------+-------------+-------------+---------------+-----------+-------+
ci-info: |   0   | 192.168.1.0 |   0.0.0.0   | 255.255.255.0 |    eth0   |   U   |
ci-info: |   1   |   0.0.0.0   | 192.168.1.1 |    0.0.0.0    |    eth0   |   UG  |
ci-info: +-------+-------------+-------------+---------------+-----------+-------+

My environment: Ubuntu 14.04 LTS, Icehouse. 3 nodes(one controller, one computer, one network) Neutron: GRE + Openvswitch

heat-template: https://github.com/agenge/heat-templates/blob/master/hot/F20/WordPress_Native.yaml (https://github.com/agenge/heat-templa...)

Please help. thanks.

edit retag flag offensive close merge delete

Comments

From your post, I see no errors in the instance created. I think the instance state should be ACTIVE. If it is ERROR, please take a look at /var/log/heat/heat-engine.log. From here, you will need to go to the respective OpenStack module log to see the actual problem.

KunalTPatil gravatar imageKunalTPatil ( 2014-06-23 01:36:47 -0600 )edit

Thank you Reply。Yes, The instance state is ACTIVE. but /var/log/heat/heat-engine.log No error,Create a stack success.

agenge gravatar imageagenge ( 2014-06-23 01:56:24 -0600 )edit

So there was no problem. On the console, try and hit ENTER to get the login prompt. Also, try and ssh into the VM after assigning it a floating IP. I believe you should be able to.

KunalTPatil gravatar imageKunalTPatil ( 2014-06-23 02:21:02 -0600 )edit

I've tried. However, no response! and can ping, But can not ssh,Because the ssh service has not yet started.

agenge gravatar imageagenge ( 2014-06-23 02:33:30 -0600 )edit

What does the console log for the instance say?

fifieldt gravatar imagefifieldt ( 2014-06-23 03:44:39 -0600 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2014-06-23 09:12:27 -0600

agenge gravatar image
Press any key to continue.
?%G     Welcome to CentOS 
Starting udev: %G[  OK  ]
Setting hostname localhost.localdomain.localdomain:  [  OK  ]
Setting up Logical Volume Management:   No volume groups found
[  OK  ]
Checking filesystems
Checking all file systems.
[/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/vda1 
/dev/vda1: clean, 20973/655360 files, 259525/2621184 blocks
[  OK  ]
Remounting root filesystem in read-write mode:  [  OK  ]
Mounting local filesystems:  [  OK  ]
Enabling /etc/fstab swaps:  [  OK  ]
Entering non-interactive startup
ip6tables: Applying firewall rules: [  OK  ]
Bringing up loopback interface:  [  OK  ]
Bringing up interface eth0:  
Determining IP information for eth0... done.
[  OK  ]
Starting auditd: [  OK  ]
Starting system logger: [  OK  ]
Mounting filesystems:  [  OK  ]
Retrigger failed udev events[  OK  ]
Adding udev persistent rules[  OK  ]
Starting cloud-init: /usr/lib/python2.6/site-packages/cloudinit/url_helper.py:40: UserWarning: Module backports was already imported from /usr/lib64/python2.6/site-packages/backports/__init__.pyc, but /usr/lib/python2.6/site-packages is being added to sys.path
  import pkg_resources
Cloud-init v. 0.7.4 running 'init-local' at Mon, 23 Jun 2014 13:22:34 +0000. Up 32.48 seconds.
Starting cloud-init: /usr/lib/python2.6/site-packages/cloudinit/url_helper.py:40: UserWarning: Module backports was already imported from /usr/lib64/python2.6/site-packages/backports/__init__.pyc, but /usr/lib/python2.6/site-packages is being added to sys.path
  import pkg_resources
Cloud-init v. 0.7.4 running 'init' at Mon, 23 Jun 2014 13:22:37 +0000. Up 35.18 seconds.
ci-info: ++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++
ci-info: +--------+------+--------------+---------------+-------------------+
ci-info: | Device |  Up  |   Address    |      Mask     |     Hw-Address    |
ci-info: +--------+------+--------------+---------------+-------------------+
ci-info: |   lo   | True |  127.0.0.1   |   255.0.0.0   |         .         |
ci-info: |  eth0  | True | 192.168.1.45 | 255.255.255.0 | fa:16:3e:10:a5:14 |
ci-info: +--------+------+--------------+---------------+-------------------+
ci-info: +++++++++++++++++++++++++++++++Route info++++++++++++++++++++++++++++++++
ci-info: +-------+-------------+-------------+---------------+-----------+-------+
ci-info: | Route | Destination |   Gateway   |    Genmask    | Interface | Flags |
ci-info: +-------+-------------+-------------+---------------+-----------+-------+
ci-info: |   0   | 192.168.1.0 |   0.0.0.0   | 255.255.255.0 |    eth0   |   U   |
ci-info: |   1   |   0.0.0.0   | 192.168.1.1 |    0.0.0.0    |    eth0   |   UG  |
ci-info: +-------+-------------+-------------+---------------+-----------+-------+
edit flag offensive delete link more

Comments

How to solve this problem? thanks.

agenge gravatar imageagenge ( 2014-06-24 07:33:35 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-06-22 20:33:24 -0600

Seen: 286 times

Last updated: Jun 23 '14