Precreated bundled venvs for OpenStack-Ansible have been created,
update the default VENV_URL with the path to them. Also fix the wget
command used to download them so that it returns a 0 on success and
deletes a failed download allowing the local build function to continue
on.
Change-Id: Ic4ae115384015dd7159da4e5850452bb5db181be
Within the multi-node-aio-xenial-ansible folder the multi-node-aio
content has been copied over, Cobbler and Trusty specific parts have
been removed.
The intent here is to replace much of the bash which is present with
Ansible and not support Trusty. To do this a clean separate folder is
required so large changes which are made will not affect the current
working Trusty based install.
Change-Id: Ib64ee168ece4b7a00f950c8d5b1cd6dd4dcd7ba7
Perform a git branch checkout on cloned OSA repo directories when the
ignore-changes.marker file does not exist.
Change-Id: Ib062198f54e399d644e13c7aea7582e0ad6e1976
- Check for existence of the configuration directory
(rpc_deploy/openstack_deploy) since only one should exist, dependent
on the current stage of the upgrade
- Correct the path to upgrade-requirements.txt
- Use pip to install requirements found in upgrade-requirements.txt
to avoid a 'double requirement given' error when installing pip
Change-Id: If39826c26eb948b91f14e7e27d0a5d0740c8349c
More values have been added to the variables.sh file. None of these have
been adjusted from the default values but this now provides a standard
goto place to have all these values and be able to change with ease.
An include for varibles.sh is now also at the top of each of the script
files.
Change-Id: I2354c87e985115ce0b7f168ab1d056d5032e5cff
By default AIO deploy overrides apt-sources, if things like a local
mirror are already set up then this script will override these. This
option allows for the override to be disabled.
Change-Id: Id84c2c5d12153125d7ac6698493c41a840993c5b
This commit allows for a proxy to be pushed to each of the deployed
containers based on the standard environment variable "$http_proxy".
Change-Id: I94dc3a8afda9472f032fbd94991f8b676131cbfb
Some networks may not allow 8.8.8.8 Google DNS servers. This patch
allows this to be specified in the variables file or to pull the value
from the systems resolv.conf file.
Change-Id: I494ab82c41bcd59ea85404d49cb2696029353a0e
Building on from the previous commit https://review.openstack.org/427869
this playbook calls all the roles and contains the required data to
deploy the pxe build environment.
Change-Id: I1a319b68558a4823832693f38f40921a72be783e
Building on from the previous commit https://review.openstack.org/427869
this add in a proxy role which sets up the environment and apt in case
this machine is based behind some form of proxy.
Change-Id: I1f2266f6443354aa954438801c0ddc84e78d6994
172.29 has the potential to conflict with internal addressing schemes.
Rather than have this hard coded these changes are to allow this to be
configured. Variables file has also been added to allow customization of
defined values.
Change-Id: I0b3e68443e7331b02794c3a54478e131d23fd5ec
According to suggestion, add the kernel option in the preseed file,
leave it empty to get the lastest kernel, or specify the kernel
number.
Change-Id: Ie5b8f62a89ef9eb51954f0452becbaa9e81ee973
Yaml.load() return Python object may be dangerous if you receive
a YAML document from an untrusted source such as the Internet.
The function yaml.safe_load() limits this ability to simple Python
objects like integers or lists.
Reference:
https://security.openstack.org/guidelines/dg_avoid-dangerous-input-parsing-libraries.html
Change-Id: I78fde872948d6838957e35765c3f182bd4b9b512
Yaml.load() return Python object may be dangerous if
you receive a YAML document from an untrusted source
such as the Internet. The function yaml.safe_load()
limits this ability to simple Python objects like
integers or lists.
Reference:
https://security.openstack.org/guidelines/dg_avoid-dangerous-input-parsing-libraries.html
Change-Id: Ib260be0cc604f2272e3c676930bcb307752e142b
Building on from the previous commit https://review.openstack.org/427869
this adds in TFTP configure role which handles all the pre-seed
templates and sets up all the PXEBoot files.
Change-Id: Ibdf7bfac9bc2c5b5cabdc79ce8584112b2ae0678
Building on from the previous commit https://review.openstack.org/427869
this adds in DHCPD role to provide DHCP to the virtual machines which
are booting up and point them towards our TFTP server.
Change-Id: I73649562096a659dee7227b0cfb84f2c4a4f5ec4
Building on from the previous commit https://review.openstack.org/427869
this adds in Apache2 role to host the pre-seed files and some Ubuntu
install files.
Change-Id: Ib0c2469e25f5e7a03c7c79efc201cd51f673966e
The ubuntu release always comes with the lastest kernel, this
script will save sometime to do the downgrade kernel for you,
actually it not only downgrade kernel, you can specify any kernel
you want to put on the image.
Change-Id: I8639ca4a8c0cfa28db8a7faa6587510f44e27303
We have done an amount of work making the Multinode AIO work with Xenial
on both the deployment host and the booted virtual machines. Sadly
Cobbler was a large complex system which required poking and prodding to
make it work properly on Xenial. Instead we have created a small system
which is a PXE environment with TFTPboot, DHCPD server and various
pre-seeds.
This work is virtually complete and working, this is a first commit of
many to get this merged in. Starting with a small commit to get one of
the few Ansible roles we have in place. After this has been checked over
and merged in, we will push all the rest of the work making sure any
amendments or recommendations are made to the rest of our work.
This first commit is simply an Ansible Role to install and configure
ATFTP on Ubuntu 16.04 deployment host, and does not currently affect
other items.
Change-Id: I9bfd88d81d27d5a6af7b297b9a4426f5e6200baf
This change adds upgrade tooling that will take a Juno based
OpenStack-Ansible cloud and upgrade it to Newton. The tooling
will run a deployment through all of the needed steps upgrading
the environment and skipping all of the OpenStack releases in
between.
**This tooling should be considered experimental at this time**
Change-Id: I1880794717b9e47786ae255ea1afa57d805cde8e
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>