Commit Graph

1022 Commits

Author SHA1 Message Date
c0bafb46a9 Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I0d706cdce7c4cb49c4bfa84d2d0ab92d591de71b
2015-05-05 06:06:24 +00:00
b50ff9d3c5 Merge "Add image show tests" 2015-05-01 21:13:03 +00:00
9561420a4f minor syntax error in tox.ini
Change-Id: I476ea8f2cf4370e62b6b6b15d72b97beabe6677e
2015-05-01 12:40:46 -06:00
47791a1639 Add image show tests
Image v2 uses warlock objects rather than the usua Resource objects
so we need to test for those.  This adds a subset of the Image v2
schema that should be enough to test for proper warlock image handling.

Depends-On: Ic95db2f63d9f5f37e29f0d7e048397da311fbf8c
Change-Id: Ib89cce87f110a554f40e726718e31d39b500a6ae
2015-05-01 11:12:35 -05:00
1bb4bb3baf Minor fix to openstack image show command
image show using V2 api was failing.

openstack --os-image-api-version 2 image show <image_id>
ERROR: openstack _info

Closes-Bug: #1450829
Change-Id: Ic95db2f63d9f5f37e29f0d7e048397da311fbf8c
2015-05-01 08:44:59 -07:00
28f65e6650 Merge "Create 1.2.0 release notes" 1.2.0 2015-04-30 20:07:08 +00:00
5d5054b6f5 Create 1.2.0 release notes
Change-Id: I82dcd075960d9a4ed8b89471a31a951b274de4fa
2015-04-30 12:08:04 -05:00
af2a665a63 Fix tiny typo in comment message
compatability => compatibility

Change-Id: I3181fb2b83df1e2cb60a9eedf319f2ad0a487dba
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
2015-04-30 17:21:45 +08:00
634004f33e Merge "Add parent field to project creation" 2015-04-30 03:16:20 +00:00
9b9c396d8f Merge "Redo 1.1.0 release notes" 2015-04-29 16:20:14 +00:00
4451507cce Merge "Remove unique class names because they are scoped" 2015-04-29 06:07:34 +00:00
075987267b Merge "Functional tests run in many environments" 2015-04-29 05:53:09 +00:00
cf52e722c0 Minor logging/debug cleanups
This removed the rarely useful cliff command list from the debug output.

Change-Id: I48f22086733acf90e79a6ddac8712734ee2d0b60
2015-04-28 18:15:24 -05:00
b1ffbcff0b Redo 1.1.0 release notes
The 1.1.0 release went out without the release notes commit, this
fleshed out the text properly.

Change-Id: I72811689c14a89c8468077d2cc3ab531acb7563b
2015-04-28 16:45:59 -05:00
75d3130ab2 Remove unique class names because they are scoped
Remove unique class names because they are module scoped.  Also,
add cleanup of the tmp file in the object test.

Change-Id: I8107a02b13ff87793ba1e56e0f0ad26890f24369
2015-04-27 13:51:39 -06:00
48b52a0d40 Raise exception if no session is created
If the clientmanager is unable to create a keystone session (due to
insufficient auth parameters or something else) then the exception
caused by this shouldn't be ignored, as was the case.

On the other hand, we don't want this behaviour in the case of the
'complete' command, so this is now properly detected.

Change-Id: If4f453d23cc87900cda752e9ffbcf41ded59e26f
Closes-Bug: #1444640
2015-04-27 16:54:28 +03:00
416d840dc4 Reduce parameters to base class execute
Simplify the parameters so we are just passing a command string
to the execute command in the base class.  The string is exactly
the command we are going to run.  This will make debugging
easier and make it clearer what we are actually running.

Change-Id: I0425007e1849f31d692420e38544c55b1acb86c4
2015-04-26 06:37:36 -06:00
aa7e58cefb Functional tests run in many environments
Have the functional tests running with less customization and
less shell.  This change will allow the functional tests to be
run against any cloud set up in the environment.

Change-Id: I24f621fbace62273e5a0be24e7af9078c0fc8550
2015-04-25 08:42:06 -06:00
2c6c94be52 Merge "Remove references to venv" 2015-04-24 20:34:32 +00:00
4acb01360f Merge "Remove run_tests.sh" 2015-04-24 14:57:37 +00:00
d6fa242818 Remove references to venv
Stick to using tox, remove the tools directory since it only
contained references to using venv. Also update a few other
locations that would have otherwise been incorrect.

Change-Id: I7d3e9067256ac0935f07904abcf584d898ac1d6f
2015-04-24 02:15:36 -04:00
f815b3fe27 Add a doc that dictates backwards incompatible changes
start tracking any changes in a standard format, so users may
have a heads up about any impacts.

Change-Id: Ibc06926a53592e927d11440362cd3598e0d4b2bf
Closes-Bug: 1406470
2015-04-23 23:25:09 -04:00
a81332fad7 Remove run_tests.sh
Use tox instead.

Change-Id: I70f96b301af129e58fd23e6a21c711bbc17940cd
2015-04-23 23:08:17 -04:00
00be0dfc0f Merge "Fix security group create description bug" 2015-04-23 20:05:43 +00:00
f6ac88333c Merge "Security group rule create fails" 2015-04-23 19:57:54 +00:00
9b6dada8e3 Security group rule create fails
By default the --dst-port value is set to None when no --dst-port
argument is provided. By making the default value (0, 0), this allows
novaclient to proceed without any error.

Change-Id: Ibb58f5df5ed1890a8f499dd2467b12b0e79d547b
Closes-Bug: #1443963
2015-04-22 23:45:33 +00:00
11c39530f5 Fix security group create description bug
--description is optional in our CLI but the server requires it to be
non-empty.  Set a default value of the given name.

Closes-Bug: #1434172
Change-Id: I81507a77ad8d815000ff411784ae71e229c77f78
2015-04-22 18:37:31 -05:00
856f641582 Merge "Refactor utility to find identity resources" 2015-04-22 20:26:57 +00:00
166c06ab5f Merge "Adds support for container selection for backup" 2015-04-21 18:45:26 +00:00
2ee904cb2d Adds support for container selection for backup
Changed argument from parsed_args.volume to parsed_args.container as per what
is expected in python-cinderclient.

If not defined, defaults to "backup_swift_container" in cinder.conf.

Stops there being a container for every volume you take backups off.

Change-Id: I4a34894222f71b0f207d007c32427040589406aa
Closes-Bug: 1446751
2015-04-21 18:45:54 +02:00
e4fdf6e4e5 Create 1.1.0 release notes
Change-Id: Ib5dd052ed938a844d39a61fcbea0510a2a427ab7
2015-04-21 11:10:48 -05:00
e288e0194c Merge "Handle the pagination for image list" 1.1.0 2015-04-20 20:35:02 +00:00
3c7b5185ca Handle the pagination for image list
Handle the paginatiion for image list.  We were sorting the
data here, so nothing lost for the generator.

Change-Id: I2d7d4b3d5c9f650953f309c971ac53b64f6f7f77
2015-04-20 11:23:15 -06:00
d733e457e3 Refactor utility to find identity resources
Based on the comments made in this patch:
  https://review.openstack.org/#/c/174908/2/

We should simplify and refactor the way we handle finding identity
resources.

Change-Id: I77db2e3564faa90a917082a6c6cb87269e93aebe
2015-04-20 12:40:33 -04:00
32843844a3 Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I0e7cdac01f3dc8b9368aa891e93125a5e838ae3d
2015-04-20 06:04:10 +00:00
46d9fa1080 Merge "Begin documenting --os-cloud" 2015-04-19 15:16:42 +00:00
2c6a5ca53a Merge "Update the docs for new nic options" 2015-04-19 14:23:12 +00:00
3f84731637 Merge "remove unnecessary conditionals" 2015-04-19 14:23:05 +00:00
c9d3addf2c Merge "Role operations should not require list object permission" 2015-04-19 13:55:33 +00:00
00eeb3593c remove unnecessary conditionals
In several places we had else branches where a reasonable default
would do the job. This makes the code a mean cleaer and easier to
read.

Change-Id: I231e09aab85fd32b8300bc33c48d0899b728b96e
2015-04-19 02:41:04 -04:00
fd8b284164 Merge "Add --os-cloud support" 2015-04-19 06:17:31 +00:00
61fb68e8b3 Merge "Add support for showing limits of a specific project" 2015-04-19 06:15:08 +00:00
e85971b1a6 Update the docs for new nic options
Change-Id: I4c8b93ede80f993eab8badfbba6bf1c530844d54
2015-04-19 01:43:40 -04:00
6e7013954d Begin documenting --os-cloud
Change-Id: Id2e98ac5601840f6d380cabcd578f1a6d6d9b245
2015-04-18 23:04:53 -05:00
5649695c65 Add --os-cloud support
This adds a new option --os-cloud that allows the configuration values
for multiple clouds to be stored in a local file and selected with
a single option.

Internal option names have had 'os_' removed to be comptible with
the options returned from OpenStackConfig().get_one_cloud().

The config file is ~/.config/openstack/clouds.yaml:

Sample
------
clouds:
  devstack:
    auth:
      auth_url: http://192.168.122.10:35357/
      project_name: demo
      username: demo
      password: 0penstack
    region_name: RegionOne
  devstack:
     auth:
       auth_url: http://192.168.122.10:35357/
       project_name: demo
       username: demo
       password: 0penstack
     region_name: RegionOne

Co-Authored-By: Monty Taylor <mordred@inaugust.com>
Change-Id: I4939acf8067e44ffe06a2e26fc28f1adf8985b7d
Depends-On: I45e2550af58aee616ca168d20a557077beeab007
2015-04-18 23:04:51 -05:00
a5e79d58ae Merge "Defer client imports" 2015-04-19 03:23:12 +00:00
98604abcda Merge "Imported Translations from Transifex" 2015-04-18 16:37:07 +00:00
2ea6f10691 Merge "Suppress warnings user can't fix" 2015-04-18 07:12:03 +00:00
0e61e5f43c Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I489da64d5c1b14506dfa6619df71afa763f4b3b6
2015-04-18 06:04:12 +00:00
fbb7641694 Merge "Print warning on authentication error" 2015-04-18 05:27:26 +00:00