Misc updates to support rebase of snap on core20:
- Python plugin is py3 only.
- No need to massage site.py.
- Correct path to python3 binary.
Change-Id: I979e6a0e8eab9caaf313f232c6eaf78245157a5b
The ceilometer API is long removed so this client is obsolete and
no longer compatible with the requirements of other client
modules.
Change-Id: I822c7a24e52d12a7c5a16706855bf02b55d991fc
Set the PYTHONIOENCODING to utf-8 in order to prevent the python
interpreter from treating the character sets as ASCII.
Closes-Bug: #1933513
Change-Id: Iec5af33bded88cabd16933ce2c7ff63635a945cc
When importing ssh keys using openstack keypair create
we get Permission denied, running with snappy-debug
suggests to add ssh-key to plugs.
ssh-public-keys is being dropped as ssh-keys interface
also allows access to public keys.
Change-Id: Ib7e6a13da8b34e03d5ad042e5e4862ff14c4dc87
Update version name -> wallaby.
Drop masakari binary as no longer provided.
Switch to master branch of global requirements.
Change-Id: I9ec5a7e7435b032095b3d92788a13d4e7405bb85
There are more options to specify a clouds.yaml file:
a) the file can end with .yml, .yaml or .json
b) the file can be located in the user home dir or in /etc/openstack
So allow read-only access to /etc/openstack and ~/.config/openstack/ .
See
https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/config/loader.py#L49
Change-Id: I84276ff4b12acc5f4ac5092580bb0e652d518e54
To support the workflow of adding a users public SSH key from the
``openstack`` and ``nova`` CLI commands add the
``ssh-public-keys`` interface.
Change-Id: I667ed8d82393a8edb5d37ca00770fcc4aa8665b6
Closes-Bug: #1898089
Make use of the personal-files interface to allow access
to clouds.yaml for the user running the commands.
All commands need network and home plugs for operation.
Change-Id: Ic1e06af58f04f7e5d30a69b05fce1d70390aff16
This plugin adds a CLI for the Placement API.
Documentation: https://docs.openstack.org/osc-placement/latest/index.html
Change-Id: I31a0359cd8d010ad381f3de9ee1caaa60814cbb5
Closes-Bug: 1852373
Signed-off-by: Paul Collins <paul.collins@canonical.com>
Update snap for Train versions of the OpenStack Client and
dependencies.
Use core18 as the base for the snap.
Drop misc commands that are no longer provided.
Use python3 as the interpreter for snapcraft builds.
Switch to microstack style LXD build with switch to core18
base.
Change-Id: I2e3dc49c2ddb6889a3bf3738002d03cbc87fa644
With the introduction of python bytecode compilation, this
snap is ready for release into the stable channel.
Change-Id: Ib0c6dec17a343e851f20c308704ca3824c5ffd42
Ensure we include pyc files as part of the snap so that it
actually loads in a reasonable amount of time.
Change-Id: I4af6edb829129e2ce97d03f7d53f2393c7234926
Re-align snap with pike release.
Drop aliases as these are managed by the snap store.
Switch to Python 3.
Change-Id: Ib18988d516ec42b8620c85e67bb15d66c5a55259
Ensure snapd is installed, and that the core snap is installed as
required for build of classic confinement snaps.
Change-Id: I65fd83a9011cdd5a8117660f8904f8a083d4f243