| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
It appears that this command was inherited from the original
cloudservers client code. It hasn't ever worked with nova. It
is confusing now because we have the instance actions command.
Fixes bug 1163033
Change-Id: Id0b36c01cdbd5034d0a7886b809269d838c36b45
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds an extension for querying instance-actions info on an instance.
There are two new commands: 'instance-action-list <server>' which lists
actions that have been recorded for that instance, and 'instance-action
<server> <request_id>' which provides more details for the action with
that request_id on that server.
Change-Id: I22492d682d50b78f522f10269221fea9483df6dd
|
|/
|
|
|
|
|
|
|
|
| |
During shell tests commands were being passed to novaclient and output
was being printed to stdout. This quickly scrolls useful test output
offscreen, so lets suppress it.
Also removed a print call from a test.
Change-Id: I31c8bf2f92a64d781c9e3350213f2e1503b960ad
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Updates the os-services API extensions to match the Nova changes
proposed in I932160d64fdd3aaeb2ed90a092ecc7a36dcc9665.
Resolves bug 1147746.
Change-Id: Ib0f24dea8e937a8e1a1604b1cbf19d96bcdbcd8f
|
| |
| |
| |
| |
| |
| | |
Required for bug 1125468.
Change-Id: If9f8f31a9fd35497a308ae13351685e470e20cd0
|
| |
| |
| |
| |
| |
| | |
follow the lead from nova and oslo projects
Change-Id: I270c5f1e4eefa4b72e292bfb4a4c60de0c3f6e4a
|
| |
| |
| |
| |
| |
| |
| |
| | |
Until there is a way to validate tenant IDs, remove the existing checks.
Fixes bug #1154582
Change-Id: If10fac17b919190c1492cfbf1be9950284a82197
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This revert some of commit 63073104665ee4597cf3b7aa8dc2295a8a7db794,
specifically the changes made to the API since those changes were
never merged in Nova.
Resolves bug 1145768.
Change-Id: I8f83c5a33cfed0c3a659f5221b8b2e730ca9463f
|
|\ \ |
|
| |/
| |
| |
| |
| |
| | |
Fix bug 1145706
Change-Id: I9089ea4f968797b248f80bf84027a602e59ccd00
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| | |
Added unit tests for shell code, that wasn't covered before.
Implements: blueprint python-novaclient-unittests
Change-Id: Id9973b1edb39ab76e7a232c262ae073cf44dfc0a
|
|/
|
|
|
|
|
|
|
| |
'args.num_instances' should be checked by None because of '0 == False'.
This patch fixes the checking.
Fixes bug 1151787
Change-Id: Iede860caa5c2d03d49471f375d687c3e40102372
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Adding some functionality to allow admins to call on
resetNetwork action. Fixes bug #1130766
Change-Id: I3d0945b115d565bd2c54a5526ba51036e941a28f
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added convert ip_protocol to uppercase.
Added tests
Fixes: bug #1052725
Change-Id: I966ddad0800556b1cc848003d07d4a897ce1b9c1
|
|/
|
|
|
|
|
|
|
|
| |
This is dependent on nova change:
I4f8f677af58afcb928379e5cf859388d1da45d51
Related to blueprint network-adapter-hotplug
Change-Id: Ieef603e85c6557cbfd2fe4ae7109e6ca235ba51d
|
|
|
|
|
|
|
| |
Added unit tests for shell code, that wasn't covered before.
Implements: bp/python-novaclient-unittests
Change-Id: I76e3df05d53e6c08e224feb30eb90ae819d8cdce
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds a --fields argument that sets the fields to display.
ID is always displayed.
Fixes bug #1076473
Change-Id: If3462e6a490ea16da4834a7f40f96b111c9e8227
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
This adds --html and --xml options to 'nova coverage-report'
to enable selection of coverage report format.
If specifying none of these, text-formatted report will be created.
This also adds --combine option to 'nova coverage-start' to make sure
that 'nova coverage-report --html' works fine.
Fixes bug 1114766
Change-Id: I9fee26bd5c45cac35f425ac7abbced4e2f3ff4df
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding "availability-zone-list" sub-command allow user list all
availability zones and its status in a region.
* summary list for normal user: list availability zones summary whitin a
flat view.
* details list for administrator user: list availability zones details
within a tree view, include zones, hosts and components.
Implement one workitem for bp:show-availability-zone
Change-Id: Id87fe470c7e0f6fbfb9465551f63717724b5fc18
|
|
|
|
| |
Change-Id: I2d509ed383fd8d6cef91dd0c58a51eafc6995bda
|
|
|
|
|
|
|
|
|
| |
The usage-list command is admin-only so add a usage command so
that users can see their usage like they do in horizon. Only
admins can see usage for other tenants, so default the value of
tenant to the tenant_id of the current credentials.
Change-Id: Icd6fec36f1f4145b92b227031e5df23db11737f0
|
|
|
|
|
|
|
|
| |
Some calls in nova require a tenant_id when it could be interpreted
from the current authentication data, so save the tenant id and
use it in the quotas command if tenant_id is not specified.
Change-Id: I89647cfe9da73bc474ef80a61a5678db42a5571c
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix bug 1088835
"nova quota-update" command is executed without checking the format of
the tenant_id argument. The tenant_id should be in the format of UUID.
The tenant_id of quotas should be in accord with the form of keystone's
tenant_id. So this patch checks the format of the tenant_id when "nova
quota-update" command is executed.
Change-Id: I47c4f2ff9adbab5da4697270dcf024ac88e24529
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of forcing users to remember a image name and/or uuid
instead allow them to specify a image metadata property to 'key'
off of.
For example:
I want to boot a image of ubuntu. This could now be a property
set in the image metadata and the following could be used to
find said image.
$ nova boot my-vm --image-with type=ubuntu
Now that user does not need to care what ubuntu version is being
selected or what the uuid is or what the image name is, they just
know that some image with ubuntu will likely get selected.
Change-Id: Ifaf71e282b8411d2e303cb52fd2623f6cf0bf32a
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This will download and decrypt a base64 encoded encrypted password
from the os-server-password extension. It depends on the user
having openssl installed, but if there is an error of any kind it
will print out the encoded and encrypted password instead.
It also implements clear_password which will delete the password
so it can no longer be retrieved.
Change-Id: I2c4e6c3f03b70dc98d6d339381648a6058f46e21
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Pyflakes picked up a couple of duplicated names. Rename the one
that is correct and delete the incorrect one.
Change-Id: Id4af1269a030be5a725bbbbcf3400341b09fddc3
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
These calls are now implemented as normal
POST os-hosts/{host_name}/action requests.
Change-Id: I8cd401e3b4e552c6787d1f984041ad3c345e6eca
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This adds support for server evacuation from failed host.
Adds CLI command:
nova evacuate <server> <host> [--password pwd] [--on-shared-storage]
Depends on the approval of change:
https://review.openstack.org/#change,17991
Change-Id: Icd91c0484b2db532861e23163d043737ad04117a
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use testtools as the base testclass. Use fixtures library for managing
fixtures.
Part of blueprint grizzly-testtools
Change-Id: Iac5af286b988787acf7049344641aadf140b9398
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Modifies novaclient, changing the existing networks implementation to a
more appropriate os-admin-networks namespace, and supplements with a
tenant-base network extenion that lives under the os-networks namespace
as a Nova API extension. Also removes from the duplicately named network
test methods.
Implements: blueprint tenant-networks
Change-Id: I54c9f017b86fc413f1646c7bded8cebd94f6a287
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change If1aa25fc7237e9bb5100d2a4a8e560f0a68eba61 adds additional
functionality to the coverage extension. Mainly returning the
data file path for the 'stop' action and adding support for
generating html reports. This commit adds support for this new
functionality.
Change-Id: Icd147350d5c038f6b9c8063e77a75370eb8422e9
|
|/
|
|
|
|
|
|
|
|
| |
Now _update call usually returns an instance of self.resource_class.
This simplifies the code and makes novaclient closer to keystoneclient.
Also, update hosts and services API according to changes on nova.
(If50a6b6e20f9b3fe66d486bb9b15d3eb4b62daf9).
Change-Id: I447e49e5fce0afba8a9c1a5df6dfa7200cc93e18
|
|
|
|
|
|
| |
fix bug #1092475.
Change-Id: I584b27c1f24c6a5183a2289e77580f204db2e4db
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
'nova boot', 'nova flavor-key', 'nova flavor-show' and the other subcommands
can be specified by a flavor name also.
But 'nova flavor-delete' and 'nova list --flavor' cannot, also 'nova list
--image' cannot be specified by a image name.
I feel it is user-friendly that a user can specify arguments by name.
By this patch, a user can do it like the following.
Before appying this patch:
$ nova flavor-delete m1.tiny
ERROR: Flavor m1.tiny could not be found. (HTTP 404) (Request-ID: req-af2c049f-1b77-42cf-a9ed-a3914626bc83)
$
$ nova list --flavor m1.tiny
ERROR: Flavor could not be found (HTTP 422) (Request-ID: req-dbfd5df2-77d7-4a71-a3e6-b1f7fd25b96c)
$
$ nova list --image cirros-0.3.0-x86_64-uec
$
After appying this patch:
$ nova flavor-delete m1.tiny
$
$ nova list --flavor m1.tiny
+--------------------------------------+--------+--------+------------------+
| ID | Name | Status | Networks |
+--------------------------------------+--------+--------+------------------+
| 2f003e0e-bfdf-4f56-bdf9-276732e640a0 | test01 | ACTIVE | private=10.0.0.2 |
+--------------------------------------+--------+--------+------------------+
$
$ nova list --image cirros-0.3.0-x86_64-uec
+--------------------------------------+--------+--------+------------------+
| ID | Name | Status | Networks |
+--------------------------------------+--------+--------+------------------+
| 2f003e0e-bfdf-4f56-bdf9-276732e640a0 | test01 | ACTIVE | private=10.0.0.2 |
+--------------------------------------+--------+--------+------------------+
$
Fixes bug 1091814
Change-Id: Ic7f6ce76608a448dea3c151bc349391fbf3fa456
|
|\ \ |
|
| |/
| |
| |
| |
| |
| | |
Fixes LP bug #1089299
Change-Id: Ia9cc756b85096532acfc9ecacd1330de8a765fba
|