Commit Graph

385 Commits

Author SHA1 Message Date
Ryan Beisner 91d8c4f9f4
Retire project
Leave README around for those that follow.

http://lists.openstack.org/pipermail/openstack-discuss/2019-February/003186.html
http://lists.openstack.org/pipermail/openstack-discuss/2018-November/000057.html

Change-Id: I459871b2d4ab15807b54b7625a4096293d29e74a
2019-02-27 10:31:32 +01:00
David Ames b96926fb1a Update charm-helpers-hooks.yaml and sync ch
Using the new version of the sync tool which removes the charmhelpers
directory before syncing, run charm helpers sync to find any unexpected
missing dependencies.

Change-Id: Ie3caca46ec9d6d9218a4c8f0738e9ccc4135ddab
2019-02-12 15:58:09 -08:00
David Ames e9cb83136c Update pre-install hooks to fail on error
The pre-install operations may fail, yet that failure is not
elevated to the user. This masks the failure and makes early
package install issues difficult to troubleshoot.

If the basic pre-install script fails, the charm should not
proceed to later hooks as the requirements may not be met.

Hashbangs for bash should specify -e (errexit) on all of the
pre-install bash scripts.

Change-Id: I16017474e85fbb7c476ed5c0585e86b4accbc340
Closes-bug: #1815243
Partial-bug: #1815231
2019-02-12 10:41:25 -08:00
Corey Bryant fb84e302e8 Sync charm-helpers
Change-Id: I6fadde43728dddaacdc67e5f317032f85cab4491
2019-01-11 14:39:23 +00:00
Zuul 023f3eaacf Merge "fix typos in the docstring" 2019-01-09 09:31:05 +00:00
Corey Bryant d831e2da7d Sync charm-helpers
Change-Id: I560b3b3dce9ac2a12dc45160d543e110f31df0e6
2019-01-08 15:24:44 +00:00
melissaml 46c2c9f5ab fix typos in the docstring
Change-Id: Icc99d664205e84a98142983a64ca87984a11e0c7
2018-12-22 03:57:50 +08:00
Ryan Beisner 6f4d50af4f Sync charm-helpers
Change-Id: Id5af5290a60fbf7d12ef1a5803897b3eed6792a4
2018-11-09 09:18:08 -08:00
David Ames e83f5accfd Series Upgrade
Implement the series-upgrade feature allowing to move between Ubuntu
series.

Change-Id: I818c09346928e28b957cf910f1760ecadf91c63a
2018-10-23 13:23:16 -07:00
Ryan Beisner e5caa7b8ed Add cosmic
Add a tactical change which is already merged into charm-helpers.

This needs to go into all charms to solve the chicken:egg issue
where cosmic is untestable until this change exists.

Reference:

4835c6c167

Change-Id: Id359504a045357c2a3dac8028ed9ce60d3a69e9d
2018-09-19 13:32:22 +02:00
Ryan Beisner 9e6036693b Update functional test definitions
Change-Id: Ia7d7e68974eb7b5264eed24dd6c360cfd09414f1
2018-08-27 18:17:00 -05:00
Chris MacNaughton 500eb58499 Sync charm-helpers to ensure Rocky support
Change-Id: Ibe708f4756a197572d862a72f7e59325a0eaacaa
2018-07-13 15:58:07 +02:00
David Ames be2ce92ca3 Enable Bionic as a gate test
Change bionic test from dev to gate for 18.05.

Change-Id: Ibd9e14eaccc203f5c3c777a86c7e3b98a8ea2595
2018-05-18 16:13:43 -07:00
Ryan Beisner 5f7f7bc75d Sync charm-helpers
Change-Id: Ic8561e27106d9fd973193860c116813c4fbe9e8f
2018-02-21 14:09:57 -06:00
Ryan Beisner f53864df1c Sync charm-helpers
Notable issues resolved:

openstack_upgrade_available() broken for swift
https://bugs.launchpad.net/charm-swift-proxy/+bug/1743847

haproxy context doesn't consider bindings
https://bugs.launchpad.net/charm-helpers/+bug/1735421

regression in haproxy check
https://bugs.launchpad.net/charm-helpers/+bug/1743287

Change-Id: I8df8646310c11944305315a8a55a581f35f2b845
2018-01-19 12:10:21 +00:00
Andrew McLeod 94dc446c59 Enable xenial-pike amulet test
Add but disable artful-pike amulet test
Make default func27-smoke xenial-pike
Update charm-helpers to include tests and sync

Change-Id: Ib81e932ef15f931c44353bdcd365f12d3f3715c1
2017-11-28 16:57:31 +13:00
Andrew McLeod 8854d867fd Allow gre through firewalld with one liner
Change-Id: I43c47dc1d91db5082f24ebc762590cbf2d3452ab
Closes-Bug: 1641077
2017-09-14 17:26:22 +02:00
Ryan Beisner ede2126a41 Sync charm-helpers
Change-Id: Iedabae14d63514d386644515f71caeb80b337a15
2017-08-24 17:13:15 -05:00
David Ames b71c237741 Enable Zesty-Ocata Amulet Tests
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes

Change-Id: Ia0f4a99a5dc9e4b67bf51402a2f1f4bf9b1015d6
2017-05-16 23:06:09 +00:00
David Ames 7f59c00a59 Enable Ocata Amulet Tests
- Add Zesty as a supported series to metadata.yaml.
- Turn on Xenial-Ocata Amulet test definitions.
- Sync charm helpers to get Juju 2.x amulet compatibility.
- Keeping Zesty-Ocata Amulet test definitions turned off until the
  metadata.yaml changes propagate to the charm store.

Change-Id: I906b0008fb15939334b993e25f977c0e8e3ed96c
2017-03-09 14:35:08 -08:00
Andrew McLeod 66707ffa31 Pre-release charm-helpers sync 17.02
Get each charm up to date with lp:charm-helpers for release testing.
Add necessary relation between nova cloud controller and neutron gateway
Closes-Bug: 1665008
Change-Id: I3fb3769b147d42d36e53293b759d394f2dc63071
2017-03-02 11:59:50 +01:00
Ryan Beisner 412f31e2a8 Update Amulet defs, series metadata and c-h sync
- Sync charm helpers if applicable.

- Fix test executable hashbags for virtualenv prep.

- Add Yakkety-Newton Amulet test definitions.

- Prep Xenial-Ocata Amulet test definitions (not yet enabled).

- Prep Zesty-Ocata Amulet test definitions (not yet enabled).

- Remove Precise charm series metadata if present.

- Remove Precise Amulet test definitions if present.

Change-Id: I743661420f50b10527816c1b840440949cc39b39
2016-12-08 14:41:44 -08:00
James Page 69fc33656c Updates for alignment with RDO Mitaka
Misc updates as a result of testing with latest OpenStack Mitaka RDO
packages from IBM:

 - neutron.conf: disable neutron_rootwrap_daemon - non-functional.
 - nova.conf: set lock_path to /var/lib/nova/tmp inline with rpm
   packaging.
 - run proxy install process during config-changed, ensuring that
   any new compute hosts get installed and configured.
 - enable and start services on install, as rpm packages install
   disabled.
 - refactor use of proxy in hooks module to ensure its not created
   on module load, but as an when required.
 - change behaviour of remote-key to write key to secured local file,
   avoiding the need to run this charm from a local copy with the key
   embedded.

README updated for any behavioural changes in configuration.

Change-Id: I53d7331a2ddcf73bc41bc8d73be5bf165bf55a92
2016-11-09 13:14:18 +00:00
Ryan Beisner 3f7a8fad0c Add initial tests and repo review configs
- Initialize repo for gerrit review.
- Resync charm-helpers.
- Add missing install.real hook.
- Add missing status update hook.
- Add very basic unit tests and amulet tests.
- Set cpu mode default value.

Closes-Bug: #1639020
Closes-Bug: #1638930
Partial-Bug: #1638773
Partial-Bug: #1639943

Change-Id: Ifbf627329ddb25a29d6c0af4b9a34a488bc55629
2016-11-07 20:50:16 +00:00
James Page f9f4e3fe0b Refactor for Mitaka and z/KVM
* Updates for mitaka baseline

* Add parts directory from nova compute

* Fixup typo

* Add serial console support

* Fixup rel to neutron-api

* Add missing hooks for napi-plugin

* Remap

* Drop deprecated option from nova-cc

* Add prevent arp spoofing config option inline with n-ovs

* Add cpu-mode and model to config options

* Fixup configuration context passback

* Drop remvoed _neutron_api_settings code

* Update tox to skip unit tests for now

* Add status support

* Update status message

* use comma in managing list

* Directly use internals of openstack utils to evaluate interface states

* Tweak interface handling

* Fixup typing

* Add wedge to ensure that status of relations inc neutron-plugin-api is OK

* Revert "Add wedge to ensure that status of relations inc neutron-plugin-api is OK"

This reverts commit 7b955846a636f69d3a46317bed876641ef583fb7.

* Add reserved-host-memory configuration support

* Add update status hook

* Add series to metadata.yaml

* Update copyright to apache 2.0

* Ensure VNC is disabled
2016-10-26 15:12:24 +02:00
Ryan Beisner 568d50922d Switch to remote-repos 2016-10-06 14:55:42 +00:00
Andrew McLeod abf0464187 fix repo_id 2016-10-06 15:02:12 +02:00
Andrew McLeod 2096356687 install python2 with bash first 2016-10-06 13:36:25 +02:00
Andrew McLeod 819edf9d77 changed remote-repos to comma separated string in config, nova_compute and yum.template 2016-10-06 13:08:07 +02:00
Ryan Beisner fe7310b362 Update config, readme; remove power-specific ties. 2016-10-05 21:54:44 +00:00
Ryan Beisner 263b4cd879 Charm Helpers resync 2016-10-05 20:47:43 +00:00
Ryan Beisner 9146ddc1c5 Prep for move to git/gerrit
- Fix lint
- Remove files unrelated to the charm
- Ensure license info is in place
- Update metadata and maintainer info
- Prep test dirs
- Add .gitignore
2016-10-05 18:36:43 +00:00
Ryan Beisner fa8866dbba sync charmhelpers 2015-06-04 15:05:27 +00:00
James Page 486bdca45a Charm Helpers resync 2015-06-04 12:33:13 +01:00
diogo.matsubara@canonical.com 86d53b16f5 fix selinux permissions 2015-01-13 12:28:21 -02:00
James Page 12b63acff9 No-op save flag file as well 2014-11-12 12:29:34 +00:00
James Page 0034764697 Revert 2014-11-10 16:43:55 +00:00
James Page 587a6138e0 Use local ssh keys 2014-11-10 16:37:46 +00:00
James Page 604f4b5879 Fixup problem 2014-11-10 16:35:23 +00:00
James Page a368060f75 Drop use of explicit ssh key file - just tell users to have it under ~/.ssh 2014-11-10 16:34:09 +00:00
James Page 1047b6dfd1 Fixup issues 2014-11-10 16:21:44 +00:00
James Page ee165bc580 Add relation for neutron-api and assocaited features 2014-11-10 16:18:39 +00:00
James Page a317e43169 Add option for data port 2014-11-10 16:15:04 +00:00
James Page dbe062fa63 Tidy contexts for previous changes 2014-11-10 12:06:25 +00:00
James Page a56cb89700 Move local_ip configuration to post push 2014-11-10 12:03:54 +00:00
James Page a576bd6c53 Diff packages 2014-11-10 11:49:45 +00:00
James Page b613fb39fb Prettify paths 2014-11-10 11:40:13 +00:00
James Page 0332485ad6 Fixup pathing 2014-11-10 11:35:13 +00:00
James Page f3aa17c726 More debug 2014-11-10 11:32:37 +00:00
James Page c6b095c6d1 Try again 2014-11-10 11:31:10 +00:00