Commit Graph

593 Commits (3f4591142fb3cb692877a2a814806e3bd574557b)

Author SHA1 Message Date
Brian Waldon 3f4591142f Use openstack-common for AUTHORS generation
Also add .mailmap entries for Jake Dahn and James E. Blair

Change-Id: I1ec02aa5302922f3db6a3ad457f4f7c6a006ba00
2012-06-11 08:40:19 -07:00
Jenkins 855d1578fc Merge "doc: fix and clarify the --meta option help" 2012-06-07 15:14:45 +00:00
Jenkins e41d8bd09e Merge "Adds flavor-show support." 2012-06-07 15:14:43 +00:00
Vishvananda Ishaya 5c5b098f7c Add start and stop to server actions
Change-Id: I7fc52a87519813e38090f05dd9646b800c5c1813
2012-06-01 17:08:35 +00:00
Dan Prince 3ed72ba246 Adds flavor-show support.
Fixes LP Bug #1007516.

Change-Id: I0c1c814968af416a796be1daec38290f6237d650
2012-06-01 13:00:02 -04:00
Pádraig Brady 9dcafe16b0 doc: fix and clarify the --meta option help
Change-Id: Iba758a9014d43581a044131a7394738b0448cc18
2012-06-01 13:34:08 +01:00
Jenkins 10a9cb22bd Merge "Lock pep8 at v1.1" 2012-05-29 22:29:55 +00:00
Jenkins 66fe385a40 Merge "Turn on verbose test output." 2012-05-25 13:35:42 +00:00
Brian Waldon af634abb1e Lock pep8 at v1.1
We can't depend on pep8 not to add new rules and break our tests.

Change-Id: Iac5c79f7c00fcaeff3ef957d138754d63425a256
2012-05-24 07:13:16 -07:00
Jenkins d15f216b2d Merge "make nova bash-complete faster and more accurate" 2012-05-23 14:52:05 +00:00
Monty Taylor 73bc2ed038 Turn on verbose test output.
Change-Id: I811e8c2cbbdd107794af3fc8f70757e3b609a479
2012-05-18 08:33:17 -04:00
Monty Taylor cb8eea4875 Align tox.ini with standards.
Change-Id: Iab112bae0187d025b9b0b6c88208d6706093a184
2012-05-16 13:55:04 -04:00
Dominik Heidler c949513469 make nova bash-complete faster and more accurate
- cache output of "nova bash-complete"
- distinguish between flags and commands (based on already typed text)

Change-Id: I85bd1c2198eef222540cf12063a3b233b0d6db12
2012-05-16 09:54:43 +02:00
Jenkins 66522fdc9c Merge "removed int requirement for volume_id on snaps" 2012-05-09 20:21:40 +00:00
Chuck 636f32b00a refactored --service_name to only work with compute calls and added
--volume_service_name for volume calls

Change-Id: I2b1188fb57f9576daebfaceaddc6eea44a47b4ee
2012-05-09 11:11:38 -05:00
Chuck be5c63e678 removed int requirement for volume_id on snaps
Change-Id: Ibec28174bb438f86cc91561ee642d4da67c9d5d2
2012-05-08 22:02:21 -05:00
Ghe Rivero d743f92dc2 Updated to new prettytable api. Fixes bug 995818
In 0.6, printt() (wrapper to get_string) has been removed.
Updated to use get_string(), backward available since 0.2 release.

Change-Id: Ica292757ec3de5004f27afbc5c8ee11d839421df
2012-05-07 18:45:57 +02:00
Jenkins 997a472983 Merge "Limit hint/nic parsing to one split on '='" 2012-05-03 22:41:29 +00:00
Jenkins bea0bf9d51 Merge "Fix LP #990667 - Keypair __repr__ referencesuuid" 2012-05-03 19:14:03 +00:00
Jenkins 04c9d02011 Merge "really output the description of an exception" 2012-05-03 19:04:56 +00:00
Jenkins f1eda6144b Merge "Allow server name to be specified for actions and diagnostics." 2012-05-03 18:44:39 +00:00
Alex Meade ade27e211d Allow server name to be specified for actions and diagnostics.
Fixes bug 963026

Change-Id: I1662d229b4dcbc2e56d9701190191d94d603c63b
2012-05-02 15:29:02 -04:00
Vishvananda Ishaya d43f172071 Don't force volume id to int and allow search by name
* required for change 6511 to merge

Change-Id: Ia8d28ca7cce4c00aa0b3f1fe1da6719ec99d6fe4
2012-05-02 15:06:55 +00:00
Jenkins 081c8e9824 Merge "Display the request id on error response." 2012-05-01 20:51:37 +00:00
Jenkins c00b47cdbc Merge "Raise exception on all 4xx and 5xx responses." 2012-04-30 21:00:38 +00:00
Jay Pipes c135cf8ef6 Fix LP #990667 - Keypair __repr__ referencesuuid
Replaces reference to non-existant uuid property with
existant id property in Keypair.__repr__

Change-Id: I3aab0dce2c1f0f3cb5160e54a00a96b02f600854
2012-04-30 13:15:55 -04:00
Jenkins cdfd1da4d0 Merge "update README.rst,add args "service_type" when getting endpoints." 2012-04-26 19:17:08 +00:00
Christian Berendt c36ac8b3d7 really output the description of an exception
example without patch:

nova [...] flavor-delete 123

example with this patch:

nova [...] flavor-delete 123
ERROR: Flavor 123 could not be found. (HTTP 404)

fixes bug 981286

Change-Id: I9c5cead521e48b4970850262fb9af279ec5a7753
2012-04-26 18:57:55 +02:00
Brian Waldon f47f603c66 Limit hint/nic parsing to one split on '='
* Make sure we split a scheduler hint like 'a=b=c' into ('a', 'b=c') rather than ('a', 'b', 'c')
* Also apply fix to --nic argument
* Fixes bug 986213

Change-Id: Icbc6938ea332bd70a82890bf4dc0744b2471bc24
2012-04-23 08:02:33 -07:00
Your Name ed3a2bb722 update README.rst,add args "service_type" when getting endpoints.
Change-Id: Ib7e05f8eaff84e26869ec1a098ea98edd213018b
2012-04-19 12:28:48 +08:00
Josh Kearney 765f551a26 Rename NOVA_VERSION to OS_COMPUTE_API_VERSION.
Fixes bug 940432.

Change-Id: I18187eb68d936632b4ae78676a0a9f062afba8f2
2012-04-13 10:48:05 -05:00
Yuriy Taraday bdccfbc88b Raise exception on all 4xx and 5xx responses.
Fixes bug 965826.

Change-Id: I44ce602176320b1e60e4c927e19a7eec232923b9
2012-04-13 18:57:47 +04:00
Brian Lamar d6d7386fad Update unittests to be Python 2.6 compatible.
Fixes bug 980504 by introducing unittest2 module into novaclient.

Change-Id: I613665eb174598a162795cec737078f960adc4cf
2012-04-13 01:23:14 -04:00
Alex Meade 1602966185 Display the request id on error response.
This changes displays the request id when an error code is returned
from the API.

Change-Id: I70621fe7477a4612334af32e83f3ee8c5340371d
2012-04-11 15:00:49 -04:00
Adam Spiers ad4a04a64e Make '--help' argument more useful.
With no other arguments, '--help' now outputs the same as 'help', so
that the list of subcommands are no longer omitted.  Additionally,
'$subcommand --help' now yields the same output as 'help $subcommand'.

Change-Id: Iabd926574e296ad14b622862b9fba038fdede66e
2012-04-11 15:35:27 +01:00
Andrew Bogott 565d144611 Fixed the subcommand error message for nova shell.
Previously we were giving advice like this:

"Try 'nova volume-show help' for more information."

Bad advice -- that doesn't work. Now when there's a subcommand
specified we make a proper suggestion:

"Try 'nova help volume-show' for more information."

Change-Id: I6ef49f9e4e1b67074f51ab442abd4a196d437b00
2012-04-10 15:01:53 -05:00
Jenkins 9485608cef Merge "add packages using find_packages()" 2012-04-10 19:06:18 +00:00
Jenkins c8eaea3be5 Merge "set 'compute' as default endpoint bug fix for #970808" 2012-04-10 18:49:02 +00:00
Jenkins f220e8f701 Merge "Add -i/--identity option to 'nova ssh'." 2012-04-10 18:34:24 +00:00
Rick Harris 0028eb4ac2 Request ID when name is ambiguous.
Fixes bug 931605

Change-Id: If0778915d964995dbb6647d56ed21075aec08baa
2012-04-09 21:13:57 +00:00
Brian Waldon ea448e2497 Set resources as loaded on get
* Setting a resource to loaded prevents future lazy-loading
* Remove lookup by uuid in getid helper as it is no longer used
* Fixes bug 971183

Change-Id: Idd9d39ded41b94b08b03476c30e50277b477423d
2012-04-03 19:17:53 -07:00
Josh Kearney f6014dd8c5 Miscellaneous code cleanup.
Change-Id: I6028247466378327f03b71dc2063dd2777b9382a
2012-04-02 12:27:38 -05:00
Peng Yong f3709bc6b6 add packages using find_packages()
Change-Id: Ib745254276b67cc09f6a9e8d3ac8f5aea7741903
2012-04-03 00:00:48 +08:00
Peng Yong 60c70e2e02 set 'compute' as default endpoint
bug fix for #970808

Change-Id: I44c33266370891bc99d08e5a3bf2d950cd9e36f1
2012-04-01 21:10:16 +08:00
Russell Bryant 5f51219d97 Add -i/--identity option to 'nova ssh'.
Add an option for specify a private key to use with 'nova ssh'.  '-i'
was chosen to match the option this maps to in ssh.

Change-Id: Iecb2a20a34816e8f1ea80c1f66fac476037a798f
2012-03-30 16:26:08 -04:00
Russell Bryant 2db73cd5a1 Improve 'nova ssh' error message.
Fix bug 969499.

If you ran "nova ssh <name>" and the instance has no public IP
addresses, the output you got was:

    ERROR: 'public'

This patch makes it so you get a friendlier error in this case:

    ERROR: No public addresses found for '<name>'.

Change-Id: I176decf90f472f9b0768e4d0c2bcabd55fe7198a
2012-03-30 14:59:54 -04:00
Dan Prince 8632032a69 Fix spelling of curent in list sec groups.
Change-Id: I248b4c506fda155f74cc6231877c2e50bdc517fa
2012-03-30 10:48:35 -04:00
Jenkins 262886b297 Merge "Remove serverId lookup in volume attachments" 2012-03-29 23:49:27 +00:00
Jenkins 6556686508 Merge "Set up the log handler only once." 2012-03-26 18:51:55 +00:00
Jenkins d4f7ffc668 Merge "Improve the error message from the nova shell" 2012-03-24 02:47:25 +00:00