1798 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
4883c2b72a Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Icda8a1c87ded27c1ba061d5692e95a1477206b92
2016-06-04 06:18:46 +00:00
Jenkins
416792f079 Merge "Fix some missing i18n support problems in compute" 2016-06-03 19:24:42 +00:00
Jackie Yuan
01ad9ab368 Modify the style of translated messages
Translated messages should not be combined with orther literal
strings to create partially translated message.
Although this change is very small, but this is the only one in
the directory VOLUME.

Change-Id: If798aacde9d5d5e8ac2edd49e75099ec255c858e
2016-06-03 17:04:42 +08:00
Huanxuan Ao
95d5d9f761 Fix some missing i18n support problems in compute
Found and Fix some missing i18n support problems in compute/client.py

Change-Id: I54374f4eddafd9f80b6ccdaf8f8c30e098df105e
Partial-bug: #1574965
2016-06-03 12:15:22 +08:00
Dean Troyer
41f5521ee9 Update v2 endpoint show help
https://review.openstack.org/#/c/319821/ updated v2 endpoint show
and the doc, but not the v3 help.

Change-Id: Ifaa90f6266eabafb9de544199759f4ee8bcc1c83
2016-06-02 14:32:16 -05:00
Jenkins
9f65a9954c Merge "Add support for removing flavor-access" 2016-06-02 18:14:48 +00:00
Jenkins
6088d31ca9 Merge "Add FakeQos class and update unit test for qos_specs in VolumeV2" 2016-06-02 05:34:17 +00:00
Huanxuan Ao
22c60f3ac7 Add support for removing flavor-access
Add "--project" and "--project-domain" options in
"flavor unset" command to remove flavor access.

Change-Id: Ia5c5a80d9890d5af066b75b4e202647c18c7d915
Partial-Bug: #1575461
2016-06-02 12:40:43 +08:00
Jenkins
a182205a94 Merge "Trivial: Fix i18n support in network/common.py" 2016-06-01 13:38:19 +00:00
Jenkins
75f6a8e8bd Merge "Fix unit test for volume commands in volumev2" 2016-05-31 13:59:02 +00:00
Jenkins
21924f55b9 Merge "Fix output and error log in server.py" 2016-05-31 13:42:14 +00:00
Jenkins
6a204b000a Merge "Do not require an scope when setting a password" 2016-05-31 13:38:30 +00:00
Tang Chen
5a3a7867a8 Trivial: Fix i18n support in network/common.py
Some missing i18n problems in network.

Change-Id: I45a09a6ada1aad5a64256c0d0a0a2b6e250df670
2016-05-31 20:31:28 +08:00
Huanxuan Ao
677dfaa925 Fix unit test for volume commands in volumev2
There are some issues in test_volume.py in volumev2,
I make three changes in this patch:

1.modified some codes that not used FakeVolume class.
2.added a fake image by FakeImage class for this test.
3.added a fake snapshot by FakeSnapshot class for this test.

Change-Id: I02ba73d3aaee95624b0e2307b255e0e485b0c3a3
2016-05-31 17:36:02 +08:00
Jenkins
ca58ab9d09 Merge "add unit test for compute agent command" 2016-05-31 07:11:04 +00:00
sunyajing
a207fdfda6 add unit test for compute agent command
Change-Id: I966d5a3a307fcd7f4efb1267aa2896efd53be50d
2016-05-31 12:50:23 +08:00
Huanxuan Ao
dce3962ffd Add FakeQos class and update unit test for qos_specs in VolumeV2
Change-Id: I108c8d343678f3d19d1ca1f93d998c46c7c32eff
2016-05-31 11:54:49 +08:00
Jenkins
4e44f1206f Merge "Add support for setting flavor-access" 2016-05-30 20:00:11 +00:00
Huanxuan Ao
7def236718 Fix i18n support in cinder
I checked all the cinder files and found some small issues
of i18n support.So I fix them.

Change-Id: I2df06cb9db4643bd734105664d83299726f7b4e9
Partial-bug: #1574965
2016-05-30 17:00:35 +08:00
Huanxuan Ao
c46a5597be Add support for setting flavor-access
This patch adds "--project" option in "flavor set" command to support
for setting flavor access.

Change-Id: I75b473600080d8ab1dd6ad01561c4f989ed3c3bd
Partial-Bug: #1575461
2016-05-30 16:26:09 +08:00
Jenkins
37bc7bbf91 Merge "Add network segment command object" 2016-05-30 06:20:21 +00:00
Jenkins
d532e3b5f2 Merge "Add "image unset" command" 2016-05-30 04:39:34 +00:00
Jenkins
4822bf1f53 Merge "[compute] Add server backup function" 2016-05-30 04:28:07 +00:00
Jenkins
416550fd3d Merge "Support to set server state" 2016-05-30 03:48:37 +00:00
Jenkins
6e3f717b7c Merge "Support deleting multi address scopes in networkv2" 2016-05-30 03:29:38 +00:00
Rui Chen
1a7284f63a Support to set server state
When a server is unexpected state, OSC don't support reset
the server to active or error state, that's supported by
novaclient, and it's an important command for operators, the
patch implement this function.

Change-Id: I3e7800feb192832b0719ef9a353945beb6bfd509
Implements: blueprint server-reset-state
2016-05-28 18:55:50 +08:00
sunyajing
3e11661074 Add "image unset" command
This patch add a command that supports
unsetting image tags and properties

Change-Id: I6f2cf45a61ff89da6664f3a34ae49fdd85d8c986
Closes-Bug:#1582968
2016-05-28 16:38:22 +08:00
Jenkins
7247707d34 Merge "Fix help message for "server group delete" command" 2016-05-28 07:58:15 +00:00
Tang Chen
97162ecd22 Fix output and error log in server.py
This patch fixes 2 problems:

1. The '\n' should be in the end of a message,
   not the beginning.

i.e.:
   The original code was:
       sys.stdout.write(_('\nError deleting server'))
   It will make the output look like this:

   [root@tangchen /]# openstack server delete aaa bbb

   Error deleting server
   Error deleting server[root@tangchen /]#

   We change it to:
       sys.stdout.write(_('Error deleting server\n'))
   Then the output will become:

   [root@tangchen /]# openstack server delete aaa bbb
   Error deleting server
   Error deleting server
   [root@tangchen /]#

   which is much better.

2. Record the error in log for those who didn't.

Change-Id: I38b00c2321014757970183205f95f026e20a8090
2016-05-28 15:46:32 +08:00
Huanxuan Ao
537f5cbe8a Support deleting multi address scopes in networkv2
This patch adds support for deleting multi address scopes by
using "address scope delete" command.

Change-Id: Ic8d3ebc17db44ca5d42c336d2c4d5633f70d4e8b
Partially-Implements: blueprint multi-argument-network
2016-05-28 13:46:38 +08:00
Huanxuan Ao
b2a0e633eb Fix help message for "server group delete" command
"Server group delete" command supported deleting multi server
groups, but the help message was "Delete an existing server
group", so I change it in this patch.

Change-Id: I05b1a7e3f29b84b9190e7cc05c01734e3daa7a6d
2016-05-28 13:21:39 +08:00
Richard Theis
6a55e05cbf Add network segment command object
Add network segment command object in support of routed networks.
This patch set includes documentation, unit tests and functional
tests (currently skipped until segments enabled in neutron by
default) for the following new commands:
  - "os network segment list"
  - "os network segment show"

These new commands are currently marked as beta commands.

Change-Id: I1a79b48dc6820fe2a39fcceb11c8cae3bda413a0
Partially-Implements: blueprint routed-networks
2016-05-27 12:58:25 -05:00
jichenjc
460846cef2 [compute] Add server backup function
Add server backup function

There is no return value for this command per following doc
http://developer.openstack.org/api-ref-compute-v2.1.html#createBackup,
also novaclient can't be updated now due to backward compatible issue
http://lists.openstack.org/pipermail/openstack-dev/2016-March/089376.html,
so we have to get the information ourselves.

The Image tests were not using warlock images, so that needed to be fixed
before we could completely test things like --wait.

Change-Id: I30159518c4d3fdec89f15963bda641a0b03962d1
2016-05-27 11:47:25 -05:00
Sheel Rana
62ec00ff3a i18n support for leftover exception messages in volume
Change-Id: I7be168fc587cb717075095cf6e12db19b0884dda
2016-05-27 17:05:10 +05:30
Alvaro Lopez Garcia
5f950788ff Do not require an scope when setting a password
Changing the password in Keystone V3 is an unscoped operation, but we
were requiring a scope.

Change-Id: If0653ac7b59320c2cd9d42a2c73dd29c3626d389
Closes-Bug: 1543222
2016-05-27 09:12:24 +02:00
Jenkins
9da02d14ea Merge "fix endpoint show help" 2016-05-26 22:10:23 +00:00
sunyajing
9e9e4e6f59 fix endpoint show help
endpoint show command can also work on service name or type or ID option

Change-Id: I43c8df4bc093d4130cf33fd2520736ce9077dc82
2016-05-26 19:40:26 +08:00
Jenkins
0d8dab6288 Merge "keystone: fix catalog output when region is unset" 2016-05-25 18:56:14 +00:00
Jenkins
646f702958 Merge "Refactor service unit tests" 2016-05-25 15:19:58 +00:00
Julien Danjou
e44bb009d3 keystone: fix catalog output when region is unset
If no region is set in Keystone, null is deserialized as None and the
region has None has value, which triggers a type error when building the
output string.

This patch fixes that.

Change-Id: I7637dc2595655cf452f38308f99fe66ac782e16d
2016-05-25 16:13:48 +02:00
Tang Chen
8ce5d90136 Refactor service unit tests
Add a FakeService class, and refactor service unit tests
to use this class.

Change-Id: I650ad83386a58205ebe42274d2bf2f508436bfa6
2016-05-25 13:06:39 +08:00
Jenkins
f97fa2e6d2 Merge "Search by user defined ID for service providers" 2016-05-25 02:44:56 +00:00
Jenkins
e45b1c63f4 Merge "Devref: Command Beta" 2016-05-25 00:08:55 +00:00
Jenkins
2402dcfc35 Merge "Refactor TestVolumeShow with FakeVolume" 2016-05-24 23:30:56 +00:00
Jenkins
478b776937 Merge "Search by user defined ID for identity providers" 2016-05-24 23:30:22 +00:00
Steve Martinelli
58094bff80 Search by user defined ID for service providers
IDs for service providers can be user defined (like, Bob). This
causes issues with the usual get by ID method.

Keystone server side has implemented changes to search by ID when
listing, which should resolve the issue with minimal changes to
the client side.

Change-Id: Ic705806e4bc7bb24f946a1fce803a0a0a4d788c1
Closes-Bug: 1555830
2016-05-24 18:45:58 +00:00
Tang Chen
5398c96e2a Fix i18n support for help and error messages in compute
Change-Id: Id6eebcb48d1b7b49b6636524506294edbc44a83f
Partial-bug: #1574965
2016-05-24 11:03:49 +08:00
Jenkins
e3f169280c Merge "i18n support for help and error messages in cinder" 2016-05-24 01:47:22 +00:00
Jenkins
59f8e32674 Merge "Add network support for "quota set"" 2016-05-23 20:13:35 +00:00
Jenkins
26865846bf Merge "Add FakeType class and update volumetype test in VolumeV2" 2016-05-23 19:52:34 +00:00