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
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
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
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
--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
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
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
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
This replaces the deprecated (in python 3.2) unittest.TestCase
method assertRaisesRegexp() with assertRaisesRegex()
Closes-Bug: #1436957
Change-Id: I7e2eb18c1b5ecdd1691d7a51087b8a29ca152d89
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
Otherwise, the following error with be shown:
$ magnum ca-rotate
ERROR: 'Namespace' object has no attribute 'bay'
Change-Id: I48c19ad585d3bcb863c5432fae6a6c8af358a21b
Closes-Bug: #1677393
Increase Test coverage from 80% to 84%.
Removed unused code of SecretsHelper.
Change-Id: I7bf81f44defde984c8201423447d4071682a8c99
Partially-Implements: magnumclient-ut-coverage
My mistake in OSprofiler help when copy some code from novaclient
Correct nit in: I85f766f636f754fc6ad8e28e3df2793cd02a618e
Change-Id: I195d1a02e7c4f10858caf61a1857537ad8dff189
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