[openstack-dev] [OpenStack-Infra] [ThirdPartyCI] Need help setting up CI

Patrick East patrick.east at purestorage.com
Fri Jan 9 20:00:54 UTC 2015


Thanks for the links!

After digging around in my configs I figured out the issue, I had a typo in
my JENKINS_SSH_PUBLIC_KEY_NO_WHITESPACE (copy pasta cut off a
character...). But I managed to put the right one in the key for nova to
use so it was able to log in to set up the instance, but didn't end up with
the right thing in the NODEPOOL_SSH_KEY variable.

-Patrick

On Fri, Jan 9, 2015 at 9:25 AM, Asselin, Ramy <ramy.asselin at hp.com> wrote:

>
>
> Regarding SSH Keys and logging into nodes, you need to set the
> NODEPOOL_SSH_KEY variable
>
> 1.       I documented my notes here
> https://github.com/rasselin/os-ext-testing-data/blob/master/etc/nodepool/nodepool.yaml.erb.sample#L48
>
> 2.       This is also documented ‘officially’ here:
> https://github.com/openstack-infra/nodepool/blob/master/README.rst
>
> 3.       Also, I had an issue getting puppet to do the right thing with
> keys, so it gets forced here:
> https://github.com/rasselin/os-ext-testing/blob/master/puppet/install_master.sh#L197
>
>
>
> Ramy
>
>
>
> *From:* Eduard Matei [mailto:eduard.matei at cloudfounders.com]
> *Sent:* Friday, January 09, 2015 8:58 AM
> *To:* OpenStack Development Mailing List (not for usage questions)
> *Subject:* Re: [openstack-dev] [OpenStack-Infra] [ThirdPartyCI] Need help
> setting up CI
>
>
>
> Thanks Patrick,
>
> Indeed it seems the cloud provider was setting up vms on a bridge whose
> eth was DOWN so the vms could not connect to the outside world so the
> prepare script was failing.
>
> Looking into that.
>
>
>
> Thanks,
>
>
>
> Eduard
>
>
>
> On Fri, Jan 9, 2015 at 6:44 PM, Patrick East <patrick.east at purestorage.com>
> wrote:
>
>  Ah yea, sorry, should have specified; I am having it run
> the prepare_node_devstack.sh from the infra repo. I see it adding the same
> public key to the user specified in my nodepool.yaml. The strange part (and
> I need to double check.. feel like it can't be right) is that on my master
> node the nodepool users id_rsa changed at some point in the process.
>
>
>
>
>   -Patrick
>
>
>
> On Fri, Jan 9, 2015 at 8:38 AM, Jeremy Stanley <fungi at yuggoth.org> wrote:
>
> On 2015-01-09 08:28:39 -0800 (-0800), Patrick East wrote:
> [...]
> > On a related note, I am having issues with the ssh keys. Nodepool
> > is able to log in to the node to set up the template and create an
> > image from it, but then fails to log in to a build node. Have you
> > run into any issues with that?
>
> Your image build needs to do _something_ to make SSH into the
> resulting nodes possible. We accomplish that by applying a puppet
> manifest which sets up an authorized_keys file for the account we
> want it to use, but there are countless ways you could go about it
> in your environment.
> --
> Jeremy Stanley
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
>
>
> --
>
> *Eduard Biceri Matei, Senior Software Developer*
>
>  www.cloudfounders.com
>
>  | eduard.matei at cloudfounders.com
>
>
>
>
>
>
>
>  *CloudFounders, The Private Cloud Software Company*
>
>
>
>  Disclaimer:
>
>  This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.
> If you are not the named addressee or an employee or agent responsible for delivering this message to the named addressee, you are hereby notified that you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this email in error we request you to notify us by reply e-mail and to delete all electronic files of the message. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
> E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the content of this message, and shall have no liability for any loss or damage suffered by the user, which arise as a result of e-mail transmission.
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150109/3f797c8b/attachment.html>


More information about the OpenStack-dev mailing list