Commit Graph

1143 Commits

Author SHA1 Message Date
OpenDev Sysadmins 4d53ce2be1 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:25 +00:00
Samuel Cassiba 24b24858d0 Migrate Zuul jobs to openstack/openstack-chef
Change-Id: I6824be0cf125313e5e766fcdb0327f517be0aa05
2018-08-31 23:27:54 -07:00
Jens Harbott 44e83dfa54 Refactor libvirtd.conf creation
Replace the hardcoded bloated template with a variant of our standard
template that only includes the values that are really needed.

This will allow deployments to override the default values and for
example deploy libvirtd with TLS authentication according to [0].

[0] https://wiki.openstack.org/wiki/OSSN/OSSN-0007

Change-Id: Ib7b305670f525bbf975ec33ed070e2d960347ef4
(cherry picked from commit ad3d1c3c65)
2018-04-24 12:44:29 +00:00
Jan Klare 2b0186d189 cleanup attribute leftovers that are not used anymore
* removed all unused attributes
* removed vmware specific configuration option that can be set in a
wrapper cookbook (and was not maintained for quite some time)
* removed caseswitch for nova user and group since we currently only
support debian and rhel
* moved all libvirtd related config options to specific attribute file
in preparation for further refactoring

Change-Id: I42a0bbcd03a570b9d6d24ba32ed2cafacc33ec76
(cherry picked from commit ad88dc2a78)
2018-04-24 12:38:33 +00:00
Jan Klare 566b9b053e
fix libvirtd service naming and env file for debian
Change-Id: I6a69e3ad43936d032ac252d8a6c9a1d2bc78bfbd
2018-04-16 16:06:26 +02:00
Samuel Cassiba 04d8cdbe29 stable/pike release
Change-Id: Iced1eff2347b8f89e7c0a80b7e1272821b415d82
2018-02-26 07:32:26 -08:00
James E. Blair 28fe28e8dd 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: I4ba7d342c78ba223329ed924d03efdfbd7ad2262
2018-02-01 14:41:37 -08:00
Zuul c8e1159e59 Merge "compute refactor for Pike and Chef 13" 2017-12-22 21:34:47 +00:00
Jan Klare 1033a5f7e7 rename web_app placement-api to nova-placement-api to align with package
* The nova-placement-api package creates a "nova-placement-api.conf" in
apache2 sites-available, which currently leads to two conflicting
configurations (our "placement-api.conf" and the one from the package
"nova-placement-api.conf"). With this change the
"nova-placement-api.conf" will be replaced with our version of it.

Change-Id: I8ee7f190a6d73cace60a5fcd6b58d6b4e0288a95
2017-12-13 10:26:04 +00:00
Samuel Cassiba 859fc5df20 compute refactor for Pike and Chef 13
- implemented foodcritic and cookstyle corrections
- deprecated node.foo.bar method access for node['foo']['bar'] bracket access
- parameterize run directory for apache2

Implements blueprint modern-chef

Change-Id: I6cf4cd67a96c7d353c4871db02be42ebdc9c1528
2017-12-10 20:02:43 -08:00
Jens Harbott b1f166b674 Fix creation of cell0
We need to use the proper db_uri() result here, like we do for the
database connection options in nova.conf, otherwise things will fail in
a multinode setup.

Change-Id: I70d27eb4456c9e8b322c05649254624d4be4c5e5
2017-11-30 06:55:07 +00:00
Roger Luethi d82d6a9f7c Remove domain role from nova, placement service users
This patch removes the openstack_user resource with :grant_domain
action. A user is always created within a specific domain; such a
membership cannot be tacked on later. This resource gave the users
the role intended for their project for the domain (i.e., for the Default
domain instead of for the service project).

We add the domain_name attribute that creates the nova and placement
users in the desired domain. Note that this change needs a sufficiently
recent openstackclient cookbook -- otherwise the domain_name attribute
is ignored (which does not matter as long as the users are to be created
in the Default domain).

Change-Id: I333da4d0d93c8a0065c6c1001b5ebed8cd6eab5c
2017-11-13 15:09:39 +00:00
Roger Luethi cb414a9655 Remove superfluous role_name arguments
This patch removes the role_name when using openstack_user's :create
action (it gets ignored by the target method).

Note that the spec test would still pass if only the line in
identity_registration.rb (but not the test) were changed, because the
code that actually does grant the role to the resource is executed right
after user creation and before any tests check the resource for the
existence of the role_name attribute. In other words: if the argument
were required in a call but only supplied in another call, the spec
tests would not catch it. Something to watch out for.

Change-Id: I559ffa40c37f8e073a8e7fcb5186f2270e5ccd72
2017-11-13 15:59:02 +01:00
Jens Harbott 0a68301c65 Add native zuul v3 jobs defined in openstack-chef-repo
Change-Id: I75739c80aaa43a17d9a4b9daaa9f5567fb75e3c1
2017-11-02 10:28:21 +00:00
Seb-Solon 638c651975 Replace platform_family method and use attribute instead
platform_family method is not working on latest Chef versions

Change-Id: I65f1c8a6daffada15406c55a48643fe134794aa7
Partial-Bug: #1724987
2017-10-28 15:45:46 -04:00
Samuel Cassiba cbe2ef6647 Initial compute Pike updates
- Switched the default linter to cookstyle
- Deprecated config settings for Pike
- Normalized template comment

Depends-On: I7a67ba2520b8e44efec6edd8506f96b0e0dc913b
Change-Id: I7abd4194bb7f322764309cad514040c1f5feca00
2017-09-25 16:57:08 +00:00
sunjia 32c60ffe6d Replace http with https for doc links in cookbook-openstack-compute
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links

Change-Id: I498646c65f25e9f205f1ba58426174a961caeb55
2017-09-07 00:27:41 -07:00
Jan Klare a0bc7dc26a
starting pike development patch
Change-Id: Ied06f039a076edaa64f010433fe0ab98633ae861
2017-08-17 14:19:01 +02:00
Jenkins fe0ab45e81 Merge "Added cellv2 support" 2017-08-11 15:51:07 +00:00
Samuel Cassiba 012902ad92 Added cellv2 support
- Added basic cellv2 recipe, as it is required from Ocata on
- Style and lint fixes to support newer chefdk
- Rewrote metadata.rb for readability
- Removed ancient Gemfile

Change-Id: I97b453fc419bfbf01679dadf39a256b1f0f99859
2017-08-10 17:35:07 -04:00
Jan Klare ca7788bfa0 add new Chef OpenStack Team Logo to README
Change-Id: Ie7d95d4b1513e277a27832206aa73c79b9aa4c76
2017-05-29 10:54:53 +02:00
Jenkins 5460cfba68 Merge "Update api-paste.ini template for Ocata" 2017-04-22 15:11:36 +00:00
Jenkins 2c2f5b9584 Merge "Deprecated nova-cert, fixups for Ocata" 2017-04-19 15:35:49 +00:00
Jens Rosenboom aed3567528 Update api-paste.ini template for Ocata
The default content of api-paste.ini has changed, in particular we were
missing the http_proxy_to_wsgi filter allowing proper URL discovery.

Change-Id: Iaa968a963df5baf49116829f111ef4f46c4f8951
2017-04-19 15:17:06 +00:00
Samuel Cassiba 814f027230 Deprecated nova-cert, fixups for Ocata
- nova-cert is deprecated and causes build failures if attempts to
  utilize it are made.
- nova-placement-api package is prefixed with openstack- in RDO.

Change-Id: Iea2070467503f9a434e927e2580ef2b4135e98f7
2017-04-14 06:44:07 -07:00
Jens Rosenboom a21098bd8a Add default hosts discovery interval
With Nova Cells v2, new compute hosts must either be added explicitly to
the cells database or Nova can run an automatic discovery job from time
to time. We opt for the latter, allowing for painless addition of new
compute nodes to an existing setup.

Change-Id: I3b41887e6a3fcc62a5f25319b6da4811d7636b1a
2017-04-10 08:55:28 +00:00
Jens Rosenboom 40b6a06273 Change libvirt group name
Ubuntu has decided to change the group name from libvirtd to libvirt after
Xenial. This change is also in the libvirt packages from the Ocata UCA, so
we need to follow them here.

Change-Id: Ib87e9b5142b835c4be5e07b9d53e39b48b6f605e
2017-03-09 15:32:32 +00:00
Jens Rosenboom dc339a859d Add recipe to deploy Compute service placement-api
The placement-api has been added by nova for the Newton cycle, it has
become mandatory for Ocata.

It is deployed as a wsgi app similar to what we have for keystone and
gnocchi already.

Change-Id: I1d1f1cc7046cb30a91894a0c884bc861d7f3dd95
2017-03-06 14:34:37 +00:00
Jan Klare 206df1c452 starting ocata development patch
Change-Id: I538ad27df8d415a591146ee50972621837ab2be8
2017-02-23 17:06:05 +01:00
Jens Rosenboom ced5be5512 Remove docker-setup receipe
The docker-setup receive has been unmaintained and untested for some
time now. The nova-docker project is also being removed from
OpenStack [1] and people are advised to look at deploying Zun as
a replacement.

This also avoids having to rewrite this receipe in order to remove the
use of the deprecated python cookbook.

[1] https://review.openstack.org/430232

Change-Id: Ia8c9db272c6a0353130fc93d446b385fd72ac250
Partial-Bug: 1558538
2017-02-09 15:06:49 +01:00
Jan Klare f7f6c28249 remove libvirtd opt '-d' because it conflicts with systemd service
Change-Id: I05c78aa942509ea8dbd75558f4747d7ac1c4e6bc
2016-12-20 14:23:43 +00:00
Christoph Albers 61fc649dd9 RPC_backend / transport_url workover
- removed deprecated rabbitmq attributes
- added rabbit_transport_url

Change-Id: Iaf33e8f5ae97ee0c07cfccf67d32d0e05f48e5bb
2016-12-20 11:45:34 +00:00
Jenkins 0aebc9986a Merge "Deprecated python-novaclient" 2016-12-20 11:09:36 +00:00
Samuel Cassiba 5261813e40 Deprecated python-novaclient
- deleted client.rb
- deprecated python-novaclient references
- removed neutron packages

Implements blueprint newton-xenial

Change-Id: I8ff0dcad66ab937f18faf82e6af0cc626dfff15a
2016-12-20 08:40:40 +00:00
Jenkins a8912f9a73 Merge "update cookbook dependencies for next release" 2016-12-08 08:13:36 +00:00
Jan Klare f68e049118 update cookbook dependencies for next release
Depends-On: Ib256c315d5439beb8d4ec83c5cc7d7c9b182378a
Depends-On: Ic6b00a08ec29a9a7c04a72c743af5f756db45edf
Change-Id: Ib4b3b9b30487b9fcb6438b4f88d3642916f52208
2016-12-07 10:55:07 +01:00
Flavio Percoco 725bbcb9ff 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/8c21f6de8a732ce5e14795a761a928a6

Change-Id: I3797d3f9251a0b6d89ffe1c882a7ac7c1378042a
2016-11-26 12:00:38 +01:00
Jenkins 1993d880f2 Merge "use_cookbook-openstackclient/identity_v3" 2016-10-11 16:17:29 +00:00
Christoph Albers e0441b5322 use_cookbook-openstackclient/identity_v3
- Now use cookbook-openstackclient to create endpoints role service and
  user
- added domain creation and access granting
- added values to work with identity_v3
- rewrote specs to work again
- added needed keystone_authtoken attributes + neutron
- updated readme

Change-Id: I84f850f32f25a318c3ed3c7337a0dfa6f641a5fe
Depends-On: I0f8955f05de9b33711c54b9a198f45018cceb8e1
Depends-On: I2d404a424bd79a6e9b282304e21591fa33a48981
Depends-On: If7b4d6e563081a0be9957353d73ef61a9688df56
2016-09-30 11:37:41 +02:00
Samuel Cassiba 4eac0887ff Increment Ubuntu release to 16.04
This is a cosmetic change that only affects unit tests.

Change-Id: Ifdac5cff8c2e64741eae093737e4f4eb2a4bc202
Implements: blueprint newton-xenial
2016-08-10 19:33:51 -07:00
Samuel Cassiba c6c3537242 Style and lint fixes to support newer ChefDK
Change-Id: If87a38d33de73da45648fabf127e3b127fa46045
Depends-On: I6ce4587caa3ae68ddbd3ef1a521aaf46f4840b2c
Depends-On: I0a3872cd3a21c31b5e3a7b6190f911280e9ed909
Depends-On: I34e4c7b29ff7c36c91245d90fb0b6897847cd22f
Depends-On: Ie45076f0ee36e880c9a6080f2b330982e40c282c
2016-07-06 12:55:03 -07:00
Jan Klare 64c25ea5fc initial commit for the newton development cycle
Change-Id: Iedc63af610d655b1d390890f466159ef77a17da9
2016-05-31 10:21:17 +02:00
Jenkins 174533e46c Merge "update the README after refactoring and align it with other cookbooks" 2016-04-28 20:54:39 +00:00
Jan Klare 97497a1d00 update the README after refactoring and align it with other cookbooks
* also removed the empty default recipe

Change-Id: Id6e3750f9ae78178ecf4e4370ac6b6b3dbc599c6
2016-04-28 15:01:33 -05:00
Jens Rosenboom 3239a17ce9 Also set the cache backend when using memcached
The default backend for oslo_cache is dogpile.cache.null, so we need to
explicitly specify the proper backend that we want to use.

Related-Bug: 1572062
Change-Id: I8942f872c072f263959ac8790df7f7eedc9599e2
2016-04-19 13:26:13 +02:00
Jenkins 2aec9921b7 Merge "Remove api-ec2 recipe" 2016-04-11 08:23:53 +00:00
Jens Rosenboom e7b8e5b6dc Cleanup options deprecated for mitaka
Some options have been deprecated for Mitaka, replace them with the new
variants.

Change-Id: If4c7ec0348384ba149e18bd865db8d9b2a544555
2016-04-05 15:18:41 +02:00
Jan Klare 90ef0fd54d Fix bootstrap.sh
On recent test machines, curl isn't available anymore, so use wget
instead. Piping directly into bash isn't that great anyway.

Change-Id: I5d6b5480cf8dc789848c7a0f54b88646500c94d0
2016-03-23 12:48:14 +00:00
Jan Klare 53eacd9934 added api_db sync and made libvirtd-bin template configurable
* added sync for api_db (required in mitaka) and needed configuration options in
  nova.conf
* made libvirtd_opts configurable in preparation for xenial and systemd on
  ubuntu (libvirtd needs to be started with just -l option on xenial)

Change-Id: I6c01e45f10d75db96c95c0bb37b016ada2f5933f
Depends-On: Idf6645064a1c2f337f542b29a026969c7d35efbe
2016-03-23 13:47:25 +01:00
Samuel Cassiba 749f4ccfd3 Remove api-ec2 recipe
api-ec2 is being replaced by the `openstack-ec2` cookbook.

Change-Id: I5b4bc088bbf9a5061ed311d164dc381a3caca2d5
Depends-On: I2dbbafaf8641ece00d4181d1ea4ba93f00eed6ed
2016-03-18 08:04:29 -07:00