Commit Graph

108 Commits

Author SHA1 Message Date
Sean McGinnis 126bd4af7f
Retire repo and note new content in openstack/osops
Change-Id: Ibf7eab00a55cda9423663feb2dc3feea8ac3778a
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-09-10 20:00:52 -05:00
jiasirui b74cbb8e33 fix the spelling mistakes
Change-Id: Ie106d1310885a02fb01122f710e428ab286f9080
2019-09-12 19:00:42 +08:00
Mohammed Naser 67c7d0b951 osa: add tool to cleanup host
This tool will contain more things eventually but for
now it'll just cater for a list of things to clean up
in environments with low disk space.

Change-Id: I84568f4de20c6c38c96e7a4c1fcad6d5c949d205
2019-05-31 07:48:20 -04:00
Mohammed Naser 6dea19b539 heat: add cleanup_stacks
If you have a cloud where some of your stacks are stuck in
DELETE_FAILED state and you need to run something to clean
up all the resources, this tool is designed for this.

At the moment, it just handles nested stacks but it can be
extended to handle more things (i.e. network ports, etc). It
does come with destructive behaviour so the operator needs
to be careful using it.

Change-Id: I5c419aa0f45d243b585c9794406086891bfe06c1
2019-05-30 14:00:24 -04:00
OpenDev Sysadmins 7437df6ec0 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:51:40 +00:00
Simon Leinen a7e8010598 Handle SHELVED_OFFLOADED and VERIFY_RESIZE states
This change adds support for the SHELVED_OFFLOADED and (partly)
VERIFY_RESIZE states.  Shelved-offloaded instances don't have a
hypervisor associated with them.  VERIFY_RESIZE instances should still
be running on their associated hypervisor.  They are also present, but
"shut off", on another hypervisor.  Even with this change, the code
still generates a warning about the instance being present on multiple
hypervisors.  Personally I find the warning quite useful, and I don't
really know what to do about it.  Maybe we should suppress the warning
if the instance hasn't been in this state for long.

Change-Id: I3a56500bd350a070c96f719e702a5334ec8c8558
2017-02-20 09:54:47 +01:00
Jenkins 6d676efe83 Merge "Lint the lampstack apply role" 2017-01-18 17:30:56 +00:00
Jared King 82ad72f239 add net_blame.sh, which finds the top instances on a net node
Change-Id: I18eee0818ff1e142013c932ca1ef2f2998599035
2017-01-17 10:05:33 -05:00
Jenkins d6f791807f Merge "nova-libvirt-compare.py: compare Nova state to hypervisor state" 2017-01-06 17:13:58 +00:00
Maciej Józefczyk 35ac7be514 Add cold stop, cold start, cold restart to dhcp_agents_balancer.py
Cold stop: remove all network to agent associations
Cold start: add network to agent associations
Cold restart: do stop and start

Change-Id: I2494f6a1603d89a048afb697931dd84197af88e9
2017-01-05 16:05:49 +01:00
Saverio Proto 24e0bff88c nova-libvirt-compare.py: compare Nova state to hypervisor state
Change-Id: I80fb1ea4896fb4ce539fd67da20e34ec658ecdf5
2017-01-05 11:04:49 +01:00
Saverio Proto cc3ed99079 l3-agent-evacuate.py: evacuate a network node
Change-Id: I1dc363ef3d36fa92c7122852029a9ee81bd3d7af
2016-12-23 10:18:28 +01:00
Sławek Kapłoński 38a70fda49 Add script to balance load of Neutron DHCP agents
We found that sometimes in large deployments some
DHCP agents can be overloaded when others are almost
empty (especially if random scheduler is used for
DHCP agents).
That can cause issue with agents config syncronization
e.g. after agents restart.

This script can move some networks from overloaded agents
to less loaded and also remove network from some DHCP agents
if it is hosted on too many agents in same time.

Change-Id: Ib9ed1d75100ee66e04143eff4d30ccab1eb72abf
2016-11-15 21:36:01 +00:00
Jenkins 29c5746658 Merge "Add a trystack env variable file" 2016-11-14 15:43:14 +00:00
David Moreau-Simard c883416f58 Add a trystack env variable file
The trystack environment file sources credentials from OS_* env
variables and as such we need to pass them properly in tox.

Change-Id: I8abc7c4d4109a178a6547a87aec2c2dbff56b988
2016-11-13 11:46:13 -05:00
David Moreau-Simard 377f414614 Fix typo in security group description
Change-Id: I44ac5fd45a28011de5fceedc38ff0dc0ec720c6c
2016-11-13 11:18:59 -05:00
Jenkins 123e5f0fc3 Merge "Lint the lampstack wordpress role" 2016-11-11 15:46:12 +00:00
David Moreau-Simard 26bce3b9df Lint the lampstack wordpress role
- Don't use shell module unless shell functionality is required

Change-Id: I656e79c6d9eacbae1fa54724c3c2b06f0c2ab435
2016-11-08 16:09:20 -05:00
Daniela Ebert 6e53420185 Catch up the flavor from config file instead of {{openstack_flavors[0].id}}
Change-Id: I3d3bd03e45f9f1ce672738e091630eb0895c7ca4
2016-11-07 21:01:55 +00:00
David Moreau-Simard b6283002b0 Lint the lampstack apply role
- Homogenize module usage (= vs :)

Change-Id: I8f6afd000f1d304bbc05ddab248b40705ff22775
2016-11-05 11:03:05 -04:00
Jenkins dc46a8c64d Merge "Allow usage of Fedora24" 2016-10-30 03:35:23 +00:00
Jenkins ebd0df88b9 Merge "Decrease the verbosity level" 2016-10-27 23:03:06 +00:00
Jenkins 88ebbcf77f Merge "use kubeadm to reduce complexity of installing k8s" 2016-10-27 23:02:06 +00:00
Daniel Mellado 14adb962cd Decrease the verbosity level
This commit decreases the verbosity level on the tox environments

Change-Id: I7c37c22fef4a715cf0b2b43ab372f10c30259f22
2016-10-26 05:33:06 +03:00
Ghe Rivero 597ec42e30 Add tox environement for ansible check syntax
This commits adds tox environments for checking the lampstack ansible
syntax.

Change-Id: Ia333d222ffb4b10caad1c55ea58b771865cd8de2
2016-10-22 10:33:16 +02:00
Jenkins 2e0619c1fd Merge "Fix undefined wp variables" 2016-10-21 22:00:12 +00:00
Ghe Rivero b2ed095b1e Fix undefined wp variables
Replace "or" with "|default()"
Add missing " at end of line

Change-Id: If48f410110647b6b39f84032123224558a533af0
2016-10-21 20:08:23 +02:00
Jean-Daniel Bonnetot 9e2132c9ba Changing the OVH flavor
Change-Id: I1075f24e96006c3f193979e3d8d918dc5b235a3d
2016-10-21 13:00:53 +00:00
Jenkins 08443db0c7 Merge "Add HPE Helion OpenStack 4.0 config sample" 2016-10-20 14:03:14 +00:00
Jenkins 9c78f78952 Merge "Add Open Telekom Cloud config example" 2016-10-20 14:00:36 +00:00
Jenkins 022e9af3f7 Merge "Add livemigration helper for hypervisor maint" 2016-10-20 13:58:58 +00:00
Jenkins f705fe74e3 Merge "ansible: support full offline use for lampstack" 2016-10-20 13:57:52 +00:00
Ghe Rivero acfa318a7d Add HPE Helion OpenStack 4.0 config sample
Change-Id: I05a6a24b2c8a97b4e67138385c16b854fc75600d
2016-10-20 09:32:36 +02:00
James Page d856841a87 ansible: support full offline use for lampstack
Add three new app_env options:

  wp_latest
  wp_cli
  wp_importer

these can be used to override the default install locations
for wordpress and various utilities used by the playbooks,
ensuring that the playbook can be configured for use in
environments where network egress to the internet is limited.

Change-Id: I9db0d8e562fdb74c9c68cb9881d6a2bbb7e4e77a
2016-10-19 15:51:49 +01:00
Daniela Ebert c41bae2212 Add Open Telekom Cloud config example
Change-Id: I162db8562d7c2a0aad81978b7ed1e4023009d878
2016-10-19 11:25:29 +00:00
Daniel Mellado 1458afb4c6 Allow usage of Fedora24
This commit adds Fedora 24 image support for the interop challenge
tasks.

Change-Id: I489b2ebc70fe3de4b20694bbeac0abfa8841c5a8
2016-10-19 14:09:31 +03:00
Xav Paice e4eb5582bb Add livemigration helper for hypervisor maint
Adds a very basic one-by-one livemigration tool to remove instances from
a host, but not quite as aggressively as the openstack CLI tool.

Change-Id: I54b03e7f7eb6eb0f4efc10de97dc208498f2a56b
2016-10-19 16:31:38 +13:00
Jenkins f945a3ecd2 Merge "Add CI/CD terraform scripts" 2016-10-18 19:36:54 +00:00
Jenkins 8ad2015099 Merge "Update apt cache before installing scsitools" 2016-10-17 20:02:38 +00:00
Jenkins 7d1e03e140 Merge "Make lampstack work in config drive environments" 2016-10-17 20:02:18 +00:00
Jenkins bf6ac2f618 Merge "Add support for public network name" 2016-10-17 20:01:39 +00:00
Paul Czarkowski 9ee2e11c19 use kubeadm to reduce complexity of installing k8s
[kubeadm](http://kubernetes.io/docs/getting-started-guides/kubeadm/) provides
an easier way to install kubernetes.  Let's use it and simplify our terraform.

* swap out coreos for ubuntu/centos as kubeadm has apt/yum repos
* remove SSL creation as kubeadm does that
* remove etcd/cloudinit as kubeadm handles etcd
* add basic install script to set up deps and repos

tested installing to both ubuntu xenial and centos 7 images.

Change-Id: I63c2f0419457587c53b112c28ab96f55add7676a
2016-10-16 15:01:39 -05:00
Victor Morales 1d4aa339a9 Add CI/CD terraform scripts
Change-Id: I791c9c50c70fcf41077c0c5125bce2b534be51c7
2016-10-16 11:56:25 -05:00
Luz Cazares 8ad712ee93 Add support for public network name
Change-Id: I4c91cb85be92533e08ee4988d0127daecec8c007
Co-Authored-By: Ghe Rivero <ghe.rivero@gmail.com>
2016-10-15 10:37:11 +02:00
Jenkins cd39e063d8 Merge "Adding OVH configuration for interop challenge" 2016-10-14 23:49:28 +00:00
Mark T. Voelker 4d4514e2d2 Update apt cache before installing scsitools
A few folks reported that installing scsitools was throwning an error
for them because the apt cache on the system hadn't been initialized.
This patch ensures that we update the apt cache before attempting to
install scsitools.

The patch also makes the workload run faster overall: previously,
we updated the apt cache each time we installed a package.  In this
patch, we break out the cache update into a separate task that runs
before any software is installed, thus eliminating several
time-consuming calls to "apt-get update".

Finally, this patch also makes the workload slightly more portable:
it replaces apt calls with package calls.  Adding a new guest OS
family should just require adding a new cache update block (if
necessary for that OS) with an appropriate when statement.

Change-Id: I30ffbf2da13f22475f920328d84e64460834bcdb
2016-10-14 13:51:36 -04:00
Mark T. Voelker ad24dc3e86 Make lampstack work in config drive environments
Currently, the lampstack workload assumes that either you're using the
nova metadata service or that config drive is enabled globally in
your nova.conf file: there's no option to enable it on a per-environment
basis.  This patch adds the ability to specify whether config_drive
should be used or not in the app_env variables, with a default value
set to "no" (which means that the new variable isn't required and that
if a user doesn't set it, he or she will get the same behavior as before
this patch).

Change-Id: I717bf5a37f98da79141af70df90feb7fd7b3f8c7
2016-10-14 12:03:44 -04:00
Jean-Daniel Bonnetot 3dd2be1b53 Adding OVH configuration for interop challenge
Change-Id: I7241c997e2fd4e6cc8bc3cb0fad587c29a929469
2016-10-13 16:05:36 +00:00
Daniel Mellado f426660f75 Split profile tox env
Creates a new tox env called profile in order for profiling not to be
mandatory for each workload run.

Change-Id: I699551f1d50776499ad67440bc0a6b71bd8101ef
2016-10-13 15:22:08 +03:00
Jenkins 6a073cfd9c Merge "Enable profile callback plugin" 2016-10-12 14:44:46 +00:00