Having the _info get out of sync with the actual attributes is kind of a
trap for the unwary. _info is used in preference to the attributes in
many places, and letting it get out of sync means that the method of
retrieval (get() vs. list()) influences the result.
Change-Id: I9d9bf086fa790b811c520b2fa317f95cb1921805
At some point, the "nova list" command started returning an
empty table when no results were obtained, while the
tests.test_shell.ShellTest.test_password test was expecting
a single newline. Whichever commit caused this change in
behavior somehow made it past the gate without forcing the
test to be updated.
This commit fixes the issue by changing the output that
test_shell.test_password is expecting.
Fixes bug 1166464.
Change-Id: I57636b4a1e525c440925caba0bbb51bbcd94b080
Update to latest openstack.common.version.py and fix __init__.py
to get "nova --version" to work properly again
Fixes LP# 1165325
Change-Id: I29e54cd4cf79759407f3967518e9be575abd994a
Fixes bug 1161297
Even if creating a network with the "--multi_host=T", the "multi_host"
property of the new network is still "False".
This is because nova server interprets 'T' to "False".
This patch fixes the problem.
Change-Id: I171c7dc72cb515c47ea106558080eafa10dee873
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
The current auth plugin system lacks some functionality to be used with
other methods that might require additional configuration options or
that do not require a user to pass some options that are now compulsory
(for example, X.509 authentication needs to get a certificate file, and
does not need either a username or a password). This commit extends
the current system to handle these extra features, while remaining
compatible with older plugins.
DocImpact: We should documment how to implement additional
authentication plugins, such as BasicAuth, X509, etc.
Implements: blueprint authentication-plugins
Change-Id: I7b0ef4981efba8160dea94bf852dba7e2e4068f5
When using Nova w/ the new Quantum security groups driver security
groups can exist which have no protocol. Theses entries
cause ERROR: 'NoneType' object has no attribute 'upper'
when you try to delete other (editable) security groups.
This patch updates novaclient so that it skips over entries with
no protocol when determining which security group to delete.
This fixes novaclient so that deleting *any* security group works
when the new quantum security group driver is enabled.
Fixes LP Bug #1162622.
Change-Id: Ida07b6429eae988a9a64535381082a500f31a521
nova list --tenant tenant_id leads to the following query to Nova API:
GET /v2/{admin_tenant_id}/servers/detail?project_id={tenant_id}
While Nova actually expects:
GET /v2/{admin_tenant_id}/servers/detail?tenant_id={tenant_id}
Fixes bug 1134382.
Change-Id: I222208bcc9aaf547cd0b1c52dc8856123a823b8e
There's no need to run pep8 on the build dir, and it contains E502 false
positives due to some part of the build process adding line
continuations in places that they're not needed.
Change-Id: I7ea19aea2b9e46503aa8acc06ce6b9d7ea18113a
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
The bash completion test was trying to loop over some options in order
to test that they appeared in the output. This splits the list so that
proper looping occurs. This helps protect against test failures when
new options are added and the bash completion output changes order.
Change-Id: I81517038953fb429e8d98b762c77749bbbc0e8d7
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
If we set up the debug level on the root logger, this can be used by the
submodules that might need to print some debug output.
Change-Id: I2a00b40d4748cc62e6081df7d6a44622f5ad4467
Updates the os-services API extensions to match the Nova changes
proposed in I932160d64fdd3aaeb2ed90a092ecc7a36dcc9665.
Resolves bug 1147746.
Change-Id: Ib0f24dea8e937a8e1a1604b1cbf19d96bcdbcd8f
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