Commit Graph

530 Commits

Author SHA1 Message Date
OpenDev Sysadmins 5d8d2fb705 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:31:10 +00:00
Ian Wienand 1c40e203eb Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I9b7b0c90e565a27871a9ce0fe0c871cbb25d62be
2019-03-24 20:33:22 +00:00
Roger Luethi d78906c4f3 version bump
Change-Id: I0cf37451bd51b5cd7eab3ec289c713cc381d98ea
2018-10-22 15:21:41 +02:00
Samuel Cassiba f4379d5a4a Add workaround to pin pip to 18.0
The default recipe does not work with the latest version of pip. The
workaround is to override to 18.0

Change-Id: If245c3c51930beba151ed8a42cec15131ea28098
(cherry picked from commit 97af7feec5)
2018-10-19 13:37:49 +02:00
Samuel Cassiba 8d987dae49 Migrate Zuul jobs to openstack/openstack-chef
Change-Id: I4c5294eb3d15b1a5838e3a42ef30d2354b8da18a
2018-08-31 23:27:47 -07:00
Samuel Cassiba e578e745d2
Update poise-python to latest stable
poise received a round of updates, so let's remove the funky workaround.

Change-Id: I657bfd5459f6973a4ae420bf9b5c87039ab1529d
2018-04-25 14:00:24 +02:00
Samuel Cassiba 76de772e9d stable/pike release
Change-Id: Idb8c10a5e80628b4f11c14e847297e687bd53800
2018-02-26 07:34:39 -08:00
James E. Blair 27fdeb031b Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I5afdb23fd3440918b5821c1ae2e1e6d56164ff75
2018-02-05 09:56:33 -08:00
Zuul 6c6e8d2393 Merge "common refactor for Pike and Chef 13" 2018-01-16 13:55:28 +00:00
Samuel Cassiba b2881c3a80 common refactor for Pike and Chef 13
- changed the default RDBMS to MariaDB in accordance with install docs[0]
- removed deprecated database, apt and yum cookbooks
- incorporated `database' and MySQL-specific abstractions from database
  cookbook
- implemented foodcritic and cookstyle corrections
- deprecated node.foo.bar method access for node['foo']['bar'] bracket syntax
- updated default recipe for core apt resource
- use /etc/apt/apt.conf.d on Ubuntu instead of passing the dpkg overrides as
  command line options in every cookbook

[0]: https://docs.openstack.org/install-guide/environment-sql-database.html

Implements blueprint modern-chef

Change-Id: I143e0ed0a2bdd76269fc0c402052696426d96d81
Depends-On: I00e2237cef0c9aa35f78d3ccec04a1c7b9271ce8
Depends-On: I7ee0f5eae4e79e5c70ee8de4a0094a7c34fdd18f
2018-01-11 17:42:41 +00:00
Samuel Cassiba 8484974ebb Removed chefdk conditional from bootstrap.sh
- the usefulness of the bootstrap.sh script is superseded by ansible playbooks.
  don't attempt to install chefdk a second time.

Change-Id: Ie16c40ce5e443a684cc6969dbbeaf3c3a64f01b5
2017-12-23 21:35:27 -08:00
Samuel Cassiba 377be8a41c Incremented chefdk to 2.3.4
- incremented chefdk release to 2.3.4
- populated some NODEPOOL_* macros for future use

Implements blueprint modern-chef

Change-Id: I00e2237cef0c9aa35f78d3ccec04a1c7b9271ce8
2017-11-27 08:34:16 -08:00
Roger Luethi ea0365d79a Make configuration files more readable
In order to make OpenStack configuration files written by Chef more
readable, this patch introduces a blank line before every section
heading.

Change-Id: Ib44e17cbba512c51c0098177d2dab1a91802b4d3
2017-11-02 08:51:18 +01:00
Jens Harbott 623d480d8d Add native zuul v3 jobs defined in openstack-chef-repo
Change-Id: If987fa024c538d0b1450aa1cb4c9dbd8a4a53bc3
Depends-On: I5160ce88aefa2c5b70e4a4cb085867198e60b45a
2017-10-27 10:16:59 +00:00
Roger Luethi d232f34b4c Extend openstack_command
This patch extends openstack_command to accept an array in addition to a
string as an argument.

This allows the use of openstack_command in cases where an argument
contains protected spaces.

Examples:

mistral execution-create my_workflow \
    '{"names": ["John", "Mistral", "Ivan", "Crystal"]}'

barbican secret list --name chef_test_secret --format value -c"Secret href"

Without this patch, all arguments have to be passed as a single string
which openstack_command splits on white space regardless of any
quotation marks. Therefore, the examples above will fail.

Change-Id: I0419a1526beb103839a3cf235eba6c41d9d946d5
Closes-Bug: #1723949
2017-10-20 12:26:29 +02:00
Jens Harbott 382a9db497 Fix "Fix handling of ZUUL_CHANGES"
We need quotes here in order to successfully detect empty strings.

Change-Id: I02accd55ab946f771a533670a9f810409ef03b90
2017-10-05 09:43:52 +00:00
Jens Harbott 1f6fb5605b Fix handling of ZUUL_CHANGES
With zuulv3 we may need to have dependencies on projects in
openstack-infra/* namespace, we do not have to clone these for berks,
but we also shouldn't fail on them.

Change-Id: I07799648695149688893f11dea0ffc3c354c2270
2017-10-04 07:46:03 +00:00
Jenkins eadaa68937 Merge "Drop unused messaging attributes" 2017-09-13 14:18:33 +00:00
Jenkins aafbdfdfdb Merge "Remove libvirt from integration images" 2017-09-13 14:17:17 +00:00
Jenkins 56466b285a Merge "Added etcd wrapper recipe" 2017-09-13 14:12:21 +00:00
Jenkins 7830eff2e2 Merge "Initial common Pike updates" 2017-09-13 14:10:50 +00:00
Jens Harbott e54ba0a245 Drop unused messaging attributes
These attributes were duplicated or are not needed anymore after the
great config refactoring.

Change-Id: I3b580ba36565861b6c78120fc8dc2718f6e2f452
Depends-On: I90f14fd1f0104ac6052349d79deaad342058c9e1
2017-09-12 12:58:21 +00:00
Jens Harbott f3389a2b8b Add support for Designate DNSaaS project
The cookbook for installing Designate is being developed at [1]
currently, it needs to be added to some base service definitions.

[1] https://github.com/cloudbau/cookbook-openstack-dns

Change-Id: I3407e698dd990661d280f25fc3de93aaa1477354
2017-09-12 09:01:01 +00:00
Samuel Cassiba ffbf83d17f Initial common Pike updates
- Bumped chefdk to 1.6.1
- Switched release to pike
- Added is_release attribute for testing, defaults to false
- Added RDO deps repo for testing pre-release packages
- Added ubuntu-cloud proposed repo for testing pre-release packages
- Switched the default linter to cookstyle
- Normalized the banner message
- Dropped pip installation method for python-openstackclient since the
  packages are fresh enough

Change-Id: I7a67ba2520b8e44efec6edd8506f96b0e0dc913b
2017-09-11 23:38:26 -07:00
Samuel Cassiba 38af6fbeb4 Remove libvirt from integration images
- the libvirt packages should be installed by chef, and not preseeded by the
  image

Change-Id: I37f182f8f3e7715c41e1ed0e0799386766bc8d66
2017-09-11 23:07:18 -07:00
Samuel Cassiba 65bdf0e152 Added etcd wrapper recipe
- This recipe implements a basic etcd installation for shared oslo configs.
  A wrapper recipe is needed for instantiation, as etcd is a pure library
  cookbook.

Change-Id: Id2f934a9fc408276cb0a25afc2f65ec5f5c54c15
2017-08-22 09:51:39 -04:00
Jan Klare ea0f371412
starting pike development patch
Change-Id: Ie0a45261620dbdf57e3078cbac9a85427540a45a
2017-08-17 14:18:55 +02:00
Samuel Cassiba 479af11fd7 Fixes for Ocata, define socket for MySQL
- bumped chefdk to 1.5
- bumped mariadb to 1.5
- style fixes to make rubocop/foodcritic happy
- rewrote metadata.rb for readability
- removed ancient Gemfile
- removed openshift rubygems mirror since it doesn't help us

Change-Id: I950605f384405b55737af77bc4224f1e18fee8e1
2017-08-02 16:24:48 -04:00
Jan Klare eb465b4f68 add new Chef OpenStack Team Logo to README
Change-Id: I9ffb05a7edefbf0bf6011075e17aa4b8b415ede2
2017-05-29 10:53:07 +02:00
Jens Rosenboom 6773710b30 Update OSC client version to 3.11.0
Change-Id: Id5606aa7e731bcab0b18aa0ff336c342449c1701
2017-05-23 15:19:38 +00:00
Samuel Cassiba 1e2bd7a338 Corrects rabbitmq user, yum cache cleaning
- corrects the rabbitmq 'guest' user to 'openstack' to for a more secure
  installation, as 'guest' is not secure and is deleted in other
  non-Chef deployments.
- adds update_yum_cache attribute to conditionally include the yum
  recipe, removing the hardcoded entries from the run lists. This
  prevents yum.conf from showing up on Debian-based machines.
- enforces GPG checking for RDO packages, uses correct key.

Change-Id: I89714e06eab803985ebffcdff5ff77655287c3e6
2017-04-09 18:35:44 -07:00
Jens Rosenboom baa6f22baf Switch to Ocata release
- Have Ocata as default release for master now
- switch default auth strategy to Fernet as PKI tokens have been removed
- Update OpenStackClient version
- Provide a default WSGI template that can be used from other cookbooks
- Add a fake compute_cell0 service in order to create another DB for nova

Change-Id: I8bc2eb5622b14457ef80cb70bf7a1d60c9fe9793
2017-03-10 12:27:08 +00:00
Jan Klare 08521342b1 starting ocata development patch
Change-Id: I89d2c62d5d425a2fd553cdc5b401ebd59645f755
2017-02-23 17:05:57 +01:00
Jenkins dbddca1cdb Merge "Uses OpenStack mirrors for integration gates" 2017-02-20 10:50:41 +00:00
Jens Rosenboom 3d06aeabbf Install openstackclient into virtualenv
There may be issues caused by updated OpenStack python libraries being
picked up by other services when we install python-openstackclient
globally. So instead install it into its own virtualenv and create a
symlink to the resulting binary.

Change-Id: I43d9baf13dda20d39d3c52faf1f2322eee4884a3
Partial-Bug: 1661708
2017-02-09 14:56:20 +01:00
Samuel Cassiba f2428ac3f9 Uses OpenStack mirrors for integration gates
This uses OpenStack mirrors for rubygems, CentOS, Ubuntu and Ceph

Change-Id: I2bcd89dd55d5d401320ac0ac311839efd1453063
2017-02-06 20:21:41 -08:00
Christoph Albers b6f06c34af Transport url fix
- added possibility to add more then one rabbit host
- edited rubocop constraints due to transport_url complexity

Change-Id: I9540b40c0dba46a62c21242b94089b81921700ca
2017-01-09 04:25:57 +00:00
Christoph Albers 57fa9ecef7 Tempest / Integration fixes
- added needed attributes to get glance image id
- edited specs in favor of identity v3

Change-Id: I9b87834190f013191cddaeffd1547278543e0dad
2017-01-02 15:36:24 +00:00
zhangyanxian d08dcf239c Fix typo in default.rb
"automaticly" should be "automatically"

Change-Id: I098834fcfea5494f7043ce4381313c95e053179e
2016-12-19 07:47:12 +00:00
Jan Klare 56bafafe35 remove super old galera dependency from metadata
* this should also fix the crazy output in most of our cookbooks during
the rspec runs

Change-Id: I720349ef413b240aff692e5f08fb5326775f1bd2
2016-12-16 16:50:35 +01:00
Christoph Albers 6401b89019 RPC_backend / transport_url workover
- added rabbit_transport_url method to endpoints library
  usage i.e for block-storage will be
  node.default['openstack']['block-storage']['conf_secrets']
       ['DEFAULT']['transport_url'] = rabbit_transport_url 'block-storage'

Change-Id: I0a6da37e3f2b839590b6349fd906d47c5206fbb3
2016-12-13 15:28:51 +00:00
mbuege cd6fd327a3 update python-openstackclient version
- update python-openstackclient version from 2.6 to 3.4.1
- minor style changes in spec
- moved python-openstackclient version to node attribute

Change-Id: If9ffbc539ebca7de222dc25205d9f760a774412b
2016-12-12 17:03:33 +01:00
Jenkins 946b05b2de Merge "update cookbook dependencies for next release" 2016-12-07 17:25:28 +00:00
Jan Klare 166487878e update cookbook dependencies for next release
Change-Id: Ib256c315d5439beb8d4ec83c5cc7d7c9b182378a
2016-12-07 10:54:20 +01:00
Jenkins c2e4b1bd76 Merge "Show team and repo badges on README" 2016-12-05 15:30:43 +00:00
Flavio Percoco a11afa3feb Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/d4d2fd2d2f8601376c9deb5bab64ba9f

Change-Id: I8cb94e130e0e9f41304c13352b125224fe7030e2
2016-11-26 11:55:52 +01:00
Samuel Cassiba 0edeb4594e Cookbook version bumps for Xenial
- incremented mysql to 8.1
- incremented database to 6.1
- incremented yum to 3.13
- incremented yum-epel to 1.0
- incremented poise-python to 1.5
- incremented apt to 5.0
- created dependency on build-essential for python-openstackclient
- incremented authentication API version to v3.0
- incremented ChefDK packages to 1.0

Change-Id: I57c8729e8732161ac34caa85259de8264e99c56d
Implements: blueprint newton-xenial
2016-11-18 13:14:57 -08:00
Jenkins a1e21fd72c Merge "Switch to correct Newton package locations" 2016-10-14 14:47:25 +00:00
Samuel Cassiba 4121e9b39a Switch to correct Newton package locations
- increments RDO to Newton GA, removes delorean-deps repo
- removes proposed from Ubuntu packages

Change-Id: Iad16b2595c55e50a1941db923d918b9bf5e14478
2016-10-12 10:14:16 -07:00
Jenkins b2665aa21a Merge "Add Murano service definition" 2016-10-11 21:35:00 +00:00