Commit Graph

16 Commits

Author SHA1 Message Date
Ryan Beisner e69a562494
Standardize auxiliary file location across os-charms
Change-Id: Ic06c4fcdd87d350a0e41cb9de62bd7887aae7168
Closes-Bug: #1843826
2019-09-12 15:27:36 -05:00
Joe Guo 660ce5b021 Migrate from Amulet to Zaza
This patch migrate tests from Amulet to Zaza, and Python3 only.

SSL is enabled for all bundles with charm-vault, except trusty, which is
not supported by vault.

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/55

Partial-Bug: 1828424

Change-Id: I4dacf33d3ab4dedbbe62a36b1b2ce5606e51d234
Signed-off-by: Joe Guo <guoqiao@gmail.com>
2019-09-12 22:41:32 +12:00
Frode Nordahl 24e426cd16
Support connecting to RabbitMQ with TLS
A side effect of the implementation is system installation of CA
certificate from the RabbitMQ relation.

This incidentally allows gss OpenStack clients to connect to API
endpoints in a Vault TLS enabled deployment, as the Vault CA is
announced over the RabbitMQ relation.

Change-Id: I4317b5db112546c34b561f6c743e83504dda8694
Closes-Bug: #1841553
2019-08-27 13:10:48 +02:00
David Ames 3482fb7707 Allow local hosting of product-streams
When use_swift=False in addition to syncing images into glance, also
host the product streams metadata using apache.

Change-Id: I6aad2fee3670f575014d0845f3bd7aae6fa06785
Closes-Bug: #1840830
2019-08-20 15:38:39 -07:00
Frode Nordahl 663a15c5fe Fix sourcing of proxy related environment variables
Juju has changed where it stores proxy related environemnt
variables on units:
223b8db274

Update helper script to source from the correct location.

Change-Id: I506de446df05051acc7844323e5b5d5a5495f9bf
Closes-Bug: #1399622
2019-02-14 11:18:13 +01:00
Alex Kavanagh ac1d2b5dda Add ssl_ca option to enable to gss
This patch enables SSL to be used with glance-simplestreams-sync.
The ssl_ca option allows a base64 encoded PEM CA certificate to be
used with g-s-s such that the keystone and glance HTTPS sessions are
verified using that certificate.

A new basic_deployment_ssl.py is introduced that just verifies that the
gss charm can get gss to perform a sync; this verifies that gss can
communicate with https versions of keystone and glance.

Note that the simplestreams package also requires a change for SSL to
function properly.  As simplestreams doesn't seem to use PyPi, the
version from the git master will need to be used.

Change-Id: Idcdcb2c933a92a558e729aeb718b58d4077621a7
Closes-Bug: #1802407
2019-01-11 09:37:56 +00:00
James Page 733db81f94 Trivial restoration of endpoint URI updates 2018-05-17 08:23:08 +01:00
David Ames 3eca8aa5f1 Fix updating keystone catalog endpoints
GSSS was failing to update the keystone catalog endpoints when using
keystone v3. There was a lot of outdated code that needed to be updated.
However, there was also existing code to update the keystone relation
which accomplishes the same thing. Keystone is the right place to handle
the various differences between v2 and v3.

This change updates the sync script to simple update the keystone
relation in order to register and update catalog endpoints.
2018-05-16 23:11:01 +00:00
axino acacf26a1f fix g-s-s.py locking : only remove the lockfile if we have the lock
Fixes LP#1766881
2018-04-25 15:55:45 +02:00
Ryan Beisner eb175d20e1 Clarify lint cleanup with comment on user_agent 2018-04-12 20:21:25 +00:00
Ryan Beisner 874b1ef3bb Stop logging passwords in id_conf 2018-04-12 19:55:24 +00:00
Ryan Beisner bcd7ef69fb Fix existing lint in scripts payload 2018-04-12 19:14:23 +00:00
Ryan Beisner 1fefc1acce Ensure gss log file permissions 2018-04-12 19:08:31 +00:00
David Ames a47ceff0b4 Keystone v3 updates
Match g-ss-s ksv3 with simplestreams ksv3 implementation.

charm-helpers sync
2017-09-12 22:16:54 +00:00
Alex Kavanagh 467233b088 Add support for keystone API v3
This changes ensures that the correct keystone client is used with the
version of the keystone API URL that is passed in.

(This change taken mostly from gnuoy branch in launchpad).
2017-06-13 17:48:20 +01:00
James Page 6cc0f9dc88 Initial baseline from bzr 2017-04-10 09:00:27 +01:00