Commit Graph

727 Commits (40327b75edcab608e9c9d9ac0993855de088926b)
 

Author SHA1 Message Date
Pavlo Shchelokovskyy 40327b75ed Fix entrypoints for quotas
currently they are pointing to non-existing code/classes which breaks
all sort of things, including bash completion in openstackclient.

Change-Id: I89e266b9d85f4168fd593ad9a05878b902e5315e
Closes-Bug: #1762316
(cherry picked from commit 1dec8995fb)
5 years ago
M V P Nitesh 13858668f0 OSC command for magnum quota's
Implemented Openstack command for quotas-create, quotas-update,
quotas-delete, quotas-show and quotas-list.

Change-Id: I889c2384afdf4cf113345af646b865271784c40c
Partially-Implements: blueprint deprecate-magnum-client
(cherry picked from commit e6856282a3)
5 years ago
Zuul c2b3296461 Merge "Update UPPER_CONSTRAINTS_FILE for stable/queens" into stable/queens 5 years ago
Zuul f3d48a79d4 Merge "Update .gitreview for stable/queens" into stable/queens 5 years ago
Daniel Abad e6b3b270a3 Add deprecation warnings to magnum client commands
In order to enforce the transition to the new
OpenStack client, added deprecation warnings to the
magnum cluster-list, cluster-show, cluster-update,
cluster-delete, cluster-config, cluster-create,
cluster-template-list, cluster-template-show,
cluster-template-create, cluster-template-delete,
cluster-template-update, ca-sign, ca-rotate,
ca-show and stats-list, commands.

Change-Id: I0103f686e0feb4dad4173ba7aa00768c8e25440d
Partially-Implements: blueprint deprecate-magnum-client
5 years ago
M V P Nitesh 6d9a0cf2cf OSC command for ca-show, ca-sign, ca-roatate and stats-list
Implemented Openstack command for ca-show, ca-sign, ca-rotate
and stats-list.

Change-Id: Id9c21c3a603266d6bd32fd744cb3167b01473127
Partially-Implements: blueprint deprecate-magnum-client
(cherry picked from commit ec33c56a23)
5 years ago
M V P Nitesh 7ed2d75de3 Now cluster-template-update works for "labels"
Now we are handling the label values converting them as a dictionary.
But as magnum-api only accepts the input as string. We are converting
the dictionary into string and passing to magnum-api. It is parsing
the string to dictionary and storing the label value a dictionary.

Change-Id: I2cec19e24c6dd32e209ca65a26a2f1999d8289e0
Depends-on: I4d64da78dc4ed4d5599533b54861b65bce609c28
Closes-Bug: #1659189
(cherry picked from commit c165071ff8)
5 years ago
Spyros Trigazis 845c27f00f Make cluster-config rbac compatible for kubebernetes
The user admin needs to have system:master in the organization
and needs to be named admin.

Closes-Bug: #1689849
Change-Id: If43c3d0a0d83c42ff1fceffe4bcc333b31dbdaab
(cherry picked from commit 2d5efb2e4d)
5 years ago
OpenStack Release Bot c488cd9b91 Update UPPER_CONSTRAINTS_FILE for stable/queens
Change-Id: I03e96221e4bec2885eecb1e8e79f262147707d74
5 years ago
OpenStack Release Bot 6b3fc22daa Update .gitreview for stable/queens
Change-Id: Iad4ce9c3e918eb3b13bd4fbe6dc14be79b09f7ff
5 years ago
Zuul e3202b95e1 Merge "Add disable floating ip parameter" 5 years ago
Costin Gamenț a6a76a31dc Add disable floating ip parameter
Fix behaviour of --floating-ip-enabled and add --floating-ip-disabled.
Removed default setting of floating_ip_enabled API call parameter from
the clients (now the API default is used if it's not explicitly set in
the client arguments).

Change-Id: I9e01addaab17a0d37bb2fed10b4672d421bc1e09
Closes-Bug: #1639119
5 years ago
Zuul 1027c0570d Merge "Updated from global requirements" 5 years ago
OpenStack Proposal Bot 1124b4aee1 Updated from global requirements
Change-Id: Id9e33c1b486cedb2ecea294053ac2c72b384a5f2
5 years ago
melissaml 51adfb8252 Cleanup test-requirements
python-subunit is not used directly anywhere
and it is dependency of both testrepository
and os-testr
(probably was used by some tox wrapper script before)

Change-Id: I5c8a58761eba25cc51754a41bbf4adc16d06beb9
5 years ago
OpenStack Proposal Bot 3704633bc9 Updated from global requirements
Change-Id: I6ea9992d1bb45bef163f5f0a2caf0afec34ebe88
5 years ago
Zuul 14d7ba56f4 Merge "Updated from global requirements" 6 years ago
OpenStack Proposal Bot 99f477bf6a Updated from global requirements
Change-Id: I08a79467ba134f201aba68d7782bab097c1f1c99
6 years ago
Ricardo Rocha 5e9f07b77c Set --labels default to None on cluster create
Set the default value for --labels to None, so the cluster template value is
used when no explicit labels argument is given on cluster create.

Closes-Bug: #1697651
Change-Id: I284db3f32cd5c8b6541d60c2a86d7d693ffbedea
6 years ago
Zuul 58ae37ea03 Merge "Updated from global requirements" 6 years ago
Ricardo Rocha dd0958860d OSC: Add --flavor to coe cluster create
Add a flavor override parameter on osc cluster create to override
the value present on the cluster template.

Partial-Bug: #1699245
Depends-On: Ib60c05cce1cf2639ca4740abdd264403033433f9
Change-Id: Ib00514b66ee2d0a2ee4ddafb5b8c2ff8fa82de77
6 years ago
Ricardo Rocha e814523685 Add missing master_flavor_id in cluster attributes
Field master_flavor_id is missing after the initial support of master-flavor
during cluster creation.

Change-Id: I3dc0168f6c3032ddb6493dc3aaaac24795cf2783
Partial-Bug: #1699247
6 years ago
Zuul 7dc3067a0b Merge "inline comment typo fix" 6 years ago
Zuul 5493242b12 Merge "Avoid tox_install.sh for constraints support" 6 years ago
Andreas Jaeger 7e4c28b499 Avoid tox_install.sh for constraints support
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.

This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.

Change-Id: I21b90d9976d410d92194ab292c11bf972af1479c
6 years ago
Zuul 14e77312dc Merge "Replace six.iteritems() with .items()" 6 years ago
OpenStack Proposal Bot 10c9fd1a3a Updated from global requirements
Change-Id: I4398f5d08572daf77739df33bff6ad5de6fe11d6
6 years ago
Zuul 57db907ad9 Merge "OSC: Add magnum service-list command" 6 years ago
rajat29 e49dcb1995 Replace six.iteritems() with .items()
1.As mentioned in [1], we should avoid usingg
six.iteritems to achieve iterators. We can
use dict.items instead, as it will return
iterators in PY3 as well. And dict.items/keys
will more readable. 2.In py2, the performance
about list should be negligible, see the link [2].
[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html

Change-Id: I4c51b6f2f2d48681530f7369dfd8cfc1126f9d76
6 years ago
Ricardo Rocha c035f9299f OSC: Add --master-flavor to coe cluster create
Add a master-flavor override parameter on osc cluster create to override
the value present on the cluster template.

Partial-Bug: #1699247
Depends-On: Id1d973167b381538121583a0a9691304b39e98de
Change-Id: I7ef1c2d7c19be96089fbe0f0847294073ccab04e
6 years ago
Jenkins 056e57deba Merge "OSC: Remove unused files" 6 years ago
Ricardo Rocha 92fa44e1d9 Make cluster config --force a boolean
Option --force of openstack coe cluster config is a boolean and should not
take an argument. Fix message in argument description.

Change-Id: Ic526589a8f5c11b13e16b080a04e262d8393c387
Closes-Bug: #1721267
6 years ago
Zuul b9f9e1c529 Merge "Now `name` is a positional argument in cluster creation" 6 years ago
Zuul 8a39691c10 Merge "OSC: Add --labels to coe cluster create" 6 years ago
OpenStack Proposal Bot 749105fee5 Updated from global requirements
Change-Id: I19f840bb52cdb9ffad2f4a6dcb18f3dce24381c3
6 years ago
Ricardo Rocha 57dc025007 Add --labels for cluster-create
Add a labels override parameter on cluster-create to override
the value present on the cluster template.

Partial-Bug: #1697651
Depends-On: I8990c78433dcbbca5bc4aa121678b02636346802

Change-Id: I39f3423f6889ce93021248223600e342f4217cec
6 years ago
Ricardo Rocha 5daa38e554 OSC: Add --labels to coe cluster create
Add a labels override parameter on osc cluster create to override
the value present on the cluster template.

Partial-Bug: #1697651
Depends-On: I8990c78433dcbbca5bc4aa121678b02636346802

Change-Id: I7c70f12012628aff5649cb238bde9186ce9552c8
6 years ago
yatin 31dc867725 Add oslo.log as requirement
We are using oslo.log but it's missing in the requirements due to
which tests are failing. Looks like recently some of the dependencies
of magnumclient has removed the oslo.log as requirement that's why
we are hitting it.

Change-Id: Ie378dffcb8be990184f5d7cad95ee50d1c7d3476
6 years ago
Madhuri Kumari fe51e61cdc OSC: Add magnum service-list command
Partial-Implements: blueprint deprecate-magnum-client
Partial-Implements: blueprint openstackclient-support

Change-Id: I37b4ea0a519ac4d7ce47112263232ed1d200b4a2
6 years ago
M V P Nitesh e9f17af05c Now `name` is a positional argument in cluster creation
Now `name` is a positional argument in cluster creation and
cluster template creation of OSC command

Change-Id: I3819381d97cda7b75c7cf90265335c38aca3ad54
Partially-Implements: blueprint deprecate-magnum-client
6 years ago
Madhuri Kumari 74521d77a6 OSC: Remove unused files
Change-Id: I906b13afed6c1e7d9651b4fbd92f9d3dfa56dcda
Partial-Implements: blueprint deprecate-magnum-client
Partial-Implements: blueprint openstackclient-support
6 years ago
npraveen35 ef55dd0e12 inline comment typo fix
corrected the typo

Change-Id: Idc46a9470eaf4274ee21d86eac7dd6e33f747b54
6 years ago
chenlx f501b618fb Remove log translations
Log messages are no longer being translated. This removes all use of
the _LE, _LI, and _LW translation markers to simplify logging and to
avoid confusion with new contributions.

See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html

Change-Id: I8c1652b5758fcc881a32f507b51f8569561e677d
6 years ago
OpenStack Proposal Bot 7927f35751 Updated from global requirements
Change-Id: I5dec42bf23117aef22d71bddb339e9a5c66a1b29
6 years ago
Jenkins 83a13e44d8 Merge "OSC: Add cluster config command" 6 years ago
Jenkins 49c7fcfe68 Merge "OSC 4/4 Add remaining cluster commands" 6 years ago
Jenkins c2ca156f44 Merge "OSC 3/4 Add remaining CT commands" 6 years ago
Jenkins de1f94b0cc Merge "OSC 2/4 Add Cluster Create and List" 6 years ago
Jenkins be24874fa5 Merge "OSC 1/4 Add CT create and UT framework" 6 years ago
Spyros Trigazis 5f3b69b15c OSC: Add cluster config command
Move certificate generation and config  generation
in magnum utils so that all clusters_shell, bays_shell
and OSC can use.

* Remove / from context name (see #1705480)
* Use absolute paths for the certificates in kubeconfig
  It's the same principle like #1614682

Change-Id: I5b8bb11b199b7646a984c7171f3853d3e73923ec
Implements: blueprint openstackclient-support
Related-Bug: #1705480
Related-Bug: #1614682
6 years ago