Commit Graph

7 Commits

Author SHA1 Message Date
wu.chunyang 3b56a5e0f7 kolla-cli: deprecation - Removing project content
step 2b from:
https://docs.openstack.org/project-team-guide/repository.html#step-2b-remove-project-content

Deprecation notice:
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014983.html

Change-Id: I744f5c17232928cec68c1b90b2f5d791faf7d9e7
Depends-On: https://review.opendev.org/748259
2020-09-03 09:58:43 +02:00
jacky06 d237a3ed06 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found by updated hacking version.

Remove hacking and friends from lower-constraints, they are not needed
during installation.

Change-Id: Ic63e432161dcebb62e0b510af03e03f7bebb3fd7
2020-04-06 13:57:01 +08:00
wu.chunyang 4e4fc390d8 Do not always copy files
when initialize kolla-cli, it will cover existing configuration

Change-Id: I312a451e4537218d8eb7d1ed752f13c363bf2030
2019-08-13 14:24:15 +08:00
gujin 54cc2951f2 Add Python 3 Train unit tests
1. This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.
2. Remove a unnecessary space

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I89846e571cfabca4e6188be8a72337111bfa9bff
2019-07-12 00:04:01 +08:00
Steve Noyes 4d732d74db Add ssh key generation to setup script
- The cli needs the public key in /etc/kolla/kolla-cli. If
the key has not yet been generated, generate it first.

- Have the script fail and not continue if it hits any
command error.

- Make the inventory touch happen all the time so the script
will fail if you do not have sufficient privs to run the script.

Change-Id: I4dc1e1ce8d1839e7550479799fb00e2613d979df
2018-06-15 15:09:10 -04:00
Steve Noyes 30dd6d7533 Fix for kolla/etc copy in setup script
The cli_setup copy was creating an extra kolla directory on the copy-
/etc/kolla/kolla, instead of just /etc/kolla.

Also in utils, improved the error message when you don't have permissions
on getting a lock.

Change-Id: I7ee60c3203c4fe4a8222fd65cf8ef96414f15eb6
2018-06-11 17:12:48 -04:00
Borne Mace ccb508799a Add setup script for kolla-cli / kolla-ansible
Created new cli-setup.py script that automates the previously
manual process to create the directories needed for the kolla-cli
and kolla-ansible.  It also improves on the process by leaving the
globals.yml file in place in /etc/kolla and just creating a link
to the group_vars/__GLOBALS__ so that both the kolla-ansible and
kolla-cli commands will work correctly, rather than having their
functioning being mutually exclusive.  Due to kolla-ansible still
expecting to be run as root for most actions the cli_setup.py
script should also be run via sudo.

Change-Id: I5b59317b2c22d10dd82623a548b64f387b6bc9d3
2018-06-06 10:35:45 -07:00