Commit Graph

52 Commits

Author SHA1 Message Date
Ghanshyam Mann 27f162cfc7 Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg

Change-Id: I241e77dbf6bb2085a5bf5d54f9e5b0d2af96fbf3
2024-01-08 20:21:45 -08:00
Michal Nasiadka bc203433f1 Add support for ansible-core
Collections version taken from official Ansible 7 package [1]
and limited to the same major version.

[1]: https://github.com/ansible-community/ansible-build-data/blob/main/7/ansible-7.7.0.yaml

Change-Id: I0f1ea9717397adc2d2c3215d74ec3759f351a57a
2023-11-08 09:52:20 +00:00
wu.chunyang 45ec9c020b Add python 3.10 to setup.cfg metadata
Add python 3.10 to setup.cfg
refer to: https://governance.openstack.org/tc/reference/runtimes/2023.2.html

Change-Id: Ic2915f1b57a75d1865f5c239111c0859f76073f2
2023-06-21 09:47:26 +08:00
Christian Berendt 89659b4607 ovs-dpdk: add ovs-dpdkctl.sh to the role itself
Currently the ovs-dpdkctl.sh file is present in the tools
directory and the "Copying ovs-dpdkctl tool" task accesses it.

This is bad practice. Files copied from a role should either be
referenced by an absolute path or be part of the role itself.

This change moves the ovs-dpdkctl.sh file in the files
directory of the role.

Change-Id: I01459d39207e54f270f32f37b4a5153c5a819347
2022-04-13 15:42:57 +00:00
Zuul 8ff7b51fef Merge "Install openstack.kolla collection" 2022-02-21 21:51:10 +00:00
Mark Goddard f63f1f3082 Install openstack.kolla collection
This change adds an Ansible Galaxy requirements file including the
openstack.kolla collection. A new 'kolla-ansible install-deps' command
is provided to install the requirements.

With the new collection in place, this change also switches to using the
baremetal role from the openstack.kolla collection, and removes the
baremetal role from this repository.

Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/820168

Change-Id: I9708f57b4bb9d64eb4903c253684fe0d9147bd4a
2022-02-21 14:26:48 +00:00
wu.shiming 8d4e728b4a Updating python testing classifier as per Yoga testing runtime
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: I7057bee4d53a1be770b2ab5dd49cfb2c02091646
2022-02-16 14:59:40 +08:00
Scott Solkhon 6bf74aa20d Support storing passwords in Hashicorp Vault
This commit adds two new cli commands to allow an operator
to read and write passwords into a configured Hashicorp Vault
KV.

Change-Id: Icf0eaf7544fcbdf7b83f697cc711446f47118a4d
2021-06-30 15:16:12 +01:00
Pierre Riteau 43ca9dad02 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I666f8a174f53529eff1ba974c1c2265db99601c0
2021-05-05 10:01:15 +02:00
wu.chunyang 4df7d69874 Add py38 package metadata
Change-Id: I22059cc9f094d2d3b871ef7e9a45fef90186b1a5
2020-07-15 15:05:58 +08:00
Radosław Piliszek 234272eb64 Cleanup py27 support
Removes and/or replaces all mentions of py27.

Cleans up obsolete requirements and their lower-constraints.

Separates test-requirements.

Makes lower-constraints pass outside of CI (MarkupSafe).

Adds FIXMEs about some hacky Mocks that may misbehave.

Change-Id: Ifc090bf3c1db17d8542ee591c91e8225a597bfe2
2020-04-26 12:16:44 +02:00
Marcin Juszkiewicz bf9c8b5af1 Get rid of Python 2 support
2020 is coming, everyone should be using Python 3 now.

As per the official python support timeline set forth by the OpenStack
TC [1], OpenStack Train (in our case, kolla-ansible 9.x) is the last
release that will support python2.7.

[1] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html

Implements: blueprint drop-py2-support

Change-Id: Ibb3b12a779ecfd424053d0b3e98dac2f21d909bc
2019-12-11 16:07:44 +00:00
huangliujie 232a7fa873 setup.cfg: Cleanup
- pbr hasn't need the hook configuration since forever [1]

[1] c84876dc0f

Change-Id: If14fab7d7997f1a324cd3335d627868de3fafd8a
2019-10-13 11:58:21 +08:00
confi-surya d19609650e Update programming language mentioned in setup.cfg
As py35 has been dropped and py36, py37 jobs are running, so
updated the setup.cfg accordingly.

Change-Id: I09eae818f3d4188444aba8f1ece9d3d11eda95c2
2019-03-14 16:47:49 +05:30
zhangbailin ef3df55228 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces
openstack-dev.

Change-Id: I848598c6aa4fb40f759302da1a830d1f19ac06a2
2018-12-03 22:39:21 -05:00
Eduardo Gonzalez 1a682fab28 Support stop specific containers
With this change, an operator may be able to stop a
service container without stopping all services in a host.
This change is the starting point to start
fast-forward upgrades support.
In next changes new flags will be introducced to disable
stop dataplane services during upgrades.

Change-Id: Ifde7a39d7d8596ef0d7405ecf1ac1d49a459d9ef
Implements: blueprint support-stop-containers
2018-11-26 08:07:01 +00:00
zhulingjie 83b8a712c0 Delete the unused openrc-example
the openrc-example used nowhere, remove it is safe

Change-Id: Iedbd31ad00a41ea542a7afcb03c4366a1fed402a
2018-06-09 02:27:17 -04:00
confi-surya dbf754655f Following the new PTI for document build
For compliance with the Project Testing Interface [1]
as described in [2]

[1]
https://governance.openstack.org/tc/reference/project-testing-interface.html
[2]
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

doc8 command is dropped from docs tox envs.
So this affect nothing and run in PEP8.

Related-Bug: #1765348

Depends-On: Icc7fe3a8f9716281de88825e9d5b2fd84de3d00a
Change-Id: Idf9a16111479ccc64004eac9508da575822a3df5
2018-05-21 10:51:59 +01:00
Benjamin Diaz 0482ae0201 Added ovs-dpdkctl.sh to setup.cfg
Change-Id: I96dd3eb1207c59ef40b436fd027d33ce51dbbf68
Closes-Bug: #1734894
2017-11-28 11:37:11 -03:00
chenxing cbd67ebdb1 Rearrange existing documentation to fit the new standard layout
For more detail, see the doc migration spec.
http://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Co-Authored-By: Eduardo Gonzalez <dabarren@gmail.com>
Change-Id: I3a7c0ed204ee1e9060b5325f20622afe9a5e3040
2017-09-06 17:43:56 +02:00
Jenkins 8d69e4c5c2 Merge "Update URL home-page in documents according to document migration" 2017-07-19 03:32:51 +00:00
Luong Anh Tuan 6559cfac63 Update URL home-page in documents according to document migration
Change-Id: I31b99fa25cf7340eb4a7fb4c54f4aa4f406f9d60
2017-07-18 02:29:50 +00:00
Eduardo Gonzalez 66b91d8bd0 Remove doc build errors
Gates only build deploy-guide docs, not every doc.
This change clean doc errors, only Line to long.

Also, removes doc/build folder in tox doc environment.
doc/build is folder where previus executions are stored
causing next execution to fail due rendered versions does
not follow doc style checks.

Change-Id: I623a7ee245729a06509f3a7039d5d5ed3813d977
2017-07-13 16:11:33 +01:00
Jenkins 357fb3e87c Merge "Remove support for py34" 2017-02-16 03:29:00 +00:00
Jeffrey Zhang 177fbea79a Rename kolla namespace to kolla_ansible
* Rename kolla namespace to kolla_ansible
* remove oslo.config.opts entry points which is uesless
* delete useless tools/version-check.py script

Change-Id: I005dd7223ff23afbb2ce8cbfd0ebec0969102798
2017-02-15 16:34:51 +08:00
Cao Xuan Hoang 9738f00ebf Remove support for py34
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.

Change-Id: I7762918aa4d78028d1ceb2cc727c3c7dedd05a00
2017-02-08 10:06:08 +07:00
Paul Bourke ef4069a1d3 Add basic docs for neutron-vpnaas
Change-Id: I2b456b1626875d863f896ad7fc6c0024f5ed110f
2017-01-17 14:28:01 +00:00
Jenkins 1c31349cbe Merge "clean up kolla related files" 2016-12-01 20:52:42 +00:00
Jenkins 15a917a62a Merge "Added support for a stop playbook in kolla" 2016-12-01 13:59:07 +00:00
Jeffrey Zhang 92ff63f3e0 clean up kolla related files
* rename package name from kolla to kolla-ansible
* remove docker for data_files
* remove kolla docker
* remove kolla-build console_scripts

Change-Id: I53abbf79dffb54eb785a39ba04d375bc4e4f27b0
2016-11-30 11:17:35 +08:00
Vladislav Belogrudov 14f9246fcd Add tool to merge passwords during release upgrade
Typical usage:
   cp /etc/kolla/passwords.yml /etc/kolla/passwords.yml.old
   kolla-genpwd
   kolla-mergepwd --old /etc/kolla/passwords.yml.old \
                  --new /etc/kolla/passwords.yml     \
                  --final /etc/kolla/passwords.yml

Change-Id: Ibbc598909e28e096145841aec929d0cfcf8f7cab
Implements: blueprint kolla-merge-passwords
2016-11-28 12:22:55 +03:00
Borne Mace 2cfc069e21 Added support for a stop playbook in kolla
Behavior of stop playbook is very similar to the destroy
playbook.  This is meant when you may just want to bring down
the service for some sort of maintenance but not destroy all
the associated data. Also added support for the new playbook
into the kolla-ansible command.

Change-Id: Icf0ca91de71dc8ead3a024de3e5b9e49116560d1
Implements: blueprint ansible-stop-host-playbook
2016-11-23 11:45:23 +00:00
Steven Dake d323d39b66 Set the license field in pip
TrivialFix

Change-Id: I2aa6ec14f6d9da40423eabc9cd170826a65ba194
2016-11-02 04:51:13 -07:00
Borne Mace 9685eca025 Added missing cleanup-images in setup.cfg
The destroy playbook calls the cleanup-images script.  All other
scripts related to destroy were in setup.cfg while cleanup-images
was missing.

TrivialFix

Change-Id: I3d5dc435d03aded9e8b415dda8435b5e1c5ec937
2016-10-10 14:11:17 -07:00
Lu lei df40ff8914 Fix Kolla home-page URL
The link http://docs.openstack.org/developer/openstack-projects.html
contains project-specific documentation for OpenStack services and
libraries.
And here you will see kolla home-page url as follow:
http://docs.openstack.org/developer/kolla/

TrivialFix.

Change-Id: I77d822f3f7211d02d58529128f9b37d6096ca32a
2016-08-18 10:56:50 +08:00
Christian Berendt 18fb1b2412 Add "Programming Language :: Python :: 3" to setup config file
TrivialFix

Change-Id: Ifd7a60d4cf25e7ec628ad6913803539b8edc83e8
2016-08-01 01:48:40 +02:00
Yatin Kumbhare bcebc7cb47 Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.

Change-Id: Ia7b1fb88ac108e1e8fd6ed963967e731ae3ca5a4
Closes-Bug: #1603006
2016-07-14 15:59:37 +05:30
Mauricio Lima 8588bd655e Add a role to cleanup containers after deployment
Change-Id: I5f422574d7e50ec9a1e5862b66ecbf39fe1594d2
Closes-Bug: #1531721
Implements: blueprint ansible-cleanup-role
2016-04-19 10:00:59 -04:00
Steven Dake 801ef2e843 Add reno support
For proper release note generation on the releases.openstack.org
website, this change will need to be backported into mitaka and
liberty as well.  Then a special one-file reno file will have to
be added for mitaka describing the features and the same story
for liberty.

See log of the discussion here:
http://eavesdrop.openstack.org/irclogs/%23openstack-release/%23openstack-release.2016-03-23.log.html#t2016-03-23T18:00:05

Change-Id: I3c298ae08ec4645f384ea5829cb0851fe82f4557
Partially-Implements: blueprint add-reno
2016-03-23 11:59:35 -07:00
Steven Dake 31634c4df4 Add PBR generation of version information
Change-Id: I6391392645d8608a92c885071b26210eed3f5466
Partially-Implements: blueprint add-reno
2016-03-22 20:45:46 -07:00
SamYaple f03e06e09b Add generate_passwords.py to generate passwords
As with all tools, this is a first pass at the generation. Perhaps we
even want to move this into kolla/kolla/cmd and be generated with tox
itself in the future.

This tool, when run, will only populate empty fields that have no
values meaning that it is safe to run repeatedly on the same file.

Of note, there is no way to preserve comments in the file after it has
been processed by the yaml parser in python. Comments and sections
will remain in the passwords.yml template for additional documentation
if the user wishes to populate the file themselves.

Use SystemRandom and clean up the docs a bit to not use pronouns.

Co-Authored-By: Steven Dake <stdake@cisco.com>

Closes-Bug: #1559266
Change-Id: I2932d592df8871f1b7811059206d0b4d0553a687
2016-03-21 17:02:23 +00:00
Éric Lemoine 645be62c5c Remove unexisting data_files in setup.cfg
TrivialFix

Change-Id: Ib5621f21d51f05acd851801134a97bac283b6c74
2016-02-02 17:46:17 +01:00
Jeffrey Zhang 620d610eaa Generate the kolla-build.conf file using oslo_config
Closes-Bug: #1530122
Change-Id: I96039eade2aacf1bcd9d14d958cdddd915fc9a5c
2016-01-06 08:11:06 +08:00
SamYaple 82fcf8fad0 Fix version in master
Master version was still set to 1.0.0. This became alot more obvious
in a recent patch when we started pulling that version number for the
tag...

TrivialFix

Change-Id: Ie9c95a4dc606d0527c44fcd624b4473e45f7f3cf
2015-12-27 17:59:31 +00:00
Proskurin Kirill 8b5afbf295 Add setup.cfg to kolla tools pip data dir
kolla-build requires setup.cfg to fetch its version and right now it's not
installed to pip data dir.

Change-Id: Id1df6aab72314710d436cd7584c89bcda5d2b1a0
Closes-Bug: 1525949
2015-12-14 18:17:52 +03:00
Steven Dake 418428a1ad Release version 1.0.0
Our current version based upon conversations with TTX was
0.1.0. It appears now that the full API is nearly stable.  It is
stable enough to call our first Liberty release 1.0.0.

The API consists of the following data:
The locations of config files passed to the container
The environment variables expected by the container
The JSON encoded file containing the copy and cmd operations

Each container in current master follows the same sytnax and
style for all of the implementations of every container that
atleast has been Ansibilized.

backport: liberty

Change-Id: I2064689ca6fd9f332ad26624e1b93f6aaa08e79b
Closes-Bug: #1503494
2015-10-06 21:47:48 -07:00
Martin André 6c5aeeee41 Consolidate kolla-build configuration in one file
The source location definition previously in build.ini was merged in
etc/kolla/kolla-build.conf since it is really configuration for the
kolla-build tool.

Change-Id: I7531af0029bdfeabbaefb8a6aa97b70bb12c021a
Closes-Bug: #1496702
2015-09-21 21:20:48 +09:00
Martin André ad670bb30c Make kolla-build able to build source images
The pip installed kolla-build script was not able to build source images
due to missing build.ini file containing information where to download
sources.

Change-Id: Ibc347daff76b445f032d8366bea3a58549cda766
Closes-Bug: #1493728
2015-09-09 17:37:09 +09:00
Steven Dake 233864ff32 Rename docs dir to doc for publishing
The publishing docs expect the documentation to be present in the
/doc directory not the /docs directory.  If the documentation is in
the /docs directory, according to fungi the docs won't be published
properly.

Change-Id: I718fec7e69d298a5cb2376ca4e2455e12169566e
Partially-Implements: blueprint kola-tox-doc
2015-09-02 22:37:36 -07:00
Sam Yaple cbd42ca6e9 Move docker_templates to docker dir
Updated build.py to reflect this change.
Deprecate --template option and make it a noop.

Change-Id: I7cd98d1ee684a4c64984a49597159868152683b2
Partially-Implements: blueprint remove-docker-dir
2015-08-28 13:33:50 +00:00