Commit Graph

167 Commits

Author SHA1 Message Date
Monty Taylor 0568a3e20c Retire repo
Depends-On: https://review.opendev.org/720892
Change-Id: Iac68bd9001ef9d0bd70492d7e28e115b4f9d3ed7
2020-04-22 10:19:06 -05:00
OpenDev Sysadmins 121afc07bd OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:25:38 +00:00
Ian Wienand 4997cc3b9e Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ic8d24b79e09e75a2b2a2397012a1e2218a8c49b6
2019-03-24 20:35:39 +00:00
Colleen Murphy d952cbc6c9 Update Gemfile for Zuulv3
The logic in the Gemfile was relying on Zuulv2 variables to find out
whether the spec helper gem was already available on disk, and since
Zuulv3 has changed things it was failing to find it and downloading the
master version instead. This patch ensures the Gemfile looks for the gem
in the right place when running in CI.

Change-Id: I930aa7160e76e2cfdaa1eabd477f5d3f6ad9970a
2018-07-12 09:57:44 +02:00
Colleen Murphy 37318a742e Depend on helper gem for spec_helper_acceptance
Instead of keeping a local copy of spec_helper_acceptance.rb and
requiring updates to all modules for any change, we can move it into the
common helper gem and require it from there. This will make it easier to
create and review changes that affect all puppet modules. Also change
the Gemfile to look for the gem in the local workspace if running in a
zuul environment.

Change-Id: Ieb3cc87333ca243fa3d74e8afa573895dfaf604b
2017-08-18 10:41:43 +02:00
Paul Belanger 6a10fc12d4 Remove dns_servers from provider-subnet-infracloud
Because of the way glean works, we don't actually need to have a DNS
server setup to boot our images. In this case, it is actually
problematic for centos-7, because glean overwrites our
/etc/resolv.conf file.

Change-Id: Ie81bc593ac3257021e0636b6c111c37e8b87b747
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-08-10 19:52:56 -04:00
Colleen Murphy ebcf33c92a Fix beaker on xenial
This patch adds a xenial nodeset and updates the spec helper to install
puppet 3 from the Ubuntu repos instead of from puppetlabs. However, it
ultimately disables the tests on xenial because neither the Ubuntu Cloud
Archive[1] nor the Puppet-OpenStack modules support mitaka on xenial. We
will need to plan our xenial upgrade and OpenStack upgrade at the same
time and reenable xenial testing when we are ready for the OpenStack
upgrade.

[1] http://ubuntu-cloud.archive.canonical.com/ubuntu/dists/xenial-updates/

Change-Id: I3b7c2c83d6a20907de4b69fe6fcd4c59a5052d23
2017-06-25 15:02:34 +02:00
Paul Belanger 8c73949ded Add bindep.txt file
Bindep is a tool for checking the presence of binary packages needed
to use an application / library. It started life as a way to make it
easier to set up a development environment for OpenStack projects.

Change-Id: I0763d217b5f429675cc7133475355c02c391ceab
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-05-02 13:51:01 +00:00
Paul Belanger 442ddf36ea
Fix puppet-lint job
Lets make our puppet-lint job happy again.

Change-Id: Ib15234192291158f0fe9668e615f7cb8f400918c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-05-02 09:37:46 -04:00
Yolanda Robla Mota c34f350cfe Force deployment image to trusty
Default for ubuntu-minimal has been set to xenial,
and it's causing dhcp-all-interfaces to fail. A bug has been
opened in bifrost for it:
https://bugs.launchpad.net/bifrost/+bug/1641668

Change-Id: I52b9f984e4dd77916c38e8ce8d2aa41c247a66c8
2016-11-14 18:06:17 +01:00
Yolanda Robla Mota 0308967fd8 Add missing restart flag to mysql
If that is not set, it is not picking the max_connection
updates until next restart, causing manifest to fail at
first run.

Change-Id: Ia6ff2700b564801e647b88d68d6a4ecb579b96c1
2016-10-17 15:41:21 +02:00
Yolanda Robla Mota 900fc12950 Allow to parameterize mysql connections
Depending on the cores and memory of the server, this needs
to be parameterized properly or is causing issues on
neutron and nova.

Change-Id: Id5a0e5af031175cc0a9d8b5a3bb97ae4adfbdf1e
2016-10-17 10:12:08 +02:00
Jenkins 374218ac1a Merge "Use right parameter ipv4_gateway" 2016-10-14 09:00:32 +00:00
Yolanda Robla Mota 52fab00daa Use right parameter ipv4_gateway
The external gateway is passed with the parameter
gateway_ip, this ipv4_gateway was the old one, and
hardcoded on the manifest.

Change-Id: I0eb532bf423e45ac683fc6bf23d80699d074bd17
2016-10-13 14:11:47 +02:00
Yolanda Robla Mota ea4520e741 Fix typo in setting dib password
Change-Id: Ifd57b64aca820dfb9df8600316197111a581cec3
2016-10-13 10:29:05 +02:00
Yolanda Robla Mota 7b481ea0a0 fix typo in dhcp static mask
Change-Id: I9e60d16432c8277d5e9cb577ba894c17ee088b1f
2016-10-07 16:05:19 +02:00
Yolanda Robla Mota 724bf44094 Ensure that directories to create bridge are present
Change-Id: I5dc785ad3c8966669ed37db5e3fd34c4f4e87efd
2016-10-06 14:00:21 +02:00
Jenkins a6fb65afd1 Merge "Add option to disable default routes" 2016-10-04 12:36:46 +00:00
Jenkins 1554e2d306 Merge "Get rid of ipv4- prefix when looking for sys-interfaces" 2016-10-04 12:36:41 +00:00
Yolanda Robla Mota d14693bde4 Get rid of ipv4- prefix when looking for sys-interfaces
bifrost is composing network ids with ipv4+mac, while
sys_interfaces is just a dict with mac:nic values.
Get rid of that ipv4 prefix when searching for the right
interface to create the bridge.
We will be trying first to retrieve the original id,
then get rid of ipv4- as a fallback.

Change-Id: I78ac1e6b735cbc2cc120c92f6c9bf1492924f5e4
2016-10-04 14:12:07 +02:00
Yolanda Robla Mota 5df47b8a00 Add option to disable default routes
Our dhcp is just used for pxe boots, and shall not
be adding a default route. Send the right option for bifrost
to disable it.

Change-Id: Id5d1cd02544c8c4c5ce869114299e6681db81b19
2016-10-04 13:08:15 +02:00
Jenkins 7e4bee3724 Merge "Add the ability to pass devuser password to DIB" 2016-10-03 12:07:58 +00:00
Yolanda Robla Mota 2125a34b3e Add the ability to pass devuser password to DIB
This can be useful to debug, when ssh is not available,
but a console can be gained through ILO.

Change-Id: Id1861792a7ca0b3fb87f0a06f96d4d0667f55615
2016-10-03 10:51:54 +02:00
Yolanda Robla Mota 6816096706 Add the ability to configure dhcp_static_mask
It may not be 255.255.255.0 under all environments,
so add the ability to configure it.

Change-Id: I1239fa8a2414febe79fa47e9d4d78b3769eab47e
2016-10-03 10:29:33 +02:00
Jenkins 988c4d7e74 Merge "Add the ability to configure bridge name" 2016-09-28 09:49:30 +00:00
Jenkins 015f4ee71d Merge "Add libselinux-python as a dependency on RHEL" 2016-09-23 16:57:58 +00:00
Yolanda Robla Mota 86371bdb51 Remove not used element
We now rely on glean and create_bridge to configure network,
so remove non used element.

Change-Id: Iee24bd96ab320a046a5b6d0d907e820731998fd8
2016-09-21 10:29:36 +02:00
Yolanda Robla Mota 2fbabecfbf Add the ability to configure bridge name
Naming with dashes is causing issues on CentOS,
because glean is called with interface br/xxx instead
of br-xxx due some naming translation.
Also interface name and vlans can differ on environments,
causing all puppet modules to change their naming. Instead of
depending on vlan or nic to configure bridge name, add the
ability to pass that name as a parameter, and likely set
to br_infracloud on our deployments.
At the moment, leaving the default naming to do not break
existing cloud deployment.

Change-Id: I0790bab2fd63f525e8b9c8d47ee79ea63a72750a
2016-09-21 10:28:04 +02:00
Jenkins bc7b2bdd01 Merge "Don't force images to raw format" 2016-09-20 15:26:25 +00:00
Yolanda Robla Mota 0870346039 Add libselinux-python as a dependency on RHEL
If not, bifrost fails with:
Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!

Change-Id: I8b9cc5996b414362bf86cfa8f0cedd5753981d7b
2016-09-20 17:05:09 +02:00
Paul Belanger 9dc122c3dd
Don't force images to raw format
We upload our images today as qcow2 format, however compute nodes will
force them to raw format. To improve performance when first booting a
node, do bother converting the image to raw format.

Change-Id: I82e16825a90a1a8995b6dd3c8769954e3976a15f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-09-20 09:20:24 -04:00
Yolanda Robla Mota 70f4c4f19e Start parameterizing the network config in bifrost
This doesn't have to be hardcoded in the module, but
parameterized, and ideally shall be configured using
hiera. As an initial step, add the parameters with
default values, to pass tests until the corresponding
change for system-config lands.

Change-Id: Ic1f0368a1cb6c94405a4cb52dec1b83131164035
2016-09-16 16:07:22 +02:00
Yolanda Robla Mota d7040706ba Cleanup not used element
We do not rely anymore on infra-cloud-networking element,
replaced by infra-cloud-bridge. So removing not needed
templates, and files from the manifest.
Also remove global vars for hpuswest, as this is not
used anymore.

Change-Id: Ie05d4c1e5bf5801cf0a3d2dd5cf5203c480ed53e
2016-09-16 12:58:56 +02:00
Yolanda Robla Mota cad3ddc59c Install required packages for infracloud
Current ansible install fails when does not find gcc
or openssl-dev. Add this before calling the ansible class.
Also remove uuid dependency from RHEL as package does
not exist.

Change-Id: I1c9002d669ec8df30ef09b3086f9f5297e032da1
2016-09-16 11:39:53 +02:00
Yolanda Robla Mota b3d0ecb24d fix typo in bridge config for trusty
Change-Id: Ib088b3f961b107d515cd4263ef3b05253fb13db2
2016-09-14 17:14:14 +02:00
Yolanda Robla Mota 0e145fbe7c Add correct path for certificate in compute
Change-Id: Id02b80e34439afc1a1441f835f839aba06f985f0
2016-09-13 10:48:45 +02:00
Ricardo Carrillo Cruz ca59d373bd Correct IP public range netmask on infracloud
Change-Id: I9bb7547eb05780366bd94054d67791a303420293
2016-09-12 22:48:52 +02:00
Ricardo Carrillo Cruz e4d5b25eaa Final removal of region param
Change-Id: If555bcb1c96d9678dd1f769164ac25b1e10c6aa9
2016-09-12 15:50:36 +02:00
Jenkins 99cca40964 Merge "Remove per-region handling" 2016-09-12 13:40:17 +00:00
Ricardo Carrillo Cruz cff7cf98dc Remove per-region handling
Since vanilla and chocolate are on the same VLAN, we don't have
two different bifrost machines, just one to handle both.
Therefore, the per-region split logic is not needed anymore and makes
it impossible to have on the current baremetal machine in prod
having both inventories at the same time.

Note: I'm leaving the 'region' parameter on purpose, otherwise
the apply tests fail.
Will remove it in a subsequent patch.

Change-Id: I433cdb8675c3acd2e699272aaf6a0e67eb9200b0
2016-09-12 15:13:09 +02:00
Yolanda Robla Mota 60bff722c8 Temporary workaround for bridge naming on CentOS
We cannot use naming with br-xxx because it is translated
to br/xxx when passed to glean, causing it to fail.
As a temporary workaround until https://review.openstack.org/368692
lands, use br_xxx naming for not debian/ubuntu (to avoid
crashing current deploys of infracloud)

Change-Id: I6a511bef0b262e40981abfc46bb5c60865fde566
2016-09-12 12:52:44 +02:00
Jenkins f2c3b8372a Merge "Add wants setting for network-online.target" 2016-09-12 10:33:42 +00:00
Jenkins 3d869aa096 Merge "Restart service properly on RHEL case" 2016-09-12 10:04:57 +00:00
Yolanda Robla Mota 26239b94c6 Add wants setting for network-online.target
According to documentation, the proper way to start a service
after the network comes up, is add After and Wants on the
default file.

Change-Id: Ibf252426210fcb1716dae918266d988a36ccbbb6
2016-09-12 11:59:56 +02:00
Yolanda Robla Mota a5f2db712a Restart service properly on RHEL case
Per documentation on RHEL side, the proper way
to activate the bridge, is full restarting the
network service.

Change-Id: I61564b3c39b169f9de13dd2297210a2348f448e2
2016-09-12 09:25:54 +02:00
Yolanda Robla Mota fcd90f18b2 Add execution perms to post-install in bridge
Change-Id: Id271028e031b0ba6e679b1618a1ae0308d5b2e06
2016-09-09 13:19:34 +02:00
Yolanda Robla Mota c3baf51bea Enable create bridge service by default
systemd needs to have the service enabled in order
to chain with glean.

Change-Id: Ia79c95c6d384c66131317b4feabe9d578ec572c3
2016-09-08 17:24:43 +02:00
Jenkins 31b904e638 Merge "Refactor infra-cloud-bridge element to support CentOS/RH" 2016-09-06 11:24:10 +00:00
Yolanda Robla Mota 8b0d04ce89 Disable selinux on RHEL
It is causing troubles on rabbit and linuxbridge, crashing
because permission denied errors. Initially disable it to
have a working cloud, and add the right settings on future
patches to re-enable it.

Change-Id: Ibc3303966e7bc450f9d9dbaa4fce7104fcb90635
2016-09-05 12:56:32 +02:00
Jenkins d96206a4cc Merge "Fix rabbitmq install for RHEL/CentOS" 2016-09-05 07:31:36 +00:00