Commit Graph

670 Commits

Author SHA1 Message Date
Tony Breeds 895f9f3a19 Retire Packaging Deb project repos
This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).

Change-Id: Ifa0c3f4b80add1eac91a4750dc34de1cda97c595
2017-09-12 16:01:40 -06:00
OpenStack Proposal Bot 2e4f22bb54 Updated from global requirements
Change-Id: Ifbdcfc9305ada9f16f569932835fe545e4e0b163
2017-07-23 13:52:01 +00:00
Jenkins b4c65988b6 Merge "Update the documentation link for doc migration" 2017-07-23 12:50:14 +00:00
Jenkins dee5ab1405 Merge "remove slash from kubernetes cluster context name" 2017-07-20 17:18:07 +00:00
Clenimar Filemon 14774588c0 remove slash from kubernetes cluster context name
magnum names kubernetes clusters context as "default/something",
whose slash may cause some problems with certains tools, such as
kubefed. remove the slash from the context name.

Change-Id: I9b0c64b524d303ed51d5d2f3e0464245bcc66896
Closes-Bug: #1705480
2017-07-20 16:44:58 +02:00
Hangdong Zhang c7a1f6dada Update the documentation link for doc migration
Change-Id: If32cf6212c18f2c5f7e784f069e4178cb38677c0
BTW: Do some optimization as well (http -> https)
2017-07-20 18:19:18 +08:00
OpenStack Proposal Bot 421c71960d Updated from global requirements
Change-Id: Ic78c923e970f17902cd0598ea8d57e2bdcbde9ee
2017-07-18 01:56:09 +00:00
OpenStack Proposal Bot 9d834f8c01 Updated from global requirements
Change-Id: I6546eff60d0043f2d78ef649975e54cf639a92a7
2017-07-05 13:20:55 +00:00
Jenkins ac11976894 Merge "switch to openstackdocstheme" 2017-07-05 07:51:38 +00:00
Kiran_totad de67cbb1ac switch to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch
to use the openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: Idb5e5f47f0e8c63d7142a1a43990bf586ff4dbee
2017-07-05 06:10:16 +00:00
Mark Goddard 899e6c2303 Don't set a default for docker_volume_size
When creating clusters, we should only pass the docker_volume_size
parameter to the magnum API if it was specified by the user. If not,
omitting it allows the API to set a default based on the cluster
template.

Change-Id: I510ff10d708a237be0cb88d3ff7094d7c81f5875
Closes-Bug: #1702314
Related-Bug: #1635244
2017-07-04 16:43:35 +01:00
OpenStack Proposal Bot babbdb7083 Updated from global requirements
Change-Id: I0bd634db2eb936dd073d855dc182c4f0547455eb
2017-06-27 12:21:44 +00:00
Tovin Seven 7f573470b5 Make --profile load from environment variables
--profile argument can be loaded from OS_PROFILE environment variables
to avoid repeating --profile in client commands.

Co-Authored-By: Hieu LE <hieulq@vn.fujitsu.com>
Change-Id: I67fa2538a10788ac6942995b440c22facb81fc68
2017-06-19 13:37:18 +07:00
Jenkins a0e89b2848 Merge "Add --docker-volume-size for cluster-create" 2017-06-16 14:09:07 +00:00
Ricardo Rocha 0f03836628 Add --docker-volume-size for cluster-create
Add a docker-volume-size override parameter on cluster-create to override
the value present on the cluster template.

Partial-Bug: #1697648

Change-Id: Ib4d4af20dc5bb5fe631802dabe73d8ee341899b1
2017-06-13 09:28:30 +00:00
Jenkins 0d0959aa13 Merge "Change assertTrue(isinstance()) by optimal assert" 2017-06-11 16:54:05 +00:00
OpenStack Proposal Bot 7380274dde Updated from global requirements
Change-Id: I681130de9827bed8eb69f6f7c77de7d5b460f386
2017-06-10 21:48:12 +00:00
Vu Cong Tuan 96c304b9b7 Change assertTrue(isinstance()) by optimal assert
Some of tests use different method of assertTrue(isinstance(A, B)).
The correct way is to use assertIsInstance(A,B) provided by testtools.

Change-Id: Ib04a2fd4b6545bf41b14b4366c11f4d7329227e6
Closes-bug: #1268480
2017-06-07 14:49:53 +07:00
Jenkins 7d5539f28e Merge "Add the support for 'detail' flag" 2017-06-07 07:40:37 +00:00
Madhuri Kumari 2850d1714f Add the support for 'detail' flag
Magnum API supports a 'detail' flag to show the list
of cluster templates with details but that was not supported
at client.
So this patch adds the support for cluster-template-list command.

Change-Id: I7df73aae1c489132aaf091d162b1d081e65f09c7
Partial-Bug: #1674314
2017-06-06 05:03:00 +00:00
Jenkins 821e29f6d7 Merge "Magnum client suport insecure_registry" 2017-06-05 04:55:37 +00:00
OpenStack Proposal Bot be76b893b6 Updated from global requirements
Change-Id: I50b32f4f4123bca1b9e5ade4371a34003d22a125
2017-05-23 11:59:15 +00:00
rajat29 fc1ca5d2c5 Replace assertRaisesRegexp with assertRaisesRegex
This replaces the deprecated (in python 3.2) unittest.TestCase
method assertRaisesRegexp() with assertRaisesRegex()

Closes-Bug: #1436957

Change-Id: I7e2eb18c1b5ecdd1691d7a51087b8a29ca152d89
2017-05-22 10:17:05 +00:00
OpenStack Proposal Bot 9e068bbc47 Updated from global requirements
Change-Id: I8ecf509a4f16b5f7a3478bb3c64564d5347a6502
2017-05-17 03:57:55 +00:00
OpenStack Proposal Bot cf692d5a3a Updated from global requirements
Change-Id: I0423403530144607af268385e5e7cd49d8f4f97f
2017-05-15 00:54:15 +00:00
coldmoment 9e372baad4 Magnum client suport insecure_registry
Change-Id: Iaf2c967d4d145aea8c3c127a2c1169105479d98a
Partially-Implements: blueprint support-insecure-registry
2017-05-12 14:33:26 +08:00
Jenkins 32e15d5e11 Merge "Use assertIsNone(...) instead of assertEqual(None, ...)." 2017-05-05 08:04:36 +00:00
Jenkins 64797cd367 Merge "Make --cluster option required for ca-rotate" 2017-05-05 07:17:31 +00:00
chenaidong1 669c9428d8 Use assertIsNone(...) instead of assertEqual(None, ...).
Ref£º   http://docs.openstack.org/developer/hacking/#real-world-import-order-examples

[H203] Use assertIs(Not)None to check for None (off by default) Unit test assertions
tend to give better messages for more specific assertions. As a result,
assertIsNone(...) is preferred over assertEqual(None, ...) and assertIs(None, ...),
and assertIsNotNone(...) is preferred over assertNotEqual(None, ...)
and assertIsNot(None, ...).

Change-Id: Idcf78fce02b01c41816a34efcb1264d69ce71706
2017-05-04 10:05:46 +08:00
OpenStack Proposal Bot d557174631 Updated from global requirements
Change-Id: I25dfccb505022aeda187ade821238dc9e8fed3e0
2017-05-03 12:22:44 +00:00
OpenStack Proposal Bot a790dcedaa Updated from global requirements
Change-Id: If7481a29bca7b28e6d0711c384373a2eccd58415
2017-04-12 04:21:21 +00:00
Jason Dunsmore c723129ae3 Make --cluster option required for ca-rotate
Otherwise, the following error with be shown:

$ magnum ca-rotate
ERROR: 'Namespace' object has no attribute 'bay'

Change-Id: I48c19ad585d3bcb863c5432fae6a6c8af358a21b
Closes-Bug: #1677393
2017-04-07 12:26:57 -05:00
Jenkins 06f9c511ca Merge "Move cover.sh to the tools directory" 2017-03-21 17:38:33 +00:00
Jenkins 9cc2219d59 Merge "Add ca-rotate command to magnumclient" 2017-03-20 18:47:52 +00:00
Jenkins 67976c4826 Merge "Increase Test coverage" 2017-03-20 18:35:21 +00:00
Jenkins 2d3936fefe Merge "Update .gitignore to ignore .eggs" 2017-03-20 18:33:05 +00:00
Jenkins 05be18a94f Merge "Remove support for keyapir UUID" 2017-03-20 18:32:57 +00:00
Feng Shengqin 1f5819fcf7 Move cover.sh to the tools directory
Change-Id: Ief705106c158792491437825bed410e37270a147
2017-03-20 19:34:20 +08:00
ricolin 69363f9632 Remove support for keyapir UUID
Remove support for keypair UUID, since it's never been able to use.
Partial-Bug: #1674211

Change-Id: I00ea74abe6e301ff86c4115269ad2b0023c1d901
2017-03-20 19:09:42 +08:00
Jenkins 72c202e5e0 Merge "Fix wrong path reference." 2017-03-17 12:50:44 +00:00
Jenkins 56594ece87 Merge "Correct mistake from OSprofiler help" 2017-03-17 12:33:36 +00:00
Jenkins a8c6579151 Merge "Fix UT for duplicate name args test case" 2017-03-17 11:36:59 +00:00
chenlx 541db9580d Fix wrong path reference.
Change-Id: I2303483983f5fb9490415bcc65dbfc4ac4259044
2017-03-16 17:24:45 +08:00
yatinkarel 6342182885 Update .gitignore to ignore .eggs
Change-Id: I4b56f3305013e5c6d7e938524f3b5a29ba6542b6
2017-03-10 12:37:25 +05:30
yatinkarel 278232620d Increase Test coverage
Increase Test coverage from 80% to 84%.
Removed unused code of SecretsHelper.

Change-Id: I7bf81f44defde984c8201423447d4071682a8c99
Partially-Implements: magnumclient-ut-coverage
2017-03-10 12:33:11 +05:30
kavithahr 44ae7822a7 The python 3.4 support is removed
The python 3.5 version is available, hence removed
python 3.4 version.

Change-Id: Ie164ec36d8e84ad3b46456b7ca358e6d4b272ba1
2017-03-09 14:17:16 +00:00
Tovin Seven 6eeb433e11 Correct mistake from OSprofiler help
My mistake in OSprofiler help when copy some code from novaclient

Correct nit in: I85f766f636f754fc6ad8e28e3df2793cd02a618e

Change-Id: I195d1a02e7c4f10858caf61a1857537ad8dff189
2017-03-07 09:39:16 +07:00
yatinkarel 3ac3169201 Fix UT for duplicate name args test case
The test is intended for testing duplicate name arg but
test raised mandatory_args error due to absense of
--cluster-template arg, so test is now updated to raise
DuplicateArgs Exception.
Introduced in: https://review.openstack.org/#/c/434411/

Change-Id: Ieee8bfebfb2c0d03d953550e545bccbdee42e688
Implements: blueprint positional-name
2017-03-06 13:17:48 +05:30
OpenStack Proposal Bot 6499ace66a Updated from global requirements
Change-Id: I4313df33f759834b0c160ae14e04a04dd11c804d
2017-03-03 22:58:41 +00:00
Vijendar Komalla 7937f06a64 Add magnum client support for resource quotas
Change-Id: I5fd050a4deedb84c7287f75cf8c606e8c0d4db9a
Closes-Bug: #1659125
2017-03-02 18:42:48 +00:00