Commit Graph

467 Commits

Author SHA1 Message Date
Jens Harbott 707269930d Fix Berksfile to request stable/queens branch
We are in the stable/queens branch and need to use the matching
dependencies, otherwise things will fail.

Change-Id: I1432b84fd9cb2d4963b56d49a332b62924cc9111
2019-08-02 20:13:08 +00:00
OpenDev Sysadmins 7f94540bbc 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:44:28 +00:00
Roger Luethi 97d261f72e Allow overriding replies for specific domain names via dnsmasq.conf
backport: queens

Change-Id: I44d1d01b943167049e2f09fb251e1a54b6c43d47
(cherry picked from commit 5bb0cf6aaa)
2019-04-08 12:03:22 +02:00
Roger Luethi 6bfb0e02bc
remove unmaintained vpnaas from all recipes and attributes
The vpnaas agent has been removed for the OpenStack Queens release.

Virtual Private Network-as-a-Service (VPNaaS) scenario
(for Rocky, no vpnaas docs found for Queens)
https://docs.openstack.org/neutron/rocky/admin/vpnaas-scenario.html

missing release note (or doc) on vpn-agent change in queens
https://bugs.launchpad.net/neutron/+bug/1751069

vpnaas agent is removed since Queens and configuration changed
https://bugs.launchpad.net/openstack-ansible/+bug/1781148

Change-Id: Idf74445445683058cd992e95df87724579e70433
2018-10-25 11:45:01 +00:00
Samuel Cassiba 6db840ed4f Migrate Zuul jobs to openstack/openstack-chef
Change-Id: If2d11cfa6e7204a062ed99b1e91e234b95d47418
2018-08-31 23:25:07 -07:00
Samuel Cassiba f83043f611 stable/queens release patch
Change-Id: I0aed6b676030b4a3a82c8a368abb2176ee482ef3
2018-07-26 20:55:20 -07:00
Samuel Cassiba 3d096b57fd Use internal identity endpoint for services
Depends-On: Id74966d9f1279f725bc41c08e434230a7845bbc1
Change-Id: If77f23c98ac3c932d6bfc46281cc14105e9ccd9f
2018-07-16 12:44:45 -07:00
Samuel Cassiba a59b4e4de9 Correct platform family name
Change-Id: I0f7b0468247d1879dcf62caa1f5bb606061169e5
2018-07-14 00:07:56 -07:00
Zuul dcff8c5fbb Merge "Stop iptables from being enabled by force" 2018-06-29 09:38:33 +00:00
Samuel Cassiba 766e9fba5c Stop iptables from being enabled by force
This change enables convergence in containers by removing iptables in a
workaround as a result of upstream[1] efforts[2].

[1] https://review.rdoproject.org/r/9702
[2] https://review.rdoproject.org/r/9703

Change-Id: I8793cb8d1ee376d45e7521b8ff9434c704e05497
2018-06-25 06:17:04 -07:00
Samuel Cassiba c6195859d9 Simplify identity endpoint
Per the Keystone Install Guide[1] the admin endpoint is superseded in
favor of a single public endpoint. As a result, the admin endpoint is no
longer deployed by default.

[1] https://docs.openstack.org/keystone/queens/install/keystone-install-ubuntu.html#install-and-configure-components

Change-Id: I833cc80421be375aed202c208cf93a0165761226
Implements: blueprint simplify-identity-endpoint
2018-06-14 19:16:25 -07:00
Samuel Cassiba 3abbcabe46 Add delivery config
Change-Id: I6792466648d581a8d6cec5b0f54ae9ed51f2b503
Implements: blueprint deprecate-rakefiles
2018-04-11 22:32:37 -07:00
Samuel Cassiba 9371f35e29 Update DB migration command for Queens
Per the Neutron install docs[0], the migration commands are slightly
different.

[0] https://docs.openstack.org/neutron/queens/install/controller-install-ubuntu.html

Change-Id: Ic4724b9cfb718680effc062cabb624768008f98d
2018-04-05 14:09:44 +00:00
Samuel Cassiba 526ea82f5e starting queens development patch and use git.openstack.org
* use git.openstack.org instead of github for berks dependency
resolution

Depends-On: https://review.openstack.org/549345
Change-Id: Ib864e84dddfc59b5876932b4c2d809406e2d5007
2018-03-06 12:09:03 -08:00
James E. Blair c6f038443c 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: I74aa29135fa304d59cd960cc1de187a044ecc9bf
2018-01-28 13:44:53 -08:00
Samuel Cassiba 77e2e705c3 network refactor for Pike and Chef 13
- implemented foodcritic and cookstyle corrections
- deprecated node.foo.bar method access for node['foo']['bar'] bracket syntax
- deduplicated resource calls for identity registration
- moved dpkg overrides to common cookbook for DRY

Implements blueprint modern-chef

Depends-On: I143e0ed0a2bdd76269fc0c402052696426d96d81
Change-Id: Ib268737d2f5c3196061d89202d806c3af1c54e72
2018-01-09 15:14:37 +00:00
Roger Luethi c678df66d6 Remove domain role from neutron service user
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 user 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 neutron user 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 neutron user is to be
created in the Default domain).

Change-Id: I4b67565c9408c758acefc681dd756a1dca836ec3
2017-11-13 15:09:22 +00:00
Roger Luethi 7402658214 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: I9061b748281910bef3927757bdf22edfd36b7448
2017-11-13 15:57:14 +01:00
Jens Harbott 3646495362 Add native zuul v3 jobs defined in openstack-chef-repo
Change-Id: Ide338a8a89add4e9c747d61edf58f67e95a264d2
2017-11-02 10:41:17 +00:00
Zuul b3439eaea1 Merge "Replace platform_family method and use attribute instead" 2017-10-29 01:50:26 +00:00
Seb-Solon 3b6c8c04e0 Replace platform_family method and use attribute instead
platform_family method is not working on latest Chef versions

Change-Id: I364ba316dd91cf11cc813f0c642708fd46cd6caf
Depends-On: Ibfc34ec195950e844c6e5b939708bb0ef7411029
Partial-Bug: #1724987
2017-10-28 15:46:52 -04:00
Seb-Solon ebc878441e Fix control_exchange attribute
Regression introduced by https://review.openstack.org/#/c/502980/
Fix follows [block-storage] cookbook logic

Change-Id: Ibfc34ec195950e844c6e5b939708bb0ef7411029
2017-10-26 13:15:18 -04:00
Samuel Cassiba 9de60304f4 Initial network Pike updates
- Switched default linter to cookstyle
- Renamed rake tasks to better conform with Chef conventions

Change-Id: I5dd1971392fdf282d0f214dfce9dcbecc18542a8
2017-08-25 09:57:18 -04:00
Jan Klare 3868368eca
starting pike development patch
Change-Id: I54d6b08011eae2d7a47a6b56214c5170fd7e71b3
2017-08-17 14:19:33 +02:00
Jenkins 3cdb3b94d4 Merge "Fixes for Ocata, style and lint fixes for chefdk" 2017-08-11 15:42:56 +00:00
Samuel Cassiba 25349d6187 Fixes for Ocata, style and lint fixes for chefdk
- Corrections made to db_migration for Ocata
- Style and lint fixes for newer chefdk
- Rewrote metadata.rb for readability
- Added some defaults from the linuxbridge documentation for Ocata
  in an attempt to get virtual networking functional out of the box
  https://docs.openstack.org/ocata/install-guide-ubuntu/neutron-controller-install-option2.html

Change-Id: I16d6f892f325a80eb3eabd10110177246b63663f
2017-08-10 16:09:18 -04:00
Christoph Albers 7d6850fda5 Neutron OVS Interfacedriver name deprecation
- now its just openvswitch

Change-Id: Ibb67f0ed977b14f542650108c68b7db0ba24a768
2017-07-31 15:38:08 +02:00
Jan Klare b52090f002 add new Chef OpenStack Team Logo to README
Change-Id: Ie9c7400297e2cc48b508e2e8066a893299ba7844
2017-05-29 10:53:08 +02:00
Jens Rosenboom 1317cfa7ad Update default upstream DNS servers
The Level3 public DNS server is responding with fake answers instead of
NXDOMAIN, replace with OpenDNS.

Change-Id: I908d15a56f39f9a2b1de639570493c07346e8b43
2017-03-10 16:42:26 +01:00
Jan Klare a45c1578a3 starting ocata development patch
Change-Id: I310cf43f3d7e0f30656954b90c1e9b971bdd3dec
2017-02-23 17:06:47 +01:00
Christoph Albers 88b37047c7 RPC_backend / transport_url workover
- removed deprecated rabbitmq attributes
- added rabbit_transport_url

Change-Id: I09ab54c7444dca440e15161c62d3203a48463b4a
2016-12-20 11:45:08 +00:00
Jenkins d885b68c6d Merge "Deprecated python-neutronclient" 2016-12-20 11:04:42 +00:00
Samuel Cassiba f67ff76aae Deprecated python-neutronclient
- deprecated python-neutronclient references
- removed deprecated references to repoforge; use OS-provided package for dnsmasq
- removed neutron-client and client-packages

Implements blueprint newton-xenial

Change-Id: Idcb54b1ece38403dc4fc5dab758ddbdbab8ca968
2016-12-20 08:39:38 +00:00
Jenkins cfc55aee9e Merge "Changed lbaas packages to use lbaasv2" 2016-12-05 15:38:50 +00:00
Christoph Albers 4e898caf1f Changed lbaas packages to use lbaasv2
Change-Id: Ibf0d74db49b043b7fbbdbba551baeec481e21b5d
2016-11-29 11:32:14 +01:00
Flavio Percoco 94372fdd4f 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/9e885dfd8c164742287f8b1a7c424cdb

Change-Id: Ieb1fbd1f376f7149f7ea35d0648cc6e01da24398
2016-11-26 11:56:41 +01:00
Jenkins 3cc01d79ab Merge "use_cookbook-openstackclient/identity_v3" 2016-10-10 19:55:01 +00:00
Christoph Albers d1fe020bd6 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
- updated readme
- updated neutron-package dependencies for debian

Change-Id: I2d404a424bd79a6e9b282304e21591fa33a48981
Depends-On: I0f8955f05de9b33711c54b9a198f45018cceb8e1
2016-09-30 14:19:49 +02:00
Edgar Magana 6c83f0574c Use the right path and file name for rhel and fedora OVS conf files
Fix bug 1620842 - Using the right conf file for OVS
Removes a condition that is no longer needed

Closes-Bug: #1620842

Change-Id: Ideed42ca554d814d261e4aa448b21f011b442c78
2016-09-06 15:31:59 -07:00
Jan Klare 0141794350 Enable fwaas recipe again after refactoring
Change-Id: Id2b6035ca330c1bf1e89bdda237d84b785f6a212
2016-08-26 13:10:11 +02:00
Jan Klare 29e771a9f3 Adapt vpnaas attributes and recipe to use StrongSwan instead of OpenSwan
* use StrongSwan driver instead of OpenSwan since xenial does not even provide
  openswan packages anymore
* start and enable strongswan service (needs to be verified for centos)
* do not include ::l3_agent recipe in vpnaas recipe, since neutron-vpn-agent
  fully replaces neutron-l3-agent

Change-Id: I81cd2e05273402e8db57f3ca5029fb4938bbfe29
2016-08-25 17:47:31 +02:00
Samuel Cassiba 77060a6212 Style and lint fixes to support newer ChefDK
Change-Id: Ie45076f0ee36e880c9a6080f2b330982e40c282c
2016-07-06 11:56:17 -07:00
Lance Albertson 69454c062f Fix LinuxBridge file paths and names for RHEL
This was incorrectly assuming the path used on Ubuntu/Debian. This correctly
points to the correct location that systemd uses.

Change-Id: I425f4dc565f7c6d5b27422f1023b428e91f71d7a
Signed-off-by: Lance Albertson <lance@osuosl.org>
2016-06-14 15:10:36 -07:00
Jenkins 654c94370f Merge "initial commit for the newton development cycle" 2016-06-14 21:05:57 +00:00
Jenkins 66761dc769 Merge "Set sane defaults for linuxbridge_conf.ini" 2016-06-13 11:59:46 +00:00
Lance Albertson 8e42ee27c0 Set sane defaults for linuxbridge_conf.ini
These defaults are based on upstream documentation [1] and should work in most
environments. In addition, add RHEL chefspec tests and also test the config file
contents.

Without a default config of any kind, the plugin_config recipe fails due to an
empty attribute.

[1] http://docs.openstack.org/mitaka/install-guide-rdo/neutron.html

Change-Id: I037e51f40db5f73c8b9a3f6289287e82fb73f8a6
Signed-off-by: Lance Albertson <lance@osuosl.org>
2016-06-07 19:24:09 -07:00
Jenkins bc1609d2e3 Merge "Fix linuxbridge service name for rhel" 2016-06-07 14:12:28 +00:00
Jan Klare 91e0220e20 initial commit for the newton development cycle
Change-Id: I944f010b065c8d9756ed351e355085c2900e37ce
2016-05-31 10:39:40 +02:00
Henry Gessau e80cd7f645 Use --subproject instead of deprecated --service option
The --service option to neutron-db-manage is deprecated and will be
removed soon. Use --subproject instead.

Related-Bug: #1501380

Change-Id: Idf3cbd65a49c676a0f90c0e49684e738e16e659b
2016-05-30 15:40:24 +00:00
Lance Albertson cace7ca3de Fix linuxbridge service name for rhel
Change-Id: Ibe4229f6c425a32c9c15da11163eeac3d0b6ff21
Signed-off-by: Lance Albertson <lance@osuosl.org>
2016-05-26 16:03:05 -07:00