1432 Commits

Author SHA1 Message Date
jiaxi
2fc800aace Making --property as required when openstack flavor unset
When using openstack flavor unset, the --property is needed,
so the --property should be a required parameter.

Close-Bug: #1474237
Change-Id: Id6913e1b263eddeb5dd44c3edb957206b68f816c
2015-07-18 08:29:54 -04:00
TerryHowe
b3335b3474 Do not set default versions in parsed args
Setting default versions in parsed args makes it so OCC
cannot tell if the argument was parsed, an environment
variable was set or it is just defaulted.  In order to
set api versions from OCC, it will have to be defaulted
after processing OCC.

Closes-Bug: #1453229
Change-Id: I4d065919397b783f3bdd4022c986c0234a7a16e6
2015-07-18 06:28:09 -06:00
TerryHowe
d79900a075 Add functional tests for servers that require wait
Change-Id: I4c85b1e303ecb99458594e7743950b0668b3bdfc
2015-07-18 12:22:45 +00:00
Jenkins
fcadb16470 Merge "Add functional tests for volume qos" 2015-07-18 12:19:04 +00:00
OpenStack Proposal Bot
ab2c1f2b82 Updated from global requirements
Change-Id: Id60bd6f5114276ca2267e71de34afa18d5c0a78f
2015-07-18 01:57:02 +00:00
Jenkins
8175ce5985 Merge "Remove unnecessary test extension mock" 2015-07-18 01:10:43 +00:00
Jenkins
154f4ed347 Merge "enhance tests for user v3" 2015-07-18 00:55:06 +00:00
Jenkins
7f5bcb5a5b Merge "add functional tests for identity v2" 2015-07-17 23:30:30 +00:00
Jenkins
f16fab739a Merge "Support multiple volume qos delete" 2015-07-17 23:10:21 +00:00
Guojian Shao
ff3dbddf59 enhance tests for user v3
Change-Id: Ib17ba0cd71068ba8d7e7665160daf3ae0735971b
Related-Bug: #1475357
2015-07-17 19:34:16 +00:00
TerryHowe
e7e8760fa6 Remove unnecessary test extension mock
The network extension test does not need this.

Change-Id: I8dd2cad759a813d7df0476afa6c56f455ddff616
2015-07-17 19:30:46 +00:00
TerryHowe
bc28adc62d Remove requirements.txt from tox.ini
From lifeless: pbr reflects the package dependencies from
requirements.txt into the sdist that tox builds.

Change-Id: I63548ec321b9c59cc935ba8179b1da5b9c90e09b
2015-07-17 11:21:02 -06:00
Guojian Shao
566987ecf1 add functional tests for identity v3
add functional tests for endpoint, region and service.

Change-Id: I504878811dc8f9fcb2295cbf7419885959d9c1f6
Implements: blueprint identity-functional-tests
2015-07-17 15:00:23 +00:00
TerryHowe
d82b1f9d73 Add functional tests for volume qos
Change-Id: I80010b56b399bc027ac864304be60a3ee53bda00
2015-07-17 14:15:16 +00:00
TerryHowe
abfb011527 Support multiple volume qos delete
Also make sure that we are using the singular qos_spec when
we should and the plural qos_specs otherwise.

Change-Id: If4bbeb6fc245d7d80dc3d7dccfe9f949e802653c
2015-07-17 14:14:56 +00:00
Jenkins
bbe71eb9a3 Merge "Rename endpoint type to interface" 2015-07-17 13:55:47 +00:00
Guojian Shao
cc522821f6 add functional tests for identity v2
add tests for endpoint and service.

Change-Id: Iec80106d6e4c310cea1c5af262d145ac1f56525e
Implements: blueprint identity-functional-tests
2015-07-17 16:56:51 +08:00
Jenkins
83edde0ec9 Merge "Drop py33 support for Liberty" 2015-07-17 06:26:15 +00:00
Jenkins
ff3af9f9d5 Merge "only return endpoints that have url" 2015-07-17 03:57:45 +00:00
Guojian Shao
7b32ec003b add --project-domain option for user v3
user v3 create/set only support --project option,
we need --project-domain to prevent collisions between
project names exist.

Change-Id: I2d62e5b9bb6df4c5c5a9542514faf2e4365bb18b
Closes-Bug: #1475357
2015-07-16 23:26:11 +08:00
Guojian Shao
7829aca704 only return endpoints that have url
Change-Id: I97a502252c0c377fce573e92b83c0122812f6f80
Closes-Bug: #1474656
2015-07-16 07:25:51 +00:00
Steve Martinelli
37c83e6231 Fix the way we call find_resource when only using ID
Change-Id: I6fb08edd5499767863e0e67f363bcd9fff3aea60
Closes-Bug: 1475127
2015-07-16 06:31:46 +00:00
David Moreau Simard
c830d96e4f Fix image save with API v2
Glanceclient v2 no longer expects the whole image
object, just the image id.

Change-Id: I8f34acfa50ca2d50eb7c9eb1dd5114c4621ad158
Closes-bug: #1475001
2015-07-15 15:41:49 -04:00
TerryHowe
36391a81a3 Rename endpoint type to interface
Change-Id: I4e21d09bc747e8210f4f79a1d6c4c7ccf2f25d1c
Closes-Bug: #1454392
2015-07-15 10:11:59 -06:00
OpenStack Proposal Bot
1af89f757c Updated from global requirements
Change-Id: I0703a48d8c95617e687eea9eea7990d778d760b5
2015-07-15 01:37:44 +00:00
Jenkins
50a5c36ef1 Merge "Remove the --dhcp option to network list" 2015-07-14 20:47:09 +00:00
Steve Martinelli
79c69e1e82 temporarily skip help tests
We're trying to change cliff for the better, by improving the UX
of the help command. But cliff tests against the tip of OSC.

Temporarily skip the tests that are failing and then update them
once the fix for cliff has been merged.

The patch in question: https://review.openstack.org/#/c/201258/

Change-Id: Ie1e7ddd66477ddf4a3bafedad12934e900ace48f
2015-07-13 22:59:15 -04:00
TerryHowe
922074b2d9 Drop py33 support for Liberty
Less is more:
https://wiki.openstack.org/wiki/Python3

Change-Id: I8a98b72f85bb29a3663c654613ac0d70fddbc1b1
2015-07-13 14:50:47 -06:00
Jenkins
963f3049c0 Merge "Fix interactive password prompt" 2015-07-13 18:58:21 +00:00
Jenkins
1ea34fc8a5 Merge "add functional tests for identity v2" 2015-07-13 17:17:06 +00:00
Jenkins
dc3ff5e000 Merge "Show which aggregate a hypervisor is member of" 2015-07-13 17:07:08 +00:00
TerryHowe
ef0cf00b33 Fix interactive password prompt
Change-Id: Ie0e7a9cd6016b5c646a111a76e8372e10602a25c
Closes-Bug: #1473862
2015-07-13 07:44:24 -06:00
OpenStack Proposal Bot
1462fb7f49 Updated from global requirements
Change-Id: Id0d62a51c35a4f7db5144dcbcde1888703fae378
2015-07-12 15:22:26 +00:00
Jenkins
fac52cc606 Merge "Remove testing of cliff command line options" 2015-07-12 14:58:32 +00:00
Jenkins
6b80efb429 Merge "Fix address parsing for server ssh command" 2015-07-12 14:40:29 +00:00
Jenkins
d96f8b532a Merge "Fixes modules index generated by Sphinx" 2015-07-12 05:07:00 +00:00
lin-hua-cheng
f807f0a66e Fix wrong mock method call
There is no assert_called() method in mock, replace it with
assert_called_with() method. The old method used to work with
mock 1.0.1 because it was a noop in magicmock.

Needs https://review.openstack.org/#/c/200583 to pass the requirements check.

https://review.openstack.org/#/c/193935/ changed the OS_* vars
we source by forcing v2password as the auth method.
change our identity v3 test setup by setting v3password

Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com>

Closes-Bug: 1473454

Depends-on: I0cfab6d13e5d9e744cb302c86a2c21269923e75d

Change-Id: Id22765c7e044797e03d19ad1b103fadec2726aa2
2015-07-11 18:57:20 -04:00
Guojian Shao
e76de2c204 add functional tests for identity v2
split test_identity.py into test_user.py, test_project, etc.
To make functional tests run repeatedly without raising
duplicated error, clean up resources before exiting each test case.

Change-Id: I8f31ccbd70f1cccdab8b3720aac179e2e399486d
Implements: blueprint identity-functional-tests
2015-07-10 15:35:58 +08:00
lin-hua-cheng
89cf9f61b1 Fixes modules index generated by Sphinx
Sphinx was always using (o)penstackclient for the prefix so the index
wasn't very useful.

Change-Id: Ie9f5d7fe428142bdb8027b422e3023418b48c428
2015-07-09 21:40:31 -07:00
Jenkins
35dc2bed9e Merge "openstack catalog list always returns publicURL for internalURL and adminURL" 2015-07-09 15:58:34 +00:00
OpenStack Proposal Bot
a3f50eafa5 Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I053c9518ef01e008e63833494d2b51c44d3a64a7
2015-07-09 06:11:22 +00:00
TerryHowe
f89fc1ef32 Fix address parsing for server ssh command
There seem to be three formats for the server address field
and the old code only supported the old format.  This code adds
a parser for all three formats.

Change-Id: I7f12d2c69ff70556907ea6f31a0e0bba91b68b49
Closes-Bug: #1469843
2015-07-08 15:00:51 -06:00
Martin Schuppert
7af00f833f openstack catalog list always returns publicURL for internalURL and adminURL
With this change 'openstack catalog list' returns the correspoding URL for
publicURL, internalURL and adminURL in _format_endpoints .

Change-Id: I5d946c9d70a2d3c22a7cc77067fec8e2e9aa4940
Closes-Bug: 1472629
2015-07-08 21:40:44 +02:00
TerryHowe
2d4a737160 Remove the --dhcp option to network list
The --dhcp option lists agents, not networks.  This does not make
a lot of sense.  Another command should be created to list agents.

BackwardsIncompatibleImpact
Closes-Bug: #1472613

Change-Id: I5ecfe3fc046a07eb64a4dabd41dbd99de7c2215f
2015-07-08 11:21:41 -06:00
TerryHowe
8c7920ddf0 Remove testing of cliff command line options
These options are part of cliff, let cliff test them.

Change-Id: I802c25ba80048607eef6909a21709dcda63231cc
2015-07-08 10:38:35 -06:00
Jenkins
f07f71661f Merge "add functional tests for identity v3" 2015-07-07 18:11:25 +00:00
Guojian Shao
aa3b3c1f0f add functional tests for identity v3
To make test cases more clearly, split test_identity.py
into test_user.py, test_role, etc. Add more test cases for
user, role, etc. Furthermore, to make functional tests run
repeatedly without raising duplicated error, clean up
resources before exiting each test case.

Change-Id: I1541943ad0b8d4d8d1e72822c159fda243b3d1d7
Implements: blueprint identity-functional-tests
2015-07-07 15:57:36 +08:00
Jenkins
dfa80ee9c0 Merge "Add functional tests for volume set size" 2015-07-06 18:52:17 +00:00
Jenkins
e57808d962 Merge "Add functional tests for security group CRUD" 2015-07-06 18:01:35 +00:00
Jenkins
1a45b20ba1 Merge "Add functional tests for flavor metadata" 2015-07-06 17:04:02 +00:00