Update the charmcraft.yaml file to use base and platforms, only
allowing noble support.
- Update config to default to caracal.
- Update osci.yaml to use the charmcraft 3.x/beta
- Add noble/oracular to charmhelpers
- Drop non-noble tests
Change-Id: I1b386e6b36c85621da7e89618b407fb551197a08
These updates, on the master branch, are to support testing the caracal
packages and support of the charms for caracal. They do NOT lock the charms
down, and don't change the testing branches to stable branches.
Change-Id: Ib7947ab8dfd4c4b18c482f4df1a7c6f5b5e3756f
* Voting was turned on for jammy-antelope in the
project-template for charm-functional-jobs in zosci-config
* Voting for jammy-antelope bundles with non-standard names
is turned on in individual charms
* Kinetic-zed bundles/tests are removed
Change-Id: Ic290801451f6537e25dfb0330a81598bbafa7135
- Drop extra-repositories from jammy-zed bundle. The repository
ppa:openstack-charmers/swtpm is only needed when running on Focal,
the Ubuntu Archive >= Jammy contains the needed packages.
- Drop 'source' config key from rabbitmq-server and
mysql-innodb-cluster. The infrastructure support charm are sourced
from 'distro' and they don't need to configure an UCA source.
Change-Id: Ia60e46b8b2d35034767a2932176ec799c2e086bf
Closes-Bug: #1994055
* sync charm-helpers to classic charms
* change openstack-origin/source default to zed
* align testing with zed
* add new zed bundles
* add zed bundles to tests.yaml
* add zed tests to osci.yaml and .zuul.yaml
* update build-on and run-on bases
* add bindep.txt for py310
* sync tox.ini and requirements.txt for ruamel
* use charmcraft_channel 2.0/stable
* drop reactive plugin overrides
* move interface/layer env vars to charmcraft.yaml
Change-Id: I506c53b4956024066bc769665525cb022438a0ae
Enable vTPM support in nova-compute charm. This adds new packages to be
installed swtpm and swtpm-tools as well as updates the nova-compute.conf
file and the qemu.conf file to set appropriate user/groups for swtpm.
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/696
Change-Id: Idf0d19d75b9231f029fa6a7dc557d2a9ee04915b
This update is to ensure that the Zuul Canonical CI builds the charm
before functional tests and ensure that that artifact is used for the
functional tests. This is to try to ensure that the charm that gets
landed to the charmhub is the same charm that was tested with.
Change-Id: Ic9e267db4934cb95125eebb2ff3b1ca09d64e003
For principal - subordinate plugin type relations where the
principal Python payload imports code from packages managed by a
subordinate, upgrades can be problematic.
This change will allow a subordinate charm that have opted into the
feature to inform its principal about all implemented release -
packages combinations ahead of time. With this information in place
the principal can do the upgrade in one operation without risk of
charm relation RPC type processing at a critical moment.
This makes use of
https://github.com/juju/charm-helpers/pull/643
This is similar to
https://review.opendev.org/c/openstack/charm-keystone/+/781822
Also fixed broken link to charm-guide.
Change-Id: Iaf5b44be70ee108cbe88b4a26f0f15f915d507fe
Closes-Bug: #1927277
Recent test run(s) have shown memory exhaustion on the nova
cloud controller units. This exhibits itself as the controller
dropping messages from the compute nodes and logging messages like:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/oslo_service/threadgroup.py", line 268, in _perform_action_on_threads
File "/usr/lib/python3/dist-packages/oslo_service/threadgroup.py", line 342, in <lambda>
lambda x: x.wait(),
File "/usr/lib/python3/dist-packages/oslo_service/threadgroup.py", line 61, in wait
return self.thread.wait()
File "/usr/lib/python3/dist-packages/eventlet/greenthread.py", line 180, in wait
return self._exit_event.wait()
File "/usr/lib/python3/dist-packages/eventlet/event.py", line 125, in wait
result = hub.switch()
File "/usr/lib/python3/dist-packages/eventlet/hubs/hub.py", line 298, in switch
return self.greenlet.switch()
File "/usr/lib/python3/dist-packages/eventlet/hubs/hub.py", line 350, in run
self.wait(sleep_time)
File "/usr/lib/python3/dist-packages/eventlet/hubs/poll.py", line 80, in wait
presult = self.do_poll(seconds)
File "/usr/lib/python3/dist-packages/eventlet/hubs/epolls.py", line 31, in do_poll
return self.poll.poll(seconds)
MemoryError
to the nova-conductor log.
It seems very likely this issue is specific to Bionic Stein so it
may be a little wasteful to have increased the memory allocation
for all the bundles but I think consistancy between the bundles is
more important.
Change-Id: I4c693af04b291ebaa847f32c9169680228e22867
Co-authored-by: Liam Young <liam.young@canonical.com>
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby support.
Libraries sync.
hisute-wallaby test is disabled (moved to dev) due to [1] as bundle may
reference a reactive charm.
[1] https://github.com/juju-solutions/layer-basic/issues/194
Change-Id: I238e8a36b033594c67ffcefa325998f2eba2a659
List of added actions:
* disable
* enable
* remove-from-cloud
* register-to-cloud
More detailed explanation of the process added to the README.md
Closes-Bug: #1691998
Change-Id: I45d1def2ca0b1289f6fcce06c5f8949ef2a4a69e
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/470
This new action to list instances as
virsh sees them on the node (virsh
list --all), sometimes this disagrees
with what nova thinks
Add a new zaza functional test class to
avoid breaking the older versions
To run the action, issue command:
$ juju run-action nova-compute/0 virsh-audit --wait
unit-nova-compute-0:
UnitId: nova-compute/0
id: "134"
results:
virsh-domains: |2+
Id Name State
-----------------------------------
1 instance-00000001 running
2 instance-00000002 running
status: completed
timing:
completed: 2020-12-08 11:05:02 +0000 UTC
enqueued: 2020-12-08 11:04:58 +0000 UTC
started: 2020-12-08 11:05:01 +0000 UTC
Closes-Bug: #1907409
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/472
Change-Id: I222a119199ada82186e2058402a31a40baf7fd7b
This patch adds a focal-ussuri and bionic-ussuri bundles to the tests
for the charm. The linked bug is concerned with installing
nova-network, which is not available on Ussuri.
Closes-Bug: #1872770
Change-Id: Iea5a682aaebeb6f6941cf9d8f5780473f457e455
Drop service check for ``glance-registry``. The service is
removed as of Stein, and it really is not this charm functional
tests job of checking this anyway. Any such detail should
be deferred to the ``charm-glance`` functional tests.
Update templates/usr.bin.nova-compute as nova-compute requires
read access to /etc/mime.types.
Change-Id: I9a894ef2a3395ead2509edd4a6b8885a1739e974
Currently, Neutron is only enabled on functional tests for
Xenial/Ocata and later. This patch changes it to enable Neutron
for Trusty/Mitaka and later.
Change-Id: I61b3ae62f322a8bf54baa78f6c3d7da81c37abf2
The stein version of python-oslo.messaging (9.0.0+) has removed
the following config options from the [oslo_messaging_rabbit]
section:
rabbit_host, rabbit_port, rabbit_hosts, rabbit_userid,
rabbit_password, rabbit_virtual_host rabbit_max_retries, and
rabbit_durable_queues.
The above change requires a sync from charm-helpers.
Additionally the transport_url directive has been moved to the
[DEFAULT] section.
These have been deprecated since Ocata, therefore this change
will be provided to pre-Stein templates in order to drop
deprecation warnings.
See release notes at:
https://docs.openstack.org/releasenotes/oslo.messaging/index.html
test_300_nova_config is also removed in this change as amulet tests
no longer need to confirm config file settings.
Change-Id: I63e5abfecb45d097afed14d082cb91457c4fa60b
Closes-Bug: #1817672
libvirt needs to be running even when the pause action runs, this allows
commands like "virsh secret-list" run and having it running is safe
enough from a nova-compute unit point of view, because it won't touch
the already running instances.
Change-Id: Idec9e2b7c6275c4c5485942574120289552f2955
Closes-Bug: 1802917
As well as destroying the network we should also undefine it
to ensure it does not return.
Change-Id: I57738856adb25c190357b1b23dd8a1245798cb14
Closes-Bug: #1800160
If the compute node is deployed in a cell it will get service
credentials via a direct relationship with keystone and not
from a nova-cloud-controller relation. This change adds support
for having a complete CloudComputeContext without having
service credentials.
Change-Id: Id39262c53f207bb61b0a60954d5a077562e4e6f3
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: I21a102c9454b3d824f6345dbc94363613d494397
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: I20ebd183dc6758337e411574c75048143dadb09a
Since Icehouse nova-compute does not need to access to a database, all
accesses are made through nova-conductor.
This patch removes shared-db relation and their hook handler.
Change-Id: I7c4f6a70785d7dad1727d52cf86508209849ca35
Closes-Bug: 1713807