Commit Graph

511 Commits

Author SHA1 Message Date
OpenDev Sysadmins ebc5daec87 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:43:05 +00:00
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
Corey Bryant 2662cc8244 Remove ch-tests from make sync command
The tests/charm-helpers contents were removed in the last cycle
but the corresponding sync tool was not updated for this charm.

Change-Id: I514c00333c77367cbdb4bb6d8a06c91562a9187d
2019-01-08 15:22:53 +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
Ryan Beisner 0798332baa
Fix lint in unit test
Change-Id: Iaa1545c63f5b040f5ebd8ea2e715aaecd3f3e5c4
2018-11-01 14:58:50 -05: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 555c706c7a Update requirements
Also remove tests/charm-helpers if present, in favor
of the pip-installed charm-helpers.

Change-Id: I53a0b0f8f1b247e85be360902599b9a731297407
2018-10-03 13:11:09 -05: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
Doug Hellmann 326161a2a7 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I18e0a598434ec3a27c45167c06f99f91cde242db
Story: #2002586
Task: #24317
2018-09-11 13:18:32 -04:00
Ryan Beisner 9e6036693b Update functional test definitions
Change-Id: Ia7d7e68974eb7b5264eed24dd6c360cfd09414f1
2018-08-27 18:17:00 -05:00
Ryan Beisner 8255eb5983 Update functional test definitions
Change-Id: I7cc25f62f02b649598dc255a1b5a8dd83e5a5a73
2018-07-18 18:37:47 -04:00
Chris MacNaughton 500eb58499 Sync charm-helpers to ensure Rocky support
Change-Id: Ibe708f4756a197572d862a72f7e59325a0eaacaa
2018-07-13 15:58:07 +02:00
Ryan Beisner 4cbb1bd332 Update series metadata
Ensure that EOL releases are removed from metadata
and tests, and that the current dev release is enabled
in metadata.  Dev release tests are enabled separately
because of chickens and eggs.

Change-Id: I8739564d16a510a459afdf541d3071d04533de8e
2018-07-11 14:06:58 -05:00
Vu Cong Tuan 92f3a1aad6 Add py36 testenv
Python 3.6 is installed by default in Ubuntu 18.04 LTS.
Therefore, according to Transition Plan [1],
it'll be handy to have py36 testenv.

For more details, please check Python2 Deprecation Timeline [2]
and Python3-first Goal - Completion Criteria [3].

[1] https://wiki.ubuntu.com/Python/Python36Transition
[2] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html
[3] https://review.openstack.org/#/c/575933/8/goals/stein/python3-first.rst@42

Change-Id: I616736765011ae0d8052c8787c4fbb0bf95736c1
2018-06-27 15:03:16 +07: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 afa7f60069 Remove deprecated functional test targets
Change-Id: I7906d27335642d50f75475473ac150d257e4c380
2018-05-09 16:37:20 -05:00
Ryan Beisner 4df2962a98 Update tox.ini to stop using unverified package
As of pip 10.0, --allow-unverified is not permitted.

Use of the flag in this repo was previously used to force
installation of python-apt to accommodate certain unit tests.

The unverified package, python-apt, is no longer necessary
for test execution.

Related-Bug: #1760720

Change-Id: I941222148feee502b5f70a59271c465cad8a8fde
2018-04-03 16:34:06 +00: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
Ryan Beisner 7baaf7ef87 Add Bionic and remove Zesty series and tests
Bionic, being the next LTS, is important to enable for dev
and test as early as possible ahead of 18.02.

Zesty goes EOL in Jan 2018. The next stable charms release (18.02)
will not provide Zesty series support, as it was an interim
(non-LTS) release.

Change-Id: I0bdf3dd1d3f87f0836c87d29ff720f3b3386de1e
2017-12-05 05:29:49 +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
Ryan Beisner a78e6eef64 Add Artful dev series metadata
Change-Id: I847907bc4a9f9c4bb658207d247c5acf724360f8
2017-09-26 11:41:19 -04:00
Frode Nordahl c1b10aaa50 Update repo to do ch-sync from Git
Change-Id: I0fa43ac63203c0cf86c062dd725dcba469e73796
2017-09-26 10:26:35 +02: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
zhangyangyang 1921e2011a change assert(Not)Equals to assert(Not)Equal
According to http://docs.python.org/2/library/unittest.html
assert(Not)Equals is a deprecated alias of assert(Not)Equal.

Change-Id: If0849fe258b723b3d992a73382bc315f70ebd481
Closes-Bug: #1329757
2017-09-11 21:22:12 +08:00
Ryan Beisner ede2126a41 Sync charm-helpers
Change-Id: Iedabae14d63514d386644515f71caeb80b337a15
2017-08-24 17:13:15 -05:00
Ryan Beisner 77a7ec0b09 Remove deprecated series metadata and tests
Change-Id: I4dbc64a3544432d89a71083998819147c19ce2fc
2017-08-23 09:55:10 -05:00
Andrew McLeod 66462c63c6 Modify tests.yaml which specifies bundletester config params
with the following key:value pairs:

- reset_timeout: 600

Change-Id: I316dcba1462edb14ed7134a4e9a3d8c0ae74fdf7
2017-08-09 14:28:20 -06: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
Ryan Beisner 64fdf10165 Trivial metadata description update 2016-10-26 15:23:02 +02: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 730409c39b added files dir and keeper file 2016-10-06 13:26:00 +02:00
Andrew McLeod 0dadd3f3fe changed remote-repos to comma separated string in config, nova_compute and yum.template 2016-10-06 13:20: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 a0245dbf7e Rename readme for markdown rendering 2016-10-05 21:55:47 +00:00
Ryan Beisner fe7310b362 Update config, readme; remove power-specific ties. 2016-10-05 21:54:44 +00:00