Use oslo_messaging_notifications for mitaka or later releases
including setting the transport_url to the value provided by
the AMQP context.
This removes use of deprecated configuration options for
ceilometer notifications.
Change-Id: I66188d7275a84efd7aea4482db88b20983fe671f
Nova-lxd requires that our Ceph images only contain the features
supported by the kernel RBD driver, and a discussion on the dev mailing
list suggests that 1 should work fine as the driver level
This commit contains a charmhelpers sync to bring in the new
flag to support configuration sent from the ceph charms.
Change-Id: Iea2e2215cce01efe47adff9ec6743538c92f2437
Resync charmhelpers for pike version support.
Add pike tests but leave disabled until all charms support pike.
Change-Id: I156725597c4b6dea1b048dcacc13cce95f435001
Use the get_relation_ip function for selecting addresses for the
cluster relationship. Including overrides for the admin, internal,
and public config settings or extra bindings.
Partial-Bug: #1687439
Change-Id: Ib554aa390a4bad04e8ad689effb8ab1739e84e26
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes
Change-Id: I81f12128573132a83d98d7fba7038447c73c1bbd
- sync charmhelpers with fix-alpha helpers
- fix up code where the alpha comparisons are done
Change-Id: I6851849b8107e59e9e6ff529348c7b183d36266b
Related-Bug: #1659575
When the percona-cluster charm sets an access-network but the default
unit-get address is not on that network extra shared-db relations get
executed. This is specifically a problem when running upgrades and
trying to avoid API downtime.
The root cause is that the access-network is not checked until the
SharedDBContext is consulted. But then db_joined function will
change it back to the wrong ip on subsequent runs.
This change adds a check for access-network on the relation during
the db_joined function and pushes IP selection off to
get_relation_ip.
Charm helpers sync to pull in changes to get_relation_ip.
Change-Id: Ifc22d61f1de1092306b98d30fbea01fead855d14
Partial-bug: #1677647
Resync charm-helpers to pickup the capped worker-multiplier
changes when deploying in containers.
Drop the default value for worker-multiplier of 2.0; this
is now handled from within the codebase rather than via a
default configuration value, reflecting the differing
behaviours between container and non-container deployments.
Change-Id: I418aac85c408b285cf6807ff4072e565898df399
Closes-Bug: 1665270
- 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: I97dfe70ceec4bc9be688468fe7b4eed216f1ccb4
CephContext now is capable of dealing with a space separated list of IPs
in the ceph-public-address field of the relation with ceph. This allows
ceph-proxy to pass a list of monitor hosts instead of a single one.
Change-Id: I83abc2c151636aea0b5dffc32f2e3c91acb7558b
Partial-Bug: 1642430
Closes-Bug: 1670223
Sync charmhelpers and add configuration option to allow access
to ceph pools to be limited based on grouping.
Glance only requires rwx access to pools containing images.
Change-Id: I72611b38887a686f6acaeffd70bc4705a425a07b
Partial-Bug: 1424771
To expose the image location in the API for versions below Mitaka,
show_image_direct_url should be set to True. For Mitaka specifically,
show_multiple_locations should also be set.
This change sets both of these values when show_multiple_locations is
set in the charm.
Change-Id: Ibb3b6ecd92834f6345d21801942da0d3466d5bdc
Closes-Bug: #1645703
With the release of 4.2.0 of keystonemiddleware using the
in-process token cache is no longer recommended. It is recommended
that a memcache backend to store tokens is used instead,
This installs and configures memcache and configures glance
to use memcache for token caching.
http://docs.openstack.org/releasenotes/keystonemiddleware/mitaka.html#id2
Change-Id: If1a95fbd4e5771eaad937573dd4ee28750080218
The charm store does not yet recognize this series, and errors
when it exists, thereby preventing push/release of dev charms
into the charm store.
Revisit after the following is resolved:
- https://github.com/juju/charmstore/issues/695
Change-Id: I728e1b1d36f39f6c4339b25a7aaaa0a32f378d52
- Remove Precise-Icehouse Amulet test definitions if they exist.
- Add Xenial-Newton Amulet test definitions.
- Add Yakkety-Newton Amulet test definitions.
- Use the percona-cluster charm in tests instead of the mysql charm.
Change-Id: Idee95359049dcc4fcb1c30f9ed3fce640fef1eb7
When a glance unit is removed a 'cluster-relation-departed' is sent to
each of the remaining units. This was not being used, but the
side-effect was that the hacluster.cfg file was not being updated which
left the now deleted unit haproxy.cfg. This change just tags on the
hook for 'cluster-relation-departed' to the function that handles
'cluster-relation-changed' so that the haproxy.cfg file gets updated.
Change-Id: I70f985614a2c66344360ab744ec6996f9604a9c3
Closes-Bug: 1592273
Juju 2.0 provides support for display of the version of
an application deployed by a charm in juju status.
Insert the os_application_version_set function into the
existing assess_status function - this gets called after
all hook executions, and periodically after that, so any
changes in package versions due to normal system updates
will also be reflected in the status output.
This review also includes a resync of charm-helpers to
pickup hookenv and contrib.openstack support for this
feature.
Change-Id: I059d03fd0ae0c445b5822b3e48476e54b839689d
This optimizes the publication process to the charm store, and
ensures that the charm code and version is consistent across all
supported Ubuntu series.
Change-Id: Id7d0a88a91be0245b7a010db4728fce2ab37c805
All OpenStack Charms now contain identical tox.ini files,
not to be modified or made unique within each charm repo.
This is to ensure consistency across charm repos in tox
target naming, approach and purpose, also giving the
charm dev and test experience additional consistency.
Also create empty dirs with .keep files where necessary.
Some classic charms have actions and/or lib dirs, and some
do not. In all classic charms, flake will now check those
dirs to ensure lint coverage of existing or future content.
Change-Id: Ia8fbfa451e991d241018ab16e27dd81785d60731
All OpenStack Charms now contain identical tox.ini files,
not to be modified or made unique within each charm repo.
This is to ensure consistency across charm repos in tox
target naming, approach and purpose, also giving the
charm dev and test experience additional consistency.
Change-Id: Idf952e4958df409fb15a7ea6a53adaebbe8a5abf
This changeset allows to change default store to cinder
and define additional key/values for glance-api.conf file.
Some cinder backends could require additional changes
in service and additional changes in the OS.
Same functionality implemented in cinder charm via storage-backend interface.
Change-Id: Ia9c78df7e9a1ccb0d9ca2121dd01e5832186bf19
Glance charm allows to store images in file, ceph, swift.
This changeset adds support for storage of images in Cinder
for OpenStack Mitaka or later.
Required dependencies are installed on relation to Cinder
(inline with Ceph integration).
This feature is dependent on resolution of some packaging
issues in the glance-store package (see Related-Bug).
Related-Bug: 1609733
Change-Id: Ib9d9f28e040b7b2eebb3f5d0ee9ff0773292bdcc
Switch to using bundletester for execution of functional tests,
leveraging tox to build out test virtualenvs.
Rename amulet tests inline with gate-*, dev-* and dfs-*
naming standards.
Update README to refer to functional testing section of the charm
guide.
Change-Id: I1ee38355112d8c5062340546bd01b1cce6593a3f
When using charmhelpers.contrib.network.ip apt install was quietly
failing. Install python dependencies in the early install hook
(before install.real).
Charm-helpers sync to bring in apt_install with fatal=True
Change-Id: I5dd279a1a13b7b34c8392b576b6de4e029765b67
Partial-Bug: 1601972
Provide the weight option to the Ceph broker request API for requesting
the creation of a new Ceph storage pool. The weight is used to indicate
the percentage of the data that the pool is expected to consume. Each
environment may have slightly different needs based on the type of
workload so a config option labelled ceph-pool-weight is provided to
allow the operator to tune this value.
Closes-Bug: #1492742
Change-Id: I56c7de4d9213fe85ce89cbad957291b438f6f92f
* openstack-origin is no longer required when using openstack-origin-git.
* Drop kilo from openstack-origin-git default values because upper
constraints doesn't work in kilo for openstack-dashboard and glance.
* Add flag to allow for disabling upper constraints when using
openstack-origin-git with user-specified git repositories.
Change-Id: I017dfd20e3fe997558c13d15c7d05dd1692e7730
Change the worker-multiplier to a floating point config option type
instead of integer. This allows users to specify workers to be less
than the number of CPUs, which is useful in deployments with multiple
services deployed into containers on top of bare metal.
The fix is to simply change the config option type and to sync in
the necessary update from lp:charm-helpers.
Partial-Bug: #1602444
Change-Id: I5f7b24d53f35c4a7ec9e5de563afa5e232ca83af
Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
Some previously applied changes to charm-helpers where lost
due to the way that changes get merged into the master branch.
Perform a fresh sync and restore lost changes.
Change-Id: Ib2370a50e2e1d8d51c7d8b7952ced0991edf33b8
The charm-helpers project have re-licensed to Apache 2.0
inline with the agreed licensing approach to intefaces,
layers and charms generally.
Resync helpers to bring charmhelpers inline with charm
codebase.
Change-Id: I2f0d52c539a7edbbf806c7ab7a4679274fd095d8