There was a problem with stale tokens generating 401's. The
headers for the request where not replacing the stale token
with the freshly obtained one. This patch remedies that.
Change-Id: I8e7c7e01fddeec17ad9ff4254b1223820bb8e2b7
Adds an admin API call to retrieve the compute node statistics for an
entire nova instance. Counts up all hypervisors and sums all their
values (vcpus, vcpus_used, etc.).
Change-Id: I0a3df235282089f1313d08ae5b89dadbd1db9840
This fixes a race-condition caused by `do_image_create` with polling
enabled returning after the image has finished uploading but before the
instance `task_state` was cleared out.
This would cause a snapshot taken immediately afterwards to fail because
the `task_state` would still be in the `image_snapshot` state.
The (short-term) fix is to add an addition poll-loop that ensures the
`task_state` field is cleared-out as well.
Change-Id: I3adeed24ecea127c8bdd12143634a6ce5da64330
The `--poll` option for resize is not working because it is looking for
`verify-resize` instead of `verify_resize`.
Change-Id: I824ee019047121d49789a8311a1b315aa36fa295
Adds support for the new uptime call to the hypervisors extension to
nova. This allows the results of "uptime" on the hypervisor to be
returned to the caller. Note that currently, only XenAPI implements
the underlying method; if the version of nova uses another virt
driver, the result will be a 501 error.
Change-Id: I34cc92557e6d22705a5591e54404b32245dbe16a
The recently introduced token caching busted these two commands
since there was no longer a ServiceCatalog to access. This patch
disables token caching for these commands.
LP1020669
Change-Id: I198acea44fca99b4c907c11198813412df5559bd
Previously I was only using the service name and auth url as the
token cache key. This was posing problems with services that have
multiple endpoints and/or are needing different service types
(like volume). Now we take all endpoint selection criteria
into account.
See LP1019054
Change-Id: Ideecca805bb0d0754bcc74e536821f32170b9857
Fixes bug 1016680 - the flavors list created has
ID field value as a unicode string therefore sort
on it not the same as numerical.
Change-Id: I71f2c8583cca33d2f1be2a2daa856ecec524267e
Adds support for a new nova extension for getting information about
hypervisors (as opposed to compute hosts), including a list of
hypervisors matching a regular expression (database regular
expression, i.e., %'s) and a list of hypervisors with the list of
instances living on those hypervisors.
Change-Id: I7353991ffbf484da175a0912ee46e80f623e230f
The token caching would always try to save the token even
if --no_cache was specified. The downside of this is
environments where there is no keyring agent it would prompt
for a password. Now, if --no_cache is specified it won't try
to save the token.
Also ability to reset timings (--timings) which is handy for
client-driven profiling efforts. Yes, this should be a separate
branch, but it's so tiny it's hardly worth the effort.
I'd also like to take this time to express my admiration for
Brian Waldon. A stalwart young fellow and a fine coder.
Change-Id: I97c2c5f6864fe156a3e204927b2831b74fb1c893
Will use and/or store your Openstack Auth token in the operating
system's keyring if available. Cuts about a 1/2 second off operations.
Change-Id: Ibe2dc0c49baefd23afe3844a78c1df884a4fb7c7
- Changes theme to default instead of nature.
- Explains in terms of Compute API instead of Rackspace
- Remove outdated reference to nova-manage command
- Remove unnecessary whitespace
Change-Id: I43d16cd053af0b4be48450fd638f9d17f9e5c4e7
Contributing blurb previously mentioned using Github pull requests.
Contributions should go to Gerrit instead.
Change-Id: Id7b7f968fa5a3785c19704b4c1c2408f48b335ca
Adds support for the new Nova Admin API action which resets the state
of an instance. This will at least allow easy clean-up from bugs
which corrupt the state of an instance and inhibit the owner of the
instance from deleting it.
Change-Id: I47d1d75e3bd2a07b3b75302b512122b27d5d79d9
- Addresses bug 1014860
- v1.0 endpoints should not be considered valid endpoints
by python-novaclient
- also ignores other unkown versions (for when 3 comes out)
- includes updated catalog tests
Change-Id: I73bd9b0dbede74ee0d975caa86145219e30262fc
--timings = show timings for each call made to nova (including auth)
--bypass_url = api node endpoint to use instead of one from service catalog
For example:
nova --timings --bypass_url=http://10.24.31.37:8774/v1.1/nova-staging boot --image f304d266-0a49-4877-b34c-63aea8360297 --flavor 3 delete_me_2
Change-Id: Ib2a258b7e969ad56ce4ee2bd64c61310278cb856
It's OK to do this because only the shell uses the --debug arg. The code that
uses the client code will set the log level appropriately.
Fixes bug 922742.
Change-Id: I9e925f53c17c73f4442121e52811d52603afab29
To better facilitate the building and publishing of sphinx
documentation by Jenkins we are moving all openstack projects with
sphinx documentation to a common doc tree structure. Documentation
goes in project/doc/source and build results go in project/doc/build.
Change-Id: I868df12e3c15cc30043e782ce0a609b9574295cd