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
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
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>
Add the md5 image hash check, if the image exists, check the md5
hash, if the hash is not the same, remove the old image and download
new one.
Change-Id: I2232129a814e89aaac9bf54ee16ede983fff5b48
Starting in 16.04 Ubuntu no longer installs python v2.7 by default.
Instead the default version of python is v3.5. If you still need v2.7
then add the `python` package to this list
Change-Id: Ieb47e319ef2124570cc72acf1219c5b9d9fc9814
This change adds the cinder storage pools data to the influx metric
collection system as a plugin.
Change-Id: I632b53aa09d69c6df28b86988629242a26ab9b50
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
Added kapacitor tickscripts to trigger alerts based on certain
thresholds.
Change-Id: I66d1b1e58d279405637d9a2f06b3aae19fa29cc3
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
SSHKEY is originally set in setup-host.sh, so this allows
setup-cobbler.sh to run independently of that script.
Change-Id: I4793e6a5db7359bec0eaa7b6a66efa7d58084126
the tilde symbol may cause problem when VMs don't have the same
folder path as the host, replace it with tmp will resolve this
issue.
Change-Id: I14114d018fa9dc9fa332f1e34077f88d75995f21
Starts from Newton release, Openstack needs ubuntu 16.0.4(xenial)
as the operation system to depoy openstack. add the xenial image
will help people to test or develop openstack projects.
Change-Id: Ida3a2102664abc4a69e8d94f6c8d6cc177a8c4c3
The KVM virsh plugin already existed however the setup was not using the
new playbook plugin system. This change moves the kvm vish plugin into
that system and updates the plugin to use the influxdb line format
instead of the json format which was recently deprecated.
Change-Id: Ib23a0a231044389aab5669dc0c467175cd220423
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This change adds a second plugin to the telegraf setup. A change is
being made to the telegraf config file to allow for more than one
external plugin to be executed and to allow for full plugin execution
between telegraf reporting intervals.
Each plugin will potentially account for up to 8 seconds of runtime with
the telegraf agent now using a dynamic reporting interval based on the
number of plugins a given agent is needing to execute.
Change-Id: I652e8e2f13bd4fb9135280b76f2344177a14eaf7
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
Currently when clicking on the small bug in the roles'
docs, we land on openstack-manuals launchpad.
This should solve it.
Change-Id: Iba8332b8623204cc88ab07f56c5c4773cebe380d
A few cobbled together scripts to perform analytics on OSA gate check
timings based on console logs retrieved from logstash.openstack.org.
Change-Id: I5f7664482751386cca2697954573a55be06e6b9b
With ansible 2.2, apt_repository update_cache feature has
been fixed. When a new repo will be added, apt-get update
will be run after the addition if update_cache is set to yes.
This combined with the apt module now properly checking the
cache validity, we can now have proper updating of the cache
with registering variables.
Change-Id: Ic9788156a88223dc0d27fafa2a798f396135f990
Add PRE_CONFIG_OSA to set up the user_variable and all the other
parameters for OSA powered cloud, and move the RUN_OSA to the playbook
part.
Change-Id: Ia962e42466dd2a123e30b1a9c37e60a371710842
This changes 'ansible_ssh_host' to 'ansible_host'. The 'ansible_ssh_host'
variable has been deprecated as noted here: [0].
[0] - http://docs.ansible.com/ansible/intro_inventory.html#hosts-and-groups
Change-Id: Ie34bb924b55d4e1c7b4568c2eadd2a7a1a60a821
Related-Bug: #1636606
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
Remove the opensuse expired key and opensuse cobbler repo after
cobbler being installed. OSA deployment doesn't need it.
And fix a typo and a link of README.rst
Change-Id: I24f5d823806f039d879dd69762b2eac3a6005628
Replace the service xinetd stop and start to service xinetd restart
, the stop will cause the unknow instance error and stop the
rebuild
Change-Id: I1a8a7a72f51b3d4dcdca3b0158f7771efd567032
Add the rm ~/.ssh/known_hosts for the Rerunning the build script
part in the instruction.
Change-Id: Iba7610e00f07bb61cd8b11892e208ea4c67a1d75
Closes-Bug: #1635037
Add an option $RUN_OSA to the deploy-osa.sh to let user have more
choices, if user want to deploy another OSA powered cloud on AIO-
multinode, he can switch it to false and then use the existing env
to deploy the cloud he wants to.
Change-Id: Ief8c701f596595607d3b86ac03f17d6690f5954f
Closes-Bug: #1634582
This change is needed because nova no longer provides flavors.
Change-Id: Icaf97d94007aef7fd54691174cab6ed2db89404b
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This change simple makes the system deploy a network stack and create
various images in a more production like fashion.
Change-Id: Ib316d5fcab08aa31f2965175a4fb31f1d3566228
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
By default we generally deploy the network agents onto the infra hosts.
This patch simply forces the multi-node-aio to follow that process which
is being done to lower resource consumption.
Change-Id: I6612a85cb669596893dbd3ee0a858a8ee5476729
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>