Oğuz,

I recommend that you do all building as a non-privileged use, not as root.  In 
/etc/sudoers place the following entry:

ALL         ALL=(ALL) NOPASSWD: ALL

That way all commands that are used during the build process that require root 
privilege will be executable, but that that don’t will not.  Also, it means 
that the non-privileged users’ ssh key will be capable of being passed to the 
admin node if you launch it via the KVM test harness.

I use the following build and test command line instruction:
./dev build --os Ubuntu-12.04 --update-cache --test develop-mode

This builds the ISO, launches and installs the admin node. When the admin node 
reboots after OS installation, you should be able to log in by:
ssh [email protected]<mailto:[email protected]>


-        John T.
From: crowbar-bounces On Behalf Of Oguz Yarimtepe
Sent: Wednesday, January 29, 2014 8:16 AM
To: crowbar
Subject: [Crowbar] building with root question

Hi,
I ran all commands as a root user while building the iso. Although eveything 
worked fine, now the nodes are not being able to be discovered. There are 
booted up but are not abel to communicate with admin node over ssh. Seems there 
is a ssh key issue. Below is the output of auth.log at the admin node.

Jan 29 16:12:04 crowbar sshd[4514]: Connection closed by 10.236.9.10 [preauth]

So the question is running dev tools and building sledge_hammer.sh as root, 
does it have a side effect? Any idea what can be the reason my my problem?

--
Oğuz Yarımtepe
http://about.me/oguzy
_______________________________________________
Crowbar mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/crowbar
For more information: http://crowbar.github.com/

Reply via email to