Commit Graph

20 Commits

Author SHA1 Message Date
Sean McGinnis 537bc74d55
Retire repo and note new content in openstack/osops
Change-Id: I8a36e470dfcf2e5db0a702d371b98cd94082bb4d
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-09-14 09:08:50 -05:00
Andrey Kurilin 609986f5f0 Add script for monitoring resource utilization of VMs
The top of the script includes description, behaviour and how-to

Change-Id: I662f71648ae7576aa430a0a0bd6b43509f0c2176
2017-11-14 15:57:57 +02:00
Jake Yip b8ea5fd26d Remove compute_node_stats from list of tables to manage
compute_node_stats have been removed in liberty (commit:
8a7b95dccdbe449d5235868781b30edebd34bacd)

Change-Id: I1cdf7e1a0a9ac686724f0d21d769551980b660b0
2017-02-21 17:11:17 +11:00
Pierre Riteau 495cf7bc77 Fix typo in comment
Change-Id: I784b977042049c1ac17a31766e0a7ab7728b9e05
2016-11-01 10:57:10 +00:00
Jenkins d2c0c1522c Merge "show all instance ip addresses" 2016-09-17 02:57:29 +00:00
Jenkins 678d948361 Merge "handle nova servers with spaces in the name" 2016-09-17 02:56:18 +00:00
Simon Leinen df055acc61 Avoid passing backslashes in SQL snippets
In order to fix bug #1534660, change 269530 splits many overly long
lines in Bash scripts using backslash continuations.  But in some
cases, these backslashes were inserted within command arguments that
are interpreted as SQL expressions, where they cause syntax errors.

This changes splits the corresponding lines differently, so that the
backslashes are no longer passed in SQL expressions.

Change-Id: I4a8940b6fe9ce8563315cd0cc9a9529a02f8cdb8
Closes-Bug: 1596193
Related-Bug: 1534660
2016-06-27 20:29:50 +02:00
Marcus Furlong 5d22b9b499 show all instance ip addresses
Change-Id: I55325aacdca84fa55258040b8d6a69fd3e4b619a
2016-04-19 10:15:08 +10:00
Marcus Furlong 0b849f430a handle nova servers with spaces in the name
Change-Id: I8cb06860b984dd4bc4d17920bfbe9c78e15ff9ac
2016-04-19 10:13:35 +10:00
Marcus Furlong 6492a37e76 add dryrun and quiet options
Change-Id: I95bebc532389208e9e3bbd952095d75bf0dac763
2016-02-17 18:24:02 +11:00
Peter Jenkins a48fc6e758 Update aut-fix-quota tool for Juno
I've ported this tool to work with Juno and thought I'd share this for
all to use.

We've done basic functional testing, an internal code review and used it
against our production cloud. I would encourage further review and
testing, but this should be usable for others.

The backend changes to Juno required more changes that I would have
liked and the code does throw the odd exception (handled by the code)
when run against every project in our production system, but this hasn't
caused any issues for us.

Change-Id: I3913251ede4949149e63d1337bd92dd836f98763
2016-01-25 08:26:07 +02:00
Peter Jenkins 6c67ad007e Fix tons of bashate issues for bug 1534660
Fixing https://bugs.launchpad.net/osops/+bug/1534660. Some of these
fixes are not pretty and I've not been able to test the tools still
work.

I think the bashate rules should be relaxed for operations tools ... or
people shouldn't use bash for such tools. Sometimes it's pretty
difficult to shorten lines and still have readable code.

Co-Authored-By: Peter Jenkins <mail@peter-jenkins.com>
Co-Authored-By: Mike Dorman <mdorman@godaddy.com>
Change-Id: I70cfc2420cc9a2a4ec553ab7b7ca43a7fc38a9f0
2016-01-19 09:53:10 -07:00
Christian Berendt b9da55d0f8 Cleanup errors in shell scripts identified by bashate
Change-Id: Ib3c4d841e4282368343b81e5824a0319e9817b48
2015-12-16 15:58:34 -07:00
Mike Dorman 740d675188 Add option for pt-archiver --nosafe-auto-increment flag
Add ability to pass the --nosafe-auto-increment flag to
pt-archiver, which may be necessary in some situations.

Change-Id: I841193dc97b36ad365eee89447b33f3e96cd1c41
2015-09-29 16:19:31 +00:00
Mike Dorman 08ea1010d9 Support for archiving additional nova tables
Add support for archiving more tables in the nova database
that must be done before the nova.instances table, due to
foreign key constraints.

Change-Id: Ie433caa96de898d5cf64a0b03ac4681a410f5dfa
2015-09-29 10:14:38 -06:00
Mike Dorman 47f275d3ca Add options to specify credentials on db archive scripts
Add options to the user may specify hostname, database name,
username, and password for the openstasck_db_archive scripts.

Also fix some minor whitespace issues.

Change-Id: Ib4b2f8282db6c9958d2e0a7d5d72abd4a192de32
2015-09-28 15:09:09 -06:00
David Wahlstrom 49810e77fd orphaned_vms.sh: initial commit
orphaned_vms.sh is a script that searches through the current VMs (as
reported by nova) and retrieves their own.  Then, it cross checks that
list against a tenant listing  (as reported by keystone).  Any VMs whose
owner does not exist in keystone is assumed to be orphaned. This can
happen if a tenant is deleted while it still has VMs online.

Change-Id: I880b66e6d303e3348ac1d7fde1762633ae9ac07a
2015-09-28 09:46:45 -07:00
Simon McCartney 2802420b32 Scripts used to correct the quota database 2015-03-20 15:18:06 +00:00
Simon McCartney 921720cb35 Tools to archive soft-deleted records to the shadow tables. 2014-11-06 16:09:31 +01:00
Mike Dorman 92b369044f Adding collection of misc tools and scripts 2014-10-07 10:29:10 -06:00