Commit Graph

49 Commits

Author SHA1 Message Date
Ghanshyam Mann 0a53c4a961 Retire openstack-chef: remove repo content
OpenStack-chef project is retiring
- https://review.opendev.org/c/openstack/governance/+/905279

this commit remove the content of this project repo

Depends-On: https://review.opendev.org/c/openstack/project-config/+/909134
Change-Id: Idb3769e91814eb7703a3a4787f485fab1caa97f8
2024-02-17 20:47:50 -08:00
Lance Albertson 7d2ecf253c CentOS 8 support
This adds support for testing CentOS 8.

- Update documentation
  - Add references to CentOS 8
  - Update genealogy to include latest releases
  - Update minimum Chef requirement
  - Add Bare Metal to list of cookbooks when creating a stable branch
- Include memcached in identity role
- Update InSpec tests for CentOS 8
- Ensure we install the yum package on rpm distros (required by Chef to
  run properly and is missing on the default image)
- Remove yum-epel attributes in integration since it breaks on EL8

Change-Id: Ie648432021325150fdd2fd7ab7f1af10bc69b655
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-22 16:29:33 -07:00
Jens Harbott fcd2066b47 Update docs to reference OFTC instead of Freenode
Change-Id: I1bc074bab15fa3aa7ece7651cc6fb7281ff3fc4b
2021-06-03 09:44:49 +02:00
Zuul 7b00e778d6 Merge "Add a note about creating a release branch" 2020-09-16 07:51:39 +00:00
Jens Harbott 6535c3427e Add a note about creating a release branch
This content is taken from the Wiki[0] and updated to match the
current state of the kitchen.

[0] https://wiki.openstack.org/wiki/OpenstackChefStablebranchCreateNotes

Change-Id: Iea9b41b99003cab37467e0c786a2b7e5e490c7a6
Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-09-14 09:05:49 -07:00
Zuul 34202a4410 Merge "Start Train development" 2020-06-11 00:33:29 +00:00
Lance Albertson 89f4b5c1e7 Start Train development
Changed:
- Temporarily disable voting during development
- Update git URI for bind cookbook to use upstream master
- Renamed .kitchen.yml -> kitchen.yml
- Genealogy updated

Fixed:
- Idempotency with use of apt_update resource
- InSpec tests to work with Train
- Cookstyle

Added:
- Data bag for placement service
- Set deprecations_as_errors to true in kitchen.yml

Removed:
- Unused statsd cookbook in Berksfile
- Unused .rubocop.yml

Deprecated:
- LBaaS recipes and tests. This has been deprecated upstream.

Change-Id: I53a28de6aad000a246ff8f610b64dd5201c03b27
2020-06-08 10:59:07 -07:00
Andreas Jaeger b27b5edcbc Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Ied3bb008208231bd4c9b6c2e86c716eac66267aa
2020-05-31 21:37:43 +02:00
Andreas Jaeger 8cb61b9a61 Cleanup py27 support for docs
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update requirements, no need for python_version anymore
- Cleanup */source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version

Change-Id: I5f6aabc271e21fe8edbf2aadd2f78f8bdc407e80
2020-04-11 16:15:29 +02:00
Dr. Jens Harbott 5111603bb5 Start Stein development
- Update references from Rocky to Stein.
- Switch to using chef-workstation
- Exclude integration group from Berksfile. This is to ensure ChefSpec tests
  should always work regardless if we're working on integration related
  cookbooks that don't interact with those tests.
- Temporarily disable voting for integration tests due to cookbook version
  conflicts
- Add tests for openstack-common::etcd and openstack-common::completions
- Update tests for Stein
- Update OVS port to check
- Add tests for lbaas but only for kitchen, not for CI pipeline
- Add suite and tests for integration-test

Change-Id: Id451b08e361acc709879a65d0d92b35640a5dba9
2020-03-23 14:22:28 -07:00
Zuul 3ca87cff47 Merge "Use python3 packages on Ubuntu" 2019-11-27 10:40:15 +00:00
Zuul c703ab2c0d Merge "tox: Keeping going with docs" 2019-11-22 10:16:11 +00:00
inspurericzhang 6f77318fce Replace git.openstack.org with opendev.org
Change-Id: I899a8d67e81a80a98ca5698ca18aa98cd4eeb6d6
2019-11-19 09:41:44 +08:00
gujin 9daf7e3299 tox: Keeping going with docs
Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.

[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045

Change-Id: Id4ba8fdf54276ce53601337b3006728724831084
2019-11-01 14:56:55 +08:00
wangfaxin a766dddc2c Update the community page
- Update the project name
- Update some links

Change-Id: I2eb418130e4a606c962b0d891a9de22192fcfa4a
2019-10-17 12:34:05 +00:00
pengyuesheng 628ab8f73c Blacklist sphinx 2.1.0 (autodoc bug)
See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details

Change-Id: I07fad7e61f608fd094c75dd628d14ff8d9f7d352
2019-10-10 09:34:18 +08:00
Jens Harbott e093b0cf85 Use python3 packages on Ubuntu
Python2.7 is going EOL soon, let us deploy python3 for Rocky from the
start, so we avoid having to switch later.

Also update documentation.

Depends-On: https://review.opendev.org/682917
Depends-On: https://review.opendev.org/682918
Depends-On: https://review.opendev.org/682919
Depends-On: https://review.opendev.org/682920
Depends-On: https://review.opendev.org/682921
Depends-On: https://review.opendev.org/674452
Depends-On: https://review.opendev.org/682922
Depends-On: https://review.opendev.org/682923
Depends-On: https://review.opendev.org/682924
Change-Id: Iae8a58f4aeb0e7138d0cfc3dc4e58ee995c216b5
2019-09-23 14:03:30 +00:00
Jens Harbott a96d883066 Build a deploy-guide
Seems that since we are a deployment project, we should produce a
deployment guide rather than an installation guide. Using
what OpenStack-Ansible did as a guide.

Change-Id: I9740b7dbc8cf48c47e5bbc5d261f8736b00ee068
2019-04-03 13:27:22 +00:00
Jens Harbott 9e62a39913 Updates for Rocky deployment
OpenStack Rocky is only supported on Ubuntu Bionic, so we no longer can
run any sensible tests on Xenial.

- Update default mariadb version to 10.1

Depends-On: https://review.openstack.org/645119
Depends-On: https://review.openstack.org/645162
Change-Id: Ifcf73e49a77e497b19700566a3a13ebfc9ca9741
2019-03-21 12:48:44 +00:00
Jonathan Herlin f7c32ccbe8 Fix mailinglist link and update to new list
Invalid HTTPS link was introduced in https://review.openstack.org/617749
Mailinglists have been updated. Openstack-discuss replaces openstack-dev

Change-Id: I2d77aad54d7021eb2ce4b1eec2be18aee3525f22
2018-12-04 00:37:40 +01:00
zhouxinyong 9f572e99df Optimizing the safety of the http link site in pre.yaml.
Change-Id: If810f40d5f2ed0c02f4c7fb72bea5783c514d35f
2018-11-14 01:07:06 +08:00
Samuel Cassiba bc7d5cc749 Add deploy documentation
Change-Id: I122aa1e602bee37ce73afd556cc0b4dbfa9d8b2c
2018-09-08 13:41:07 -07:00
Samuel Cassiba 8fa54db5cf Add ironic to integration
Depends-On: https://review.openstack.org/599690
Change-Id: Idb9a075381615e5ed99090764e1afd7f5eab09d9
2018-09-04 19:42:09 -07:00
sunyandi 0454b4ab05 update openstack-doc links
Change-Id: Idc941c4c782bfa64c4c1f80037855e4bb8f4f10d
2018-08-15 17:29:47 +08:00
Samuel Cassiba bcc6765e64 [Docs] use dokken scenario instead of multi
Change-Id: Ib72bbf59fcef0438add8d5c5cbfceb8de490b04a
2018-08-10 15:19:47 +00:00
Samuel Cassiba 76dad6fa04 [Docs] update requirements and conf.py based on feedback
Change-Id: I0639030fd79f38043e675ea261a08dfea5e7a979
2018-08-09 23:13:02 -07:00
Samuel Cassiba f97368be03 update requirements for openstackdocstheme
Change-Id: I9076f717e0fa36e427875af3b2eb2a6194b27278
2018-08-09 16:45:20 -07:00
Samuel Cassiba 331e3abfd5 Fixups for docs naming conventions
- remove watermark since it doesn't work in Zuul

Change-Id: Ib1fe4e405060350daa89baac422c908af33f46c2
2018-08-07 17:40:58 -07:00
Samuel Cassiba 0a3f3942e2 Update doc references for openstack-chef
Change-Id: I078778fa9159cdafe8eb0ebd675e1a8856ddf53b
2018-08-06 11:02:55 -07:00
Samuel Cassiba 5cf51b76f0 Finalize the move from openstack-chef-repo to openstack-chef
Change-Id: Ie97fe2af2a068f5c4a970fb45f24c162b705860c
2018-08-06 09:30:52 -07:00
Samuel Cassiba 313a6d5b58 [Docs] Fix docs configuration
Change-Id: I31d63da4fd43e6cf7790bedffd8a40a1d5103c36
2018-07-20 23:44:56 -07:00
wangqi 748aa8452c fix error url
Change-Id: Ia830caf3c33ab029ad11738714e932ab5168ef90
2018-06-19 06:36:13 +00:00
Samuel Cassiba cc6681b7f8 Add Chef OpenStack contributor, install guides
This change removes the markdown documentation in favor of a set of
rST documents generated with OpenStack branding.

Change-Id: I364ef53e24aed5f4721c5f3d56cc1d63966b4e88
2018-05-19 07:10:59 -07:00
Samuel Cassiba fd4105ac14 Documentation updates for Ocata
- corrects grammatical flows
- updates for the current master release
- aligns documentation with local provisioning changes
- rewrites multinode doc to reflect network node

Change-Id: I820266b0f2885629211a917858ca7ea35f5f08d3
2017-08-14 09:33:34 -04:00
Jan Klare 49bc780dd4 multi_node example added and role cleanup
* remove unused roles (may be refactored and added back later)
* added multi_node scenario to deploy controller + 2 compute nodes on vagrant

Depends-On: Idc605fed9066abbfbc1d6cd67805bf2a1aa1c31c
Change-Id: Ie32b743c09cdd3f805a374e1cb9e15f07978166a
2016-05-09 17:36:06 +02:00
Paul Czarkowski b41e6d6e89 improve docs and user experience for setting vagrant bridge
bridge interface can now be overriden using an environment variable
but will try common interface names if not entered.

Change-Id: I11cbac1044dc493ba20a8ae7fb300545c12df73f
2016-03-10 12:32:14 -06:00
Jan Klare 481af2f96a adaptions for refactored cookbooks in mitaka cycle
* added new test scenarion allione (and all the needed files for it)
* removed old test scenarios aio-nova and aio-neutron as well as multi-neutron
  and multi-node and the related files since they will not work with the
  refactored cookbooks
* removed databag items for currently untested service cookbooks
* modified Rakefile to use new test scenarios for local and jenkins integration
  testing
* adapted README and docs to fit new test setup and explain the new
  attributes/template logic (with TODO)
* adapted Berksfile to use the master apache2 cookbook to comply with the
  dependencies in identity and dashboard
* removed image_upload recipe since this is already done in the
  integration-test::setup one
* moved recipe integration-test to a different chef_run to allow all services to
  be restarted in delayed actions of first run before using them
* removed heat from the testing stack until refactored
* removed tempest unit tests 'run_tests.sh' from integration testing scenarion,
  since there is no need to run tempests unit tests in our deployment

Depends-On: I0547182085eed91d05384fdd7734408a839a9a2c
Depends-On: I3262b2e6f792f37c32a446e6567790b82bdd4613
Depends-On: I80ed8a7892b59f7fd582505445a31b0df8d68752
Depends-On: Ia7fd927f42f4a1e484e8f2d34c52b1dc6d0ce6dd
Depends-On: Ifd11f86c576d7dbb709bdd302d41e39e900e1b74
Depends-On: Ida408a025f1a3e6a632108a9a32877026e286116
Depends-On: Idadc97bd7380d6c4f9f6f33d9c6b1215a5f24772
Depends-On: I9ac9eeb29ab27f31394830e4b6f999d5870cc0e4
Depends-On: Ifa5a7f4e1df47a3961976e64f654224864c3dcb4
Depends-On: I9cc1b5cc069987ac83e064322c2291772505ff5f
Implements: blueprint cookbook-refactoring

Change-Id: Icf0921229e9473a842d7ce5706027d56229e11d4
2016-02-10 09:25:55 +01:00
Mark Vanderwiel f890bfeb0d Fix interface selection to be automatic
Added a list of possible interfaces for which the
vagrant provisioner will choose the first one that
is available.  No more editing the test recipes.

Cleaned up the os selection to hide the
version specific stuff to be consistent with the
environment logic.

Fixed up some file modes.

Forced the chef client config directory as it can search
in bad places in some scenarios.

Change-Id: I38a7a86b58893b912af99fabf04ca9052f914346
2015-11-06 11:04:32 -06:00
Jenkins b2655672e7 Merge "Adding the bare-metal documentation" 2015-09-16 19:07:59 +00:00
Eric Alwais 061bdd761a Adding the bare-metal documentation
Adding the how to build a bare-metal document for AIO.

Change-Id: I011ebf28252d1956288705f0da71a6a5f2fef017
2015-09-15 23:21:08 -07:00
Mark Vanderwiel e81a2746e8 Some doc updates
- Cleaning up a few mistakes in the doc
- adding ref to vbox cmd to list interfaces

Change-Id: I902b7461e6291de290aed0765618beba10c582ae
2015-09-03 09:38:17 -05:00
Jenkins d93ee7c58f Merge "AIO-Neutron changes" 2015-08-12 07:34:36 +00:00
JJ Asghar 3549f970b1 AIO-Neutron changes
It seems there are some changes that the local creation of aio-neutron
need to be updated with. This will fix and get aio-neutron working again.

Change-Id: I25881480e1fec261b5113a7b22d8cdc17bc286ac
2015-08-11 09:56:47 -05:00
JJ Asghar c726247ce2 Updated the Databags.md
We've had some people ask how to change the password from `mypass` these
are the steps to make that happen.

Change-Id: I5804186277b154c7120e9390dedfb328d78482a3
2015-07-10 12:33:44 -05:00
Samuel Cassiba 144c9b2d38 Documentation cleanup
Correct REPO_OS for CentOS 7. Normalization and typo cleanup.

Change-Id: I9dcd1db1b20e45d8555e279483572d451d98d1d7
2015-06-09 12:49:55 -07:00
Mark Vanderwiel b99b94a852 New test_patch helper script
This tool allows a single patch to be tested against the chef repo.
It will to do job of cloning the repo, merging in the patch(s),
setting up the test and running it, basic queries and tempest.

Also enhanced the Berksfile to allow for easy local development.

Usage: chef exec ruby test_patch.rb help test

Change-Id: I32ba57c29f2f5caee0391ea791ffe10fe06caceb
2015-05-04 10:22:07 -05:00
Mark Vanderwiel 0390aa9200 Allow env var REPO_OS to easily switch between platforms
Use a env var instead of manually editing repo files to use
centos.   This also makes it easy for new tools like, test-patch
to switch between the platforms.

Next step will be to allow REPO_DEVICE=  to easily
setup the network interfaces in the multi node cases.

I think env vars are a simple way to handle this, but we could also
consider an user config file ~/openstack-chef-repo.cnf.  Thoughts?

Change-Id: I82e82b35b51e08ff503fdb10fa1ce041c4be4af2
2015-04-29 12:12:48 -05:00
wenchma d4c9172edf Add roles for cookbook openstack-bare-metal
* Adds cookbook-openstack-bare-metal to Berksfile
* Updates infrastructure.yml
* Adds the roles for openstack-bare-metal services
* Adds databag items for openstack-bare-metal

blueprint bare-metal-enablement

Change-Id: Id26509013d33757be65c5f1df6ac11cf33cb6552
2015-03-05 22:19:23 +08:00
Mark Vanderwiel 016a08eadc Update repo with new testing suite
The new testing suite is based upon Chef 12, Chef DK and
Chef Provisioning.  It supports all in one and multi node
environments.  It will be used as the base for future gate
integration testing.  There's is more work to as noted in
the TODO list at the botton of the readme.

Note: to get this thru the existing gate, had to keep the existing
Gemfile.  Added a Gemfile-Provisioning for new stuff and updated
readme with some notes on that.  When we make the switch to kilo
rake gates, we can decide what type of gates the repo needs. I think
it's ready for rubocop at least and maybe continue with something
like spiecweasel to look at the role and environment syntax.

Added draft bootstrap and test default to rubocop to rakefile to
allow for easy integration with new gate rake jobs.

Change-Id: I187df8b78c4cecfb783ab26a6b66b8e8dd6745bd
2015-02-26 15:09:06 -06:00