[Crowbar] failed to apply proposals in crowbar 1.2

Justin Shepherd jshepher at rackspace.com
Wed Jan 4 21:18:05 CST 2012


From the admin node can you run the following command (as the crowbar user, not root):

sudo -i -u root -- ssh root at d00-50-56-a5-00-0d.openstack.org<http://d00-50-56-a5-00-0d.openstack.org/> whoami

--shep

On Jan 4, 2012, at 9:06 PM, <Lu.YJ at inventec.com<mailto:Lu.YJ at inventec.com>>
 <Lu.YJ at inventec.com<mailto:Lu.YJ at inventec.com>> wrote:

In the admin node (192.168.124.10):
1.      The resolv.conf pointing to the admin node is correct:
# cat /etc/resolv.conf
search openstack.org<http://openstack.org>
nameserver 192.168.124.10
2.      named server is running:
(1)   # cat /var/run/named/named.pid
21685
(2)   # service bind9 status
bind9 is running
3.      All the binding of FQDN and ip are correct:
# cat /etc/bind/hosts
192.168.124.10 admin.openstack.org<http://admin.openstack.org> admin.admin.openstack.org<http://admin.admin.openstack.org>
192.168.124.162 bmc.admin.openstack.org<http://bmc.admin.openstack.org>
192.168.124.81 d00-50-56-a5-00-0d.openstack.org<http://d00-50-56-a5-00-0d.openstack.org> admin.d00-50-56-a5-00-0d.openstack.org<http://admin.d00-50-56-a5-00-0d.openstack.org>
192.168.124.163 bmc.d00-50-56-a5-00-0d.openstack.org<http://bmc.d00-50-56-a5-00-0d.openstack.org>

BTW, I deploy crowbar admin node by executing “install admin.openstack.org” in dir /tftpboot/ubuntu_dvd/extra/“
From: Victor_Lowther at Dell.com<mailto:Victor_Lowther at Dell.com> [mailto:Victor_Lowther at Dell.com]
Sent: Wednesday, January 04, 2012 11:53 PM
To: Lu, YJ (盧盈志 TAO); crowbar at lists.us.dell.com<mailto:crowbar at lists.us.dell.com>
Subject: RE: [Crowbar] failed to apply proposals in crowbar 1.2

Off the top of my head, that sounds like it could be a few of things. In order of likelihood:

1: /etc/resolv.conf is not pointing to the admin node for whatever reason.
2: named is not running on the admin node.
3: Named is running, and it can somehow talk to the real Internet and is horribly confused by the real openstack.org<http://openstack.org>.


From: crowbar-bounces On Behalf Of Lu.YJ at inventec.com<mailto:Lu.YJ at inventec.com>
Sent: Wednesday, January 04, 2012 12:59 AM
To: crowbar
Subject: [Crowbar] failed to apply proposals in crowbar 1.2

Hi all,

There is the issue described below. How to resolve it?

Issue: Failed to apply the proposal

Reproduce steps:
1.      Finish to install crowbar admin node (a VM) with openstack111219.iso (crowbar 1.2)
2.      Launch a node (a VM) to ready state (the node: d00-50-56-a5-00-0d.openstack.org<http://d00-50-56-a5-00-0d.openstack.org>)
3.      Create a proposal (with node d00-50-56-a5-00-0d) to mysql barclamp then apply it in crowbar web UI.
4.      Appear the error message “Failed to apply the proposal to: d00-50-56-a5-00-0d.openstack.org”

Root cause:
Could not resolve hostname d00-50-56-a5-00-0d.openstack.org<http://d00-50-56-a5-00-0d.openstack.org>
1.      View the log file d00-50-56-a5-00-0d.openstack.org.chef_client.log below in /opt/dell/crowbar_framework/log in the admin node
stdin: is not a tty
ssh: Could not resolve hostname d00-50-56-a5-00-0d.openstack.org<http://d00-50-56-a5-00-0d.openstack.org>: Temporary failure in name resolution
stdin: is not a tty
ssh: Could not resolve hostname d00-50-56-a5-00-0d.openstack.org<http://d00-50-56-a5-00-0d.openstack.org>: Temporary failure in name resolution

Workaround:
Can work around the issue by adding “192.168.124.81 d00-50-56-a5-00-0d.openstack.org<http://d00-50-56-a5-00-0d.openstack.org> d00-50-56-a5-00-0d” to “/etc/hosts” in the admin node

YJ
_______________________________________________
Crowbar mailing list
Crowbar at dell.com<mailto:Crowbar at dell.com>
https://lists.us.dell.com/mailman/listinfo/crowbar
For more information: https://github.com/dellcloudedge/crowbar/wiki

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/crowbar/attachments/20120105/355690f1/attachment-0001.html 


More information about the Crowbar mailing list