932 Commits

Author SHA1 Message Date
Jenkins
6ec9b65a19 Merge "Move statusbot_auth_nicks to hiera" 2016-03-10 20:59:13 +00:00
Jenkins
af4435ef99 Merge "Decouple openstack_project::server from puppetdb class" 2016-03-10 15:29:03 +00:00
Clark Boylan
ec6d3dc206 Add vexxhost cloud credentials
Add vexxhost account credentials to our various clouds.yaml files. This
covers the all clouds, ansible, and nodepool clouds.yaml files. With
this in place we can work to deploying tests onto vexxhost.

Change-Id: I42101e9acc9f62897a3f63b85dd34a14adcf2394
2016-03-01 15:36:35 -08:00
Clark Boylan
65b26d95fe Add OSIC clouds.yaml details
This adds clouds.yaml information to our three clouds.yaml files for our
two users in the OSIC cloud. This will let us manage the OSIC cloud
resources and start deploying tests to OSIC with nodepool.

Change-Id: I5a392d165fb6db2e70036008a55cd99eed237ab4
2016-02-29 19:07:22 -08:00
Paul Belanger
ea878ef673 Allow TCP/80 on controllers
We need to open the firewall to allow access of our log files.

Change-Id: Ifb8469c737766bd7f1b147f733444c2185bfa47f
Depends-On: I569b4fc58bae8aba4d3451f9eb544304cef89e5d
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-02-26 11:58:52 -05:00
Jenkins
2ae680ad46 Merge "Add definition for controller hpuseast" 2016-02-26 14:30:39 +00:00
Yolanda Robla
36d489b2e1 Add definition for controller hpuseast
Change-Id: Ib46285f05761993e62594ee6d554691faeccbb32
2016-02-26 15:07:46 +01:00
Jenkins
041f77a3ef Merge "Send the network parameters to infracloud controller" 2016-02-26 05:22:54 +00:00
Jenkins
fd87ff30b6 Merge "Add Infra Cloud compute node definition" 2016-02-26 02:35:19 +00:00
Yolanda Robla
656bc517e9 Send the network parameters to infracloud controller
Also send the default values for west, to be sure
that settings are properly applied.

Change-Id: Ie332bf2b9970be02311bf76888c28d25249abf61
2016-02-26 03:29:56 +01:00
Jenkins
f17a11a243 Merge "Remove iptables rule for port 80 in baremtal" 2016-02-26 01:51:37 +00:00
Jenkins
c47d6191b1 Merge "wg_captchaquestions should be a hash for mediawiki" 2016-02-26 01:21:34 +00:00
Jenkins
ce2121fd2b Merge "Add baremetal hpuseast node definition" 2016-02-25 21:57:25 +00:00
Jenkins
98c837faf4 Merge "Don't purge apt sources on infracloud" 2016-02-25 21:56:15 +00:00
Jenkins
1831c7a7db Merge "Use SSL for rabbitmq" 2016-02-25 20:54:41 +00:00
Ricardo Carrillo Cruz
30d1118e2f Remove iptables rule for port 80 in baremtal
We don't serve any HTTP content on the baremetal nodes, no need
to enable it.

Change-Id: I757dcee5d96cb140d5469d5c8c633d27b392c6a1
2016-02-25 18:50:42 +01:00
Yolanda Robla
d4f9af56dc Add baremetal hpuseast node definition
Add definition for nodes on hp us east. Including
yaml static inventory.

Change-Id: I6f6d605baa18172ddae7adad04c86f4ac21fdb99
2016-02-25 18:46:57 +01:00
Yolanda Robla
be5700416c Add Infra Cloud compute node definition
Add definition for compute nodes in the hpuseast region.

Change-Id: I75b0abcd0401588033f681e77bcc07a442422fa4
2016-02-25 18:18:42 +01:00
Jenkins
a3620649c2 Merge "Create openstackjenkins and openstackci users on infracloud" 2016-02-25 16:20:40 +00:00
Paul Belanger
e1451e25ab wg_captchaquestions should be a hash for mediawiki
Here we are updating our defaults to have hiera store our question /
answers for mediawiki captcha.

Change-Id: Iff0c326401ed9a4c3b40f8d43826603e599dc4a4
Depends-On: I102ff6991831901c578dab4107b0c23245da9d4b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-02-24 22:39:23 +00:00
Colleen Murphy
e203232abc Don't purge apt sources on infracloud
Without this change, puppetting an infracloud machine from scratch
results in an error[1]. The order of events that causes this issue is:

1) Puppet purges /etc/apt/sources.list, removing all of apt's knowledge
   of other sources
2) Puppet creates /etc/apt/sources.list.d/openstack-infra.list, but
   this will have no effect on apt's knowledge of other sources until
   an apt-get update is run
3) The puppet-openstack_extras module runs an exec to install the
   ubuntu-cloud-keyring package. (This is done with an exec type rather
   than a package type because it needs to be run before
   Exec['apt_update'] which is defined in the puppetlabs-apt module.)
   Since apt at this point knows of no apt sources in the world, it
   fails to find the package.
4) Apt-get update is run and the world is right again, so subsequent
   puppet runs or manual installs of ubuntu-cloud-keyring are
   confusingly successful.

A potential fix for this is to create another exec resource that runs
apt-get update after adding openstack-infra.list but before installing
ubuntu-cloud-keyring, after which apt-get update will run once again.
This is inefficient and ugly. Since on these particular nodes we
control the base images, and the default apt sources list is sane and
matches what we have set in openstack-infra.list anyway, we can just
disable the purging of the original sources.list and there will no
longer be any point during which apt has no sources.

[1] http://paste.openstack.org/show/488079/

Change-Id: I2cb375979d55e612fe8acc4cc7abdd393f39c2b9
2016-02-24 10:50:08 -08:00
Jenkins
e00d2f1dec Merge "Puppetize wiki.o.o settings" 2016-02-24 18:45:07 +00:00
Paul Belanger
6b69367cab Puppetize wiki.o.o settings
This should be a noop change, we are just moving the settings into
puppet.

Change-Id: Ic533a5fb125125e9791c40312318be79cbbe4826
Depends-On: I1ad6da353c25aed8976806f00cc39d6c3c93e7ae
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-02-24 12:13:23 -05:00
Ricardo Carrillo Cruz
0a70f45f84 Create openstackjenkins and openstackci users on infracloud
Create the needed users on the pertinent projects

Change-Id: I151a9bdcbea233a4819d995b4287537a10c8a0fd
2016-02-23 23:07:46 +01:00
Clark Boylan
2207a1ac2b Put infracloud cert next to nodepool clouds.yaml
We are installing a cert to trust the infracloud but were trying to put
it in a dir that does not exist. Put it next to the clouds.yaml in
~nodepool/.config/openstack as that will exist because nodepool consumes
clouds.yaml from there.

Change-Id: I27e1a1d340e9864308c89c660ae014d7110fbe9f
2016-02-23 13:02:49 -08:00
Jenkins
9288fed03c Merge "Add baremetal hpuswest node definition" 2016-02-23 20:16:05 +00:00
Colleen Murphy
3d45fe1635 Add baremetal hpuswest node definition
Add definition for baremetal nodes for hpuswest, plus a script to
one-time enroll and deploy nodes in bifrost.

Co-Authored-By: Clint Byrum <clint@fewbar.com>
Co-Authored-By: greghaynes <greg@greghaynes.net>
Co-Authored-By: Yolanda Robla <info@ysoft.biz>

Depends-On: I949344c16cf9ee3965b0bc96850eb208ac65b168
Change-Id: I947add7e8e8aa88fe6e881d77fd3278910b3b903
2016-02-23 11:00:41 -08:00
Jenkins
65c65fd78f Merge "Add omfracloud to nodepool" 2016-02-23 18:03:56 +00:00
Spencer Krum
0d23018f0e Add omfracloud to nodepool
This adds the omfracloud jenkins account credentials to nodepool.
I'm not pleased with the file resource in the node definition, but that
node definiton grew huge and needs a refactor anyways so we can do that
when we do it.

I have verified that the correct keys are in hiera.

Change-Id: Iafca5e86f72321c6aa7bef748ac2b1942539d15f
2016-02-23 08:47:02 -08:00
Spencer Krum
f7cb9c3108 Add OmfraCloud to puppetmaster_clouds
I have verified the hiera settings. Omfracloud uses a self-signed cert,
so vendor in the CA file.

Change-Id: I8b5b2d1c2bb8a9f808a6ea8e5134cb17da8ee133
2016-02-23 17:12:22 +01:00
Spencer Krum
87585f78e7 Move statusbot_auth_nicks to hiera
Follow the same pattern as channels
Depends-On: Ief0848ac8e2f2132455c07c0e5d113c7b3def5ca

Change-Id: I1f10e74e9b9571b6b90dea75c8319243f368f975
2016-02-21 11:33:41 -08:00
Colleen Murphy
129aef59a4 Use SSL for rabbitmq
Avoid using the private management address for rabbitmq, which was the
only service using this address, and instead use the public address
with SSL for security.

Change-Id: I6a00fed66dc8f3202ff31b6905011cfd95b528b8
Depends-On: I5a25a5e4aa70db66db2d9331d7f5e4ac8b785002
2016-02-20 20:43:22 -08:00
Spencer Krum
1c75db64a6
Add hpuswest public certificate to public hiera
Change-Id: I131b7e2badfe0a5ad1c1fd2248d3375cd7c4571c
Signed-off-by: Spencer Krum <nibz@spencerkrum.com>
2016-02-19 15:58:46 -08:00
Colleen Murphy
61ed3e5198 Update InfraCloud SSL configuration
Update the system-config manifest to support the simplifying changes
made in the puppet-infracloud module.

This patch will require updates to hiera. We need keys
hpuswest_ssl_cert_file_contents and ssl_key_file_contents added, and
hpuswest_ssl_cert_file_contents must be in the 'infracloud' hiera group
since it is shared to the compute nodes.

Change-Id: I39c70b1077e8b467e0a7e123a694d037ffc77f7a
Depends-On: Ibeea608e965e58c496a95b2f02a4bf6b13e15f0e
2016-02-19 19:58:42 +00:00
Yolanda Robla
1817780513 Send keystone_rabbit_password parameter
We cannot use default guest/guest as it has been disabled
on our rabbit. So we need to generate a pass in hiera for that,
and pass it properly to the manifest.

Change-Id: I407119383b232f07888dc9821771f1ece383a431
Depends-On: I9582d68ca93f2f7b5742523e273ebf6b5a9c0c13
2016-02-10 17:15:03 +01:00
Jenkins
c3cbaa0f43 Merge "Add Infra Cloud compute node definition" 2016-02-09 00:31:42 +00:00
Jenkins
9313e79635 Merge "Add Infra Cloud controller node" 2016-02-09 00:20:17 +00:00
Colleen Murphy
f2b367a735 Add Infra Cloud compute node definition
Add definition for compute nodes in the hpuswest region.

Change-Id: I9bce2a37d427558ba7a59fc6bc9edfd62edeac45
2016-02-08 15:17:41 -08:00
Colleen Murphy
d3cc13127b Add Infra Cloud controller node
Add a node definition for controller nodes in the hpuswest region.

Change-Id: I55666098335f26d24f0351cc6f3259fa055eb65b
2016-02-08 15:17:41 -08:00
Jenkins
75abc5bc4b Merge "Removed pypi.<region> mirror manifests" 2016-02-08 17:53:04 +00:00
Jenkins
6b15593b6b Merge "Add AFS apt mirror" 2016-02-05 19:22:42 +00:00
Monty Taylor
f1c86c66a3 Add AFS apt mirror
The reprepro class in this is in-tree rather than in its own module
purely for ease of getting started. It's also highly hard-coded rather
than flexible.

This change will need a mirror.apt volume and service/reprepro principal
and keytab to be created before it lands.

Allow for pool trimming after a 2 hour delay. Each devstack run of
apt-get update should be able to be assumed to be valid for the length
of the devstack. For that reason, only delete files that are
unreferenced during the subsequent mirror run, ensuring at least a 2
hour delay between becoming unreferenced and going away.

Local testing indicates that a trusty mirror is 86G.

Change-Id: I84f6a0391f80e6bf567c4bfc18a41bd270fe8c01
2016-02-05 10:50:04 -06:00
James E. Blair
e40954a97f Create afs-admin hiera group
For mirror-update and release.slave, both of which need the
afsadmin keytab.

Change-Id: I1aade3d383ccdbe244ae523838a93bf24410495e
2016-02-04 12:05:32 -08:00
Michael Krotscheck
13d54fdc05 Add AFS and Admin keytab to release slave.
This patch adds AFS, and the admin keytab, to our release slave,
so that we may execute `vos release` when a mirror update
is requested.

Change-Id: I9c8531304fb74b9bafca85d58b5e9c1c0bc21f6a
2016-02-01 15:09:11 -08:00
Michael Krotscheck
320dd74280 Added AFS keytab to wheel slave
This adds a hiera-loaded keytab for the wheel slaves. It may
be used when writing wheels to the AFS share directory.

Note: This will require the creation of a keytab for the
wheel mirror, as well as appropriate folders and access rights
on AFS.

Change-Id: I81c39d420d8ac70def57949ea0d4c323b8797086
2016-02-01 15:09:11 -08:00
Michael Krotscheck
ea17fc43a6 Added afs to wheel mirror slaves
This removes the SSH keys from the wheel mirror slaves, and
replaces them with the AFS share. It does not yet add afs
credentials. As we have not yet provisioned our wheel slaves,
no manual updates of the servers should be required.

Hiera keys for the previous approach should be removed.

Change-Id: Ifebf5d53d80e934674704078f7dd675f77aef5aa
2016-02-01 15:09:10 -08:00
Michael Krotscheck
f52b1d19bb Removed pypi.<region> mirror manifests
With the new mirrors now in use, we can safely remove these.

Change-Id: Ie99c7f66a3678f4b28364dabb930a9ca464575a7
2016-02-01 15:05:51 -08:00
Jenkins
17a7269427 Merge "Add nibalizer to statusbot nicks" 2016-01-30 11:27:35 +00:00
Spencer Krum
73f6e1e366 Add nibalizer to statusbot nicks
Change-Id: I51a6502f5496cce0a46a835cb59b039401416b96
2016-01-29 13:27:54 -08:00
Jenkins
8bdd76ec9c Merge "Provide separate nodepool builder log config" 2016-01-29 19:14:51 +00:00