Commit Graph

50 Commits

Author SHA1 Message Date
James Page 4c0fdd1d73 Update to core22 base
Misc refresh of snapcraft fields to align with requirements
for core22.

Change-Id: I5dcba7320b2ff2bf04e52542e1c1f426fa64afdc
2022-10-28 10:00:42 +02:00
James Page 03583028bb Update for OpenStack zed
Use stable/zed upper-constraints.

Drop duplicated glance entrypoint.

Change-Id: Id55e847e289e2eddf73aef2d2f15a63f719a4b14
2022-10-28 09:51:43 +02:00
James Page 82e6a2c771 Rebase to core20
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
2021-10-28 14:45:25 +01:00
James Page 545d6ca761 Refresh README
Snap is now confined and aliases are all setup on install.

Change-Id: Ief8b1e8bbc9f0a0cfcf193cbf4e08fb69c87a4b8
2021-10-28 11:23:28 +01:00
James Page 2045b221bd Drop ceilometerclient
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
2021-10-28 11:21:55 +01:00
Zuul 1ffcaac9b5 Merge "Open for Yoga development" 2021-10-07 09:23:00 +00:00
James Page a51869619c Open for Yoga development
Change-Id: I2bda2565dd6fb22b2d86ecf834f69f3d6d2ee4bc
2021-10-07 09:22:53 +01:00
Billy Olsen 339687fe61 Set PYTHONIOENCODING to utf-8
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
2021-08-16 18:14:26 -07:00
Rodrigo Barbieri b2c7810356 Use system-certificates by default
Use system-certificates by default if the
--os-cacert param or OS_CACERT env var
is not defined.

Change-Id: I9689e39013ce671cbe5b4f8277364aaac05e3947
2021-06-09 14:13:38 -03:00
James Page 0fc8718422 Switch version to xena
Change-Id: I59d0bed89a839fc81bdc7e430b47ec89143c4dd1
2021-05-17 10:04:18 +01:00
Zuul 997cb183f7 Merge "Allow access to more clouds files" 2021-05-14 13:03:17 +00:00
James Page 6d8a9b3070 Revert "Add ssh-keys to plugs for openstack commmand"
This reverts commit 16503883bd.

Change-Id: I388ffc64d48590404edb464666ed35e272ae8522
2021-03-26 11:36:43 +00:00
Arif Ali 16503883bd
Add ssh-keys to plugs for openstack commmand
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
2021-03-26 09:15:30 +00:00
James Page 1f8e4d0182 Add cargo to build packages
Required for cryptography rust build.

Change-Id: I2b5f19c8c9acfe0ccef3a62b2da2ab8ecd3c78ea
2021-03-22 07:34:27 +00:00
James Page 709b832e40 Add Cython to python packages
Supports builds on alternative architectures.

Change-Id: Ia54d0b56f1178382ea58dea2ec712026b09ebe1a
2021-03-19 10:02:50 +00:00
James Page 707d87907b Add rustc to snap build packages
Change-Id: I526f2305bf45d7c8bdc15e935191a6aefe889250
2021-03-18 15:38:27 +00:00
James Page 967307e90b Add setuptool-rust to python packages
Required for cryptography.

Change-Id: If58a4561c12d4e63807db0116ec46a7f2a28f7c1
2021-03-18 10:49:14 +00:00
James Page 3ab90a7673 Add cython3 to package dependencies
Resolves pip install issues on archs other than arm64 and x86_64.

Change-Id: I4541b06a1eff0a1d3d8a2d85356a25b357e4bd51
2021-03-17 09:24:44 +00:00
Zuul 97d7d0c227 Merge "Update branch for wallaby development" 2021-03-16 11:28:35 +00:00
Zuul 6e180022ad Merge "Remove retired Searchlight usage" 2021-03-16 10:52:17 +00:00
James Page 9341d6c0f6 Update branch for wallaby development
Update version name -> wallaby.

Drop masakari binary as no longer provided.

Switch to master branch of global requirements.

Change-Id: I9ec5a7e7435b032095b3d92788a13d4e7405bb85
2021-03-16 10:48:44 +00:00
Zuul 22731211ed Merge "Add toml as an explicit requirement" 2021-03-15 10:53:29 +00:00
Thomas Bechtold 528db56bbc Allow access to more clouds files
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
2021-03-15 10:42:19 +00:00
Zuul e147601238 Merge "Allow relevant commands access to users public SSH key" 2021-03-15 10:28:57 +00:00
James Page accf2a0521 Add toml as an explicit requirement
Resolves issue with non-x86 architecture builds.

Change-Id: I1238c79ae758a1624dfeb647a6aafdf437d7cc96
2021-03-15 10:17:12 +00:00
Thomas Bechtold 66121800bd Update snap for victoria release
As stable branches have now been cut update the snap to use
Victoria release versions.

Change-Id: Ifbe6048666656a985bb6ba9cdf09b6a010fe6c68
2020-12-22 16:00:44 +01:00
Ghanshyam Mann e0ff71d4d3 Remove retired Searchlight usage
Searchlight project is retiring in Wallaby cycle[1].
This commit removes the usage of Searchlight project
before its code is removed.

Needed-By: https://review.opendev.org/c/openstack/searchlight/+/764526

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018637.html

Change-Id: I90fbb2807f91a5a2bea86717be251699db2470a6
2020-11-28 16:44:48 -06:00
Frode Nordahl 1e9e3eae24 Allow relevant commands access to users public SSH key
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
2020-10-02 22:32:38 +02:00
James Page d5386e2d4e Reference correct name for plugs
Change-Id: Ie49611cdf54f630ca7f56b598cd111a66bf2e00b
2020-06-03 08:38:40 +01:00
James Page 119ee022d6 Rename personal-files interface
As requested by the snapstore team, rename interface name
to be specific to the file path.

Change-Id: I3d0119c591cced9619ce853288329641c33b7f31
2020-06-01 12:33:36 +01:00
James Page db7f82455c Add setuptools-scm to python packages
Add setuptools-scm to python packages to avoid build
failures on archs other than amd64.

Change-Id: I0134e9747f3a5b11203a1d7d462a207a2de708c1
2020-05-07 08:53:19 +01:00
James Page b0f740764c Switch to strict confinement
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
2020-05-06 11:08:20 +01:00
James Page f71b90d507 Add support for auto-completion
Generate completer script for the 'openstack' command.

Change-Id: I2fe65f067749936e971c9eb5cc7bcff7438def9e
2020-05-06 10:47:58 +01:00
James Page 9c35af5193 Update snap for ussuri release
As stable branches have now been cut update the snap to use
Ussuri release versions.

Change-Id: I4252d071a13c9e19f57eb48b6b7275329021791f
2020-05-06 08:26:22 +01:00
Paul Collins e5dcc3f802 add the osc-placement plugin
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>
2019-11-14 10:13:34 +13:00
Ryan Beisner 9091ad4888
Add Masakari client for OpenStack Train
Change-Id: If451ba03ada4f94a5b4405276d9936dd7ce3cc29
2019-10-28 14:29:01 -05:00
Zuul d064153ff7 Merge "Update for OpenStack Train" 2019-10-09 14:24:40 +00:00
James Page 9f6bf3426e Update for OpenStack Train
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
2019-10-09 10:02:20 +01:00
OpenDev Sysadmins bd21619072 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:51:59 +00:00
James Page 36368ea91f Add octavia CLI
Change-Id: I59ff848007b64782ccb0bd8da9ff8ff34150c8bf
2018-12-04 10:35:47 +00:00
James Page 3e7ff6240a Switch to rocky release versions
Change-Id: I850821b6c7964e2185f14894332c54e07cfd30ea
2018-10-25 08:17:49 -06:00
James Page 205b122f73 Mark snap as stable
With the introduction of python bytecode compilation, this
snap is ready for release into the stable channel.

Change-Id: Ib0c6dec17a343e851f20c308704ca3824c5ffd42
2018-08-01 09:56:42 +01:00
James Page 0142c637f5 prime: byte compile python for performance
Ensure we include pyc files as part of the snap so that it
actually loads in a reasonable amount of time.

Change-Id: I4af6edb829129e2ce97d03f7d53f2393c7234926
2018-07-30 14:29:31 +01:00
James Page f549ea8bf5 Switch clients to queens
Update OpenStack CLI tools to Queens release.

Change-Id: I07630d7555d11611dee823e99ebc19bf83ed6790
2018-05-09 13:18:18 +01:00
James Page fa6d69fd75 Add gnocchi to snap
Add gnocchiclient to the openstackclients snap.

Change-Id: I956f05fd337034ffa80a1965f2e9b38660f3a653
2017-10-13 11:04:33 -04:00
James Page c41bb03ad6 Update for pike release
Re-align snap with pike release.

Drop aliases as these are managed by the snap store.

Switch to Python 3.

Change-Id: Ib18988d516ec42b8620c85e67bb15d66c5a55259
2017-10-13 10:22:45 -04:00
James Page 1e118fb343 Update to use ocata clients
Misc updates to switch build to use Ocata release client.

Change-Id: Id06dbb093b74fb0525e6bf763457bada88422890
2017-07-19 14:13:47 +02:00
James Page 8c13ea66dc Misc fixes for gate testing
Ensure snapd is installed, and that the core snap is installed as
required for build of classic confinement snaps.

Change-Id: I65fd83a9011cdd5a8117660f8904f8a083d4f243
2017-02-13 11:31:32 +00:00
James Page a2a2e5dcb1 Drop back to py2 for now 2017-01-24 14:50:44 +00:00
James Page 854c25ede4 Initial snap 2017-01-24 14:44:36 +00:00