[OpenStack-Infra] [third-party][openstack][CI] Examples required for "single_node_ci_data.yaml" config file

Asselin, Ramy ramy.asselin at hpe.com
Tue May 10 17:53:26 UTC 2016


It’s documented here:
http://docs.openstack.org/infra/openstackci/third_party_ci.html#configure-masterless-puppet

“Modify /etc/puppet/environments/common.yaml as you need using the parameter documentation described in single_node_ci.pp or logserver.pp. These are the top level puppet class that is used in site.pp.”

Which links to: http://git.openstack.org/cgit/openstack-infra/puppet-openstackci/tree/manifests/single_node_ci.pp#n104
“# [*oscc_file_contents*]
#   The multi-line contents of os-client-config.
#   This allows the nodepool.yaml file provided to not contain any sensitive
#   provider passwords. See configuration guide for more details:
#   https://git.openstack.org/cgit/openstack/os-client-config/tree/README.rst
“
Which links to os-client-config README ^^

Patches to improve the documentation are welcome.  Links were intended to avoid copy and paste, but perhaps including a base example or the URL directly in contrib/single_node_ci_data.yaml would be helpful?

Ramy

From: Abhishek Shrivastava [mailto:abhishek at cloudbyte.com]
Sent: Tuesday, May 10, 2016 2:19 AM
To: Bob Ball <bob.ball at citrix.com>
Cc: openstack-infra at lists.openstack.org; openstack at lists.openstack.org
Subject: Re: [OpenStack-Infra] [third-party][openstack][CI] Examples required for "single_node_ci_data.yaml" config file

Thanks a lot for the help Bob :)


On Tue, May 10, 2016 at 2:36 PM, Bob Ball <bob.ball at citrix.com<mailto:bob.ball at citrix.com>> wrote:
You need your own credentials where I put <removed> - I just didn’t want to share my credentials with the whole OpenStack community ☺

Bob

From: Abhishek Shrivastava [mailto:abhishek at cloudbyte.com<mailto:abhishek at cloudbyte.com>]
Sent: 10 May 2016 10:04
To: Bob Ball <bob.ball at citrix.com<mailto:bob.ball at citrix.com>>
Cc: openstack-infra at lists.openstack.org<mailto:openstack-infra at lists.openstack.org>; openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Subject: Re: [OpenStack-Infra] [third-party][openstack][CI] Examples required for "single_node_ci_data.yaml" config file

Thanks Bob,

So just need to put the following in the section without any credentials?

On Tue, May 10, 2016 at 1:35 PM, Bob Ball <bob.ball at citrix.com<mailto:bob.ball at citrix.com>> wrote:
Hi Abishek,

I use the following which works well:
oscc_file_contents: |
                    # Do Not Edit - Generated & Managed by Puppet
                    clouds:
                        rax:
                            profile: rackspace
                            regions:
                                - IAD
                                - ORD
                                - DWF
                            auth:
                                username: <removed>
                                password: <removed>
                                project-id: <removed>
                    #

Then my nodepool config has “cloud: rax” and “region-name: ‘IAD’” instead of any credentials.

Thanks,

Bob

From: Abhishek Shrivastava [mailto:abhishek at cloudbyte.com<mailto:abhishek at cloudbyte.com>]
Sent: 10 May 2016 07:13
To: openstack-infra at lists.openstack.org<mailto:openstack-infra at lists.openstack.org>; openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Subject: [OpenStack-Infra] [third-party][openstack][CI] Examples required for "single_node_ci_data.yaml" config file

Hi Folks,

I have been configuring the new OpenStack CI and was not able to figure out what exactly needed to be put in the section "oscc_file_contents:". So, if anyone has done the configuration and is running the new OpenStack CI please let me know what to put in the configuration.

Also, need to know how to add slaves to Jenkins using the Nodepool images.

--
[https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ]
Thanks & Regards,
Abhishek
Cloudbyte Inc.<http://www.cloudbyte.com>



--
[https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ]
Thanks & Regards,
Abhishek
Cloudbyte Inc.<http://www.cloudbyte.com>



--
[https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ]
Thanks & Regards,
Abhishek
Cloudbyte Inc.<http://www.cloudbyte.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20160510/e2bff8c5/attachment-0001.html>


More information about the OpenStack-Infra mailing list