2607 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
Jenkins
f07b883d60 Merge "Modify the style of translated messages" 2016-06-03 19:16:40 +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
OpenStack Proposal Bot
3078540161 Updated from global requirements
Change-Id: I17243642ec7d2c4d27ba42f722f848dead2f820a
2016-06-03 03:44:52 +00: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
b349156059 Merge "Trivial: Remove duplicated line in man page" 2016-06-02 06:23:59 +00:00
Jenkins
2ded8551be Merge "Updated from global requirements" 2016-06-02 06:18:50 +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
Tang Chen
55466d8158 Trivial: Remove duplicated line in man page
Change-Id: I3f72308e639ddcdfb0289e50f9bafd097461c896
2016-06-02 12:19:08 +08:00
OpenStack Proposal Bot
6ab1eab414 Updated from global requirements
Change-Id: I5e7045eae42c9cc6e1005134b8c589e5d1eca08d
2016-06-02 04:09:24 +00:00
Jenkins
f1f9ae850e Merge "Modify lowercase to uppercase" 2016-06-02 03:48:39 +00:00
zhang.xiuhua
478dd64822 Modify lowercase to uppercase
Change-Id: Ia59355d824ba61da824612ea0e03243b1bec4a57
2016-06-02 09:57:21 +08:00
Jenkins
a182205a94 Merge "Trivial: Fix i18n support in network/common.py" 2016-06-01 13:38:19 +00:00
OpenStack Proposal Bot
e7be9731ce Updated from global requirements
Change-Id: I04e0189527b1affabf351002d66fe857ec73a694
2016-05-31 18:56:32 +00:00
Jenkins
48ffd8cf4b Merge "include old release notes in reno" 2016-05-31 17:15:45 +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
Rui Chen
550ebac714 include old release notes in reno
Currently OSC release notes are in the OpenStack releasenote
site. There is a collection of old non-reno release notes in
our docs folder. Move the non-reno release notes to the
reno directionary.

Change-Id: Ie51fd1e1115d606e5d2739014d3720eedc8dc225
2016-05-31 16:13:16 +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
8470618611 Merge "Updated from global requirements" 2016-05-30 20:25:22 +00:00
Jenkins
4e44f1206f Merge "Add support for setting flavor-access" 2016-05-30 20:00:11 +00:00
OpenStack Proposal Bot
dfea25d70c Updated from global requirements
Change-Id: I2a70d88480db366bffc8e69d318be89625e9177c
2016-05-30 17:50: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
Jenkins
1dfc7d4b94 Merge "Fix functest "test_server_metadata()" in test_sever.py" 2016-05-30 03:29:14 +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
366adf98c0 Fix functest "test_server_metadata()" in test_sever.py
There is only a functional test for "server set" command
in test_server_metadata(), we also need a functional test
for "server unset" command, so I add it in this patch.

Change-Id: I23c40ac1c5adcc2563d8aa9dcb5551df695e98e3
2016-05-28 13:32:13 +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