Commit graph

199 commits

Author SHA1 Message Date
likui
db92b96407 Stop testing lower-constraints
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-October/018445.html

Conflicts:
  .zuul.yaml
  lower-constraints.txt

Changes:
  bindep.txt

NOTE(stephenfin): Conflicts are due to the changed job template (ussuri
vs victoria) and slightly different lower constraints between branches.
We also need to remove 'libffi6' from 'bindep.txt' since Focal doesn't
have this. This was done in the Victoria cycle as part of change
Iab3634039845adb649c7fd69d1812b405a61433c but we must squash it in here.

Change-Id: I45e9a81d451c64cdd51f9b606d94161742bacdb7
(cherry picked from commit c677192d51)
(cherry picked from commit cde8db3d61)
(cherry picked from commit 40f56c653c)
(cherry picked from commit 84af7608ef)
2022-07-04 12:38:15 +01:00
Artem Goncharov
768a64aac5 Complete switch from glanceclient to SDK for image service
In https://review.opendev.org/#/c/650374/ a work has been started to
switch image service support from glanceclient with all it's
dependencies to the SDK version. With this change version 1 (anyway
deprecated since ages) is also being switched to SDK.

Change-Id: Ic391500af02a73d81d64a9e9113cca85c9e24390
2020-03-24 13:13:06 +00:00
Artem Goncharov
60e7c51df4 Switch image to use SDK
This is a work to switch OSC from using glanceclient to OpenStackSDK.

With this change only v2 is using OpenStackSDK. V1 is still using
glanceclient and will be switched in a separate change.

Remove the direct depend on keystoneauth- let that flow through
openstacksdk.

Depends-on: https://review.opendev.org/#/c/698972
Change-Id: I36f292fb70c98f6e558f58be55d533d979c47ca7
2020-03-23 14:38:32 -05:00
Daniel Bengtsson
bf2beb9e86 Stop configuring install_command in tox and stop use pip.
Currently, we are overriding 'install_command' to use 'pip'. This is
considered poor behavior and 'python -m pip' should be used instead:

https://snarky.ca/why-you-should-use-python-m-pip/

It turns out that this is the the default value provided by tox:

https://tox.readthedocs.io/en/latest/config.html#conf-install_command

So we can remove the line and simply use the default value. Use the
right way when it's necessary.

Change-Id: I410173d5fdcd8c592d98eed2f48b98e06299e8b3
2020-03-16 08:00:44 +01:00
Colleen Murphy
70ab3f9dd5 Add support for app cred access rules
This commit introduces the --access-rules option for 'application
credential create' as well as new 'access rule' commands for listing,
showing, and deleting access rules.

bp whitelist-extension-for-app-creds

Change-Id: I04834b2874ec2a70da456a380b5bef03a392effa
2020-01-17 11:14:51 -08:00
Michael Johnson
db29e28b7c Switch to using osc_lib.utils.tags
This patch updates the network modules to use the new
osc_lib.utils.tags module and removes the in tree _tag.py version.

A previous patch[1] moves the _tag.py code to osc-lib to allow other
projects to leverage the code.

[1] https://review.opendev.org/662859

Change-Id: Id0c34029e327de50c5fd2732bae5fbf45bbd16ee
2020-01-14 17:10:41 -08:00
zhangbailin
874a726f52 Microversion 2.79: Add delete_on_termination to volume-attach API
Added ``--disable-delete-on-termination`` and
``--enable-delete-on-termination`` options to the
``openstack server add volume`` command that enables users to mark
whether to delete the attached volume when the server is destroyed.

Depends-On: https://review.opendev.org/#/c/681267/

Part of blueprint support-delete-on-termination-in-server-attach-volume

Change-Id: I6b5cd54b82a1135335a71b9768a1a2c2012f755b
2019-11-19 21:07:20 +00:00
zhangbailin
fcd46acb69 Microversion 2.77: Support Specifying AZ to unshelve
This patch adds a new parameter ``--availability-zone`` to
``openstack server unshelve`` command. This can help users to specify
an ``availability_zone`` to unshelve a shelve offloaded server from
2.77 microversion.

Depends-On: https://review.opendev.org/679295

Implements: blueprint support-specifying-az-when-restore-shelved-server

Change-Id: Ia431e27c2a17fe16466707cc362532860ecf22df
2019-09-03 21:38:44 +00:00
Dean Troyer
a88e95873e Bump min osc-lib to 1.14.0
This is required for osc4 and the movement of functions out of OSC.

Change-Id: I690954b6dccb11dd1a4f512b6777d645de5191f9
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2019-08-30 15:26:54 -05:00
zhu.boxiang
340f25fa14 Add host and hypervisor_hostname to create servers
Adds the --host and --hypervisor-hostname options to
``openstack server create`` CLI.

Depends-On: https://review.opendev.org/670558

Change-Id: If188c3d96fa506dbe62ef256418f2f9bca1520c2
Blueprint: add-host-and-hypervisor-hostname-flag-to-create-server
2019-07-19 15:45:18 +00:00
Surya Seetharaman
187be0ac22 Microversion 2.73: Support adding the reason behind a server lock
This patch adds a new parameter ``--reason`` to ``openstack server lock``
command and ``--locked``, ``unlocked`` filtering parameters to
``openstack server list`` command. This can help users to provide a
reason when locking the server and to filter instances based on their
locked value from 2.73 microversion.

Implements blueprint add-locked-reason
Depends-On: https://review.opendev.org/#/c/661785/

Change-Id: Ib2714f98b24d47e570da8a6c231e765acd2ff595
2019-06-21 11:35:51 -05:00
Zuul
1894a3cb17 Merge "Add --key-name and --key-unset option for server rebuild API." 2018-11-02 19:41:24 +00:00
Monty Taylor
dfd37a2e6e
Make use of keystoneauth service-type filtering for versions
The first version of the versions show command does client-side
service-type filtering, which while functional, causes many more API
calls than needed. Now that keystoneauth supports the filtering at the
source, use it.

Change-Id: I57c49e67f9cb285a5f5bc19ec53a42d10de9f0da
2018-10-19 07:55:41 -05:00
Fan Zhang
f82c5b85ce Add --key-name and --key-unset option for server rebuild API.
Change-Id: I6d4793a8e961080ea1d6d414cef8d6bbed0c53e7
Story: 2002609
Task: 22228
Signed-off-by: Fan Zhang <zh.f@outlook.com>
2018-10-09 14:34:44 +08:00
Josephine Seifert
1981eb2250 osc-included image signing (using openstacksdk)
This extension adds image signing functionality to the "image create" command.
Therefore, new CLI options --sign-key-path and --sign-cert-id have been added.
This patch uses openstacksdk as the signing backend library instead of cursive.
Therefore, requirements and lower_constraints have been updated to use the
openstacksdk version 0.17 or higher.

Depends-On: Idc15b9a12d408bd4b2e096da8402c374be56f9fa
Change-Id: Ia20bc02a49c3fbeb9222e485e3396395f4ab817a
Story: 2002128
Co-Authored-By: Markus Hentsch <markus.hentsch@secustack.com>
2018-09-08 01:55:38 +00:00
Zuul
d177727a6e Merge "Implement support for registered limits" 2018-07-25 00:52:41 +00:00
Jake Yip
b90b93e143 Fix error with image show when image name is None
Need to bump osc-lib to 1.10.0

Closes-Bug: #1736696
Depends-On: I2aab5cc1f550848bda2b90ef7ef9a60f07b88996
Change-Id: I7420204f28d36529354e5671bd88587d9b15bb06
2018-07-23 17:42:34 -05:00
Lance Bragstad
641a4faac1 Implement support for registered limits
This commit adds support for users to manage registered limits via
the command line.

bp unified-limits

Depends-On: https://review.openstack.org/#/c/574391/
Change-Id: Id8377363f7a3248b45aeeba21d2acc02684a0305
2018-07-23 21:18:50 +00:00
Lance Bragstad
8bfa180430 Add system role functionality
This commit adds the necessary bits to expose system role
assignments to openstackclient via python-keystoneclient.

bp system-scope

Depends-On: Iecbcbf020a15f2bec777334c648d4477f89f3b2c
Change-Id: I261e84700b51e8715eaebdc3f8f8bc46b68542c2
2018-06-04 20:09:14 +00:00
OpenStack Proposal Bot
395f640bc7 Updated from global requirements
Change-Id: Idf311a7fa08e8738bb4c70b0d84f8a4121606f56
2018-03-13 07:28:18 +00:00
OpenStack Proposal Bot
9c23fc8025 Updated from global requirements
Change-Id: Ieb1a29ba275784f67f0d943fab5f3b59cd9fc28e
2017-12-23 10:11:57 +00:00
OpenStack Proposal Bot
c0f910d613 Updated from global requirements
Change-Id: I714dbe5326ed99c4edab6c63ecea4dc6a72b57e7
2017-11-16 11:25:40 +00:00
OpenStack Proposal Bot
4742d4df70 Updated from global requirements
Change-Id: Icf2e8d6cca0194de127ef0dfaee5db04381b5cd1
2017-11-12 21:18:50 +00:00
OpenStack Proposal Bot
7744046d6a Updated from global requirements
Change-Id: I9935e5f3eeab0e0d8a56f5983822ad96c79a7526
2017-11-03 01:07:54 +00:00
OpenStack Proposal Bot
a87bd58fb4 Updated from global requirements
Change-Id: I79e4ddb75c7cf7088d6f0abc79f9f07dcd165535
2017-10-05 13:51:35 +00:00
OpenStack Proposal Bot
95378bb37d Updated from global requirements
Change-Id: I30be8748ef78604eb63c61e1dcf5fc5a740822aa
2017-09-13 00:15:31 +00:00
OpenStack Proposal Bot
8f4440a6de Updated from global requirements
Change-Id: I1c5bc67d82b7a123530a7e8a6af5ca4f7faf53f0
2017-09-06 03:15:36 +00:00
OpenStack Proposal Bot
de2af66c16 Updated from global requirements
Change-Id: If52bacff8458010d2762bfac5ecea29f5fb54f01
2017-09-01 12:47:11 +00:00
OpenStack Proposal Bot
e62587625f Updated from global requirements
Change-Id: I45705bad68f0615dbf09d46a2a487b9fed1abb10
2017-08-24 11:48:43 +00:00
OpenStack Proposal Bot
a709c151e6 Updated from global requirements
Change-Id: I6f384b021b5ae73152192c5b4c2bab190db88251
2017-08-07 00:53:48 +00:00
OpenStack Proposal Bot
25e6c31d2a Updated from global requirements
Change-Id: I7906433adde40f76eaccdab186e68e0afcbe49af
2017-07-28 05:26:04 +00:00
OpenStack Proposal Bot
d25f68f3ba Updated from global requirements
Change-Id: I1cba44152cf17ab3b50e5e3c423c702dbdf5039e
2017-07-27 20:33:15 +00:00
OpenStack Proposal Bot
45d0809b39 Updated from global requirements
Change-Id: I68530243bdfbcf315b0be5775c08cc26faed4770
2017-07-23 19:08:42 +00:00
OpenStack Proposal Bot
bb59353ee1 Updated from global requirements
Change-Id: Ib6c0fbfc96d79293726ce941ad4becf31ee2ee79
2017-07-23 13:52:35 +00:00
OpenStack Proposal Bot
199c13c836 Updated from global requirements
Change-Id: I09acea781d9df7c88a90c3915724b1245f2e219b
2017-07-22 16:39:06 +00:00
OpenStack Proposal Bot
26ec06e281 Updated from global requirements
Change-Id: I9acdcf3a966dc7c6f92b077848d65f408fdd07eb
2017-07-21 05:07:46 +00:00
OpenStack Proposal Bot
c0719c36d1 Updated from global requirements
Change-Id: I115d686010bd79ea49786f46decd6ed6256f6cb9
2017-06-24 12:15:02 +00:00
OpenStack Proposal Bot
e54fcd0a5c Updated from global requirements
Change-Id: Ic49fc0fcd068d03f2dad5b49e3de4d98702866dc
2017-06-10 21:48:48 +00:00
OpenStack Proposal Bot
f403ff9e9c Updated from global requirements
Change-Id: I273241692ee85f9d9e239c2ba7df3c683a429e98
2017-06-08 16:28:14 +00:00
OpenStack Proposal Bot
c912717e42 Updated from global requirements
Change-Id: If85aea646119bf12090074edf198f64a8719c949
2017-06-05 21:58:44 +00:00
OpenStack Proposal Bot
d034b980ab Updated from global requirements
Change-Id: Ica0de1e6a275fee4761dca1f128caf073bcfb92b
2017-05-31 16:45:37 +00:00
OpenStack Proposal Bot
5df961a1f7 Updated from global requirements
Change-Id: Ieb595ddda18a579990d67ca00893280347edc629
2017-05-23 11:59:47 +00:00
OpenStack Proposal Bot
941e189ac1 Updated from global requirements
Change-Id: I9a60f1b0db78ed188966287939dbd8a6f82c1682
2017-05-03 12:23:14 +00:00
OpenStack Proposal Bot
1b9cf82b42 Updated from global requirements
Change-Id: I5215bae5234dcef448c6c5b824c506f80dd1c5a8
2017-05-01 14:07:49 +00:00
OpenStack Proposal Bot
b38261e84b Updated from global requirements
Change-Id: Ib3ea4225636bfa815f7cf60481d2adc07077123c
2017-04-26 19:38:28 +00:00
OpenStack Proposal Bot
b168f2d998 Updated from global requirements
Change-Id: Icd26cb6d2525ff1736923c39e9c64eb12f6d39b6
2017-04-12 04:21:53 +00:00
OpenStack Proposal Bot
358175158d Updated from global requirements
Change-Id: I8e7362555d330613a87c095b89bb2783df03a6e3
2017-04-07 14:32:41 +00:00
OpenStack Proposal Bot
c49c125735 Updated from global requirements
Change-Id: Ic9a5bd518d1b2d4a7979716b9809ce236292205f
2017-03-30 00:31:55 +00:00
OpenStack Proposal Bot
ad5b57fd19 Updated from global requirements
Change-Id: I5d0e7942a45e6fed6d387250734e882335fa3de4
2017-03-16 22:00:54 +00:00
OpenStack Proposal Bot
f97a33b971 Updated from global requirements
Change-Id: I28815dc190dba45af060b26eceb660f40bb67772
2017-03-03 22:59:10 +00:00