Commit Graph

930 Commits (30d5f14a700dd53d80e0fbedefd9b1ad337390f9)

Author SHA1 Message Date
Artem Goncharov f36a34b675 Switch compute aggregate functions to SDK
Continue journey towards having OSC consuming SDK for nova part.

Depends-On: https://review.opendev.org/#/c/762131/
Change-Id: Id16e6c47aa93f02f15f49e1f59f73fecaa3e3b80
3 years ago
Artem Goncharov 0f4f42b652 Switch compute flavors from novaclient/direct to SDK
Let's switch flavors from novaclient or direct API requests onto using
SDK. Microversion agreement comes out of the box.

SDK normalizes property names, while OSC uses server side names. In
order not to break OSC users continue using server-side names.

Depends-On: https://review.opendev.org/#/c/762989/
Change-Id: I62b2ed8488ee4ac9c42051311bcfb455506ddd90
3 years ago
Zuul ea358057f8 Merge "stop image downloads to memory" 3 years ago
Zuul 30828112cf Merge "Remove None valued network quota entries" 3 years ago
Zuul c7a43773c9 Merge "Add id and enabled param in ListIdentityProvider parser" 3 years ago
Simon Merrick 5bdcd590ec stop image downloads to memory
+ Fixes issue with large images hogging memory
 + stream image downloads
 + output to stdout if file not specified

Change-Id: Ia01ff9b21a2dac5d0ccf2bd58a8640e88c5cbb36
Story: 2007672
Task: 39776
3 years ago
Zuul 73d56bc8d4 Merge "Add a few selectable fields to the "openstack server list" output" 3 years ago
Zuul bba5725085 Merge "Switch 'openstack keypair' ops to use SDK" 3 years ago
Zuul 4d3bad9f19 Merge "Add 'openstack server evacuate' command" 3 years ago
Artem Goncharov 512ba114a1 Switch 'openstack keypair' ops to use SDK
Let's continue our journey and start using SDK for the keypair
operations

Depends-On: https://review.opendev.org/#/c/761883/
Change-Id: Id411e70b8e1a79c0e88a0e22be7ff37e5c30fcda
3 years ago
jay 311f4130d2 Add a few selectable fields to the "openstack server list" output
Added ``-c project_id | user_id | created_at`` to ``openstack server list``
    command to get these columns as an output.

Change-Id: I18991adf899c7b72c98bb89871bf0715d35943f0
Story: 2007925
3 years ago
Zuul cb6659d7cd Merge "Compute: Add user id support for keypair" 3 years ago
Zuul a40d22f1ed Merge "Fix formatting of the flavor properties" 3 years ago
Zuul 4cdc953888 Merge "Add support for 'keypairs list --project' parameter" 3 years ago
Sean Mooney 01eb4e8393 Add 'openstack server evacuate' command
This change adds a new 'openstack server evacuate' command to provide
parity with the 'nova evacuate' command. The term "evacuate" is
notoriously poor, in that it implies the instance is moved rather than
recreated, but it is retained since people are familiar with it now.

Change-Id: I1e32ca51036c501862d8e89b3144a9695d98a06f
3 years ago
Artem Goncharov ad3369ed1f Fix formatting of the flavor properties
Do not stringify flavor properties to allow proper output formatting to
json/yaml/etc

Change-Id: I9f4c42acb85b726af87123134dd19de98fe95074
3 years ago
He Jie Xu 17f641e1c3 Compute: Add user id support for keypair
This patch adds functionality of specific the user id when create,
delete, show and list keypairs.

Change-Id: Ib826f1f4f5a73d1875ba0f02e124b3222c4d05ed
Co-Authored-By: tianhui <tianhui@awcloud.com>
3 years ago
Zuul 7fdbc6b8af Merge "Add support for 'keypairs list --user' parameter" 3 years ago
Zuul eb75c44656 Merge "Switch openstack console log show operation to use OpenStackSDK" 3 years ago
Zuul 77a45fe685 Merge "Compute: Add tag support for server add fixed ip" 3 years ago
Zuul d59057ad3d Merge "Compute: Add tags support for server" 3 years ago
Zuul 96658a3116 Merge "Restore behavior of image create with same name." 3 years ago
Stephen Finucane 5645fad762 Add support for 'keypairs list --project' parameter
It would be lovely to do this server side but doing so requires a new
microversion, a blueprint and a spec. This is less performant but should
do the trick for the odd time users want to do this.

Change-Id: I26e7d38966304dd67be5da8ed0bb24f87191b82f
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
3 years ago
Stephen Finucane 98a0016cfa Add support for 'keypairs list --user' parameter
This has been supported by nova and novaclient since the veritable dark
ages. Add it to OSC.

Change-Id: Ifc95e7dd6c00807c80e87e10046ab154d0989014
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
3 years ago
tianhui 2f76bfa3a6 Compute: Add tags support for server
Change-Id: If065602792958ff0145ae9f2e05f5b7a3177905c
Story: 2002006
Task: 19641
3 years ago
Zuul 6216025e9d Merge "Compute: Add tag support for server add volume" 3 years ago
Zuul f083d42972 Merge "Add 'server migration force complete' command" 3 years ago
Zuul 91027a501f Merge "Add 'server migration abort' command" 3 years ago
Zuul 247ca75d26 Merge "compute: Add --password option for openstack server create" 3 years ago
Zuul 2eeab20eca Merge "Always display direction for security group rules" 3 years ago
Zuul 73765da310 Merge "Compute: Add 'keypair create --type' parameter" 3 years ago
jay 08b0e5855b Add 'server migration force complete' command
This is equivalent to novaclient's 'live-migration-force-complete'
command.

Change-Id: Ic4dc639afa16cdf8c5a46774895e850d92985292
Story: 2007513
Task: 39293
3 years ago
hackertron 1c3cf11331 Add 'server migration abort' command
This is equivalent to nova client's 'live-migration-abort' command.

Change-Id: I0ff520ccfdf2de52c427affad7bef4554c86a06f
Story: 2007489
Task: 39210
3 years ago
Zhaokun Fu fd9a235de3 compute: Add --password option for openstack server create
Change-Id: Iaf923200efe023655a58ac5acac0b087d2fd5366
Story: #1708570
Task: #13780
3 years ago
Zuul 44f842b1f8 Merge "Add an error message when server bind floating IP" 3 years ago
Zuul 1bac625d47 Merge "Compute: Add tag support for server add network" 3 years ago
Zuul ce563f08ba Merge "Compute: Add tag support for server add port" 3 years ago
yanpuqing 415545ab9f Add an error message when server bind floating IP
If we add a floating IP for the server with no fixed IP, CLI doesn't
report an error and nothing happens. The patch adds an error message
when the server which don't have fixed IP bind floating IP.

Change-Id: I400f2bab08521bb7fa443d87c7f45cc79eb80694
Task: 27941
Story: 2004346
3 years ago
Zuul ad2ac13c97 Merge "Add server migration list CLI" 3 years ago
tianhui 742c80a825 Compute: Add tag support for server add fixed ip
Change-Id: I62ed4729dead9f91630d1f568c834c9642965558
Story: 2002195
Task: 21679
3 years ago
tianhui 6f1602312b Compute: Add tag support for server add network
Change-Id: I31a66b2d4dac44052a71f43a5a67836247ccac64
Story: 2002195
Task: 21678
3 years ago
tianhui 4855fef8b8 Compute: Add 'keypair create --type' parameter
Change-Id: I2d251e1b97fb9a8069431c867fb7fc5f42d1fd6e
Story: 2002606
Task: 22225
3 years ago
tianhui f3fbb1b648 Compute: Add tag support for server add port
Change-Id: Ice6bf5fb57afeb10862c870b42732dcf166772d1
Story: 2002195
Task: 21676
3 years ago
tianhui 1c7fe3b6bd Compute: Add tag support for server add volume
Change-Id: Id9f2e09426f6824e9ca672bf7808b5165c650a69
Story: 2002195
Task: 21675
3 years ago
Zuul 960004dcc7 Merge "Add 'openstack server create --use-config-drive'" 3 years ago
Artem Goncharov 74db8dd65d Switch openstack console log show operation to use OpenStackSDK
A short switch onto SDK for fetching console logs of the server

Change-Id: I3f750ea4f13a4e72272aa67ea4506bd7182b13f9
3 years ago
Sam Morrison 17678c9bd6 Restore behavior of image create with same name.
With 60e7c51df4 the behaviour of
`openstack image create` changed so that you can't create an image
with the same name. This patch restores the previous functionality.

Story: 2008229
Task: 41069

Change-Id: Ia0f4920371a918e94d1ccf9fcfcbf90ff885a455
3 years ago
OpenStack Release Bot 63b46ac5ec Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.

Change-Id: I6c1a9cdff90f7073082fc057f0f11b184de5dc32
Sem-Ver: feature
3 years ago
Zuul eb5416a257 Merge "Fix --image-property option in 'create server'" 3 years ago
Zuul 03b9216318 Merge "Output correct json for security groups in 'openstack server show'" 3 years ago