Commit Graph

456 Commits

Author SHA1 Message Date
OpenDev Sysadmins 9ad5e49fd9 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:27 +00:00
Samuel Cassiba 0711996ffb Migrate Zuul jobs to openstack/openstack-chef
Change-Id: Id02f82b6d92edece80e6066aef68bc87e75239a7
2018-08-31 23:28:29 -07:00
Samuel Cassiba d6009e9084 stable/pike release
Change-Id: I0f56aa47946bfcfd3eac6ac558a3692b7a85b4b7
2018-02-26 07:32:34 -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
Lance Albertson 123d31c9c2 Fix linuxbridge agent service attribute
This fixes an error when running where its looking for a string not an array.

Change-Id: Ic9aa44cdb553b5f695d54e9d86d7cda1165136f0
Signed-off-by: Lance Albertson <lance@osuosl.org>
2016-05-22 20:13:54 -07:00
Jenkins f417e75be1 Merge "adaptions for _bridge_config_example recipe for multi-node demo" 2016-05-04 16:09:47 +00:00
Jan Klare d4ac12905e adaptions for _bridge_config_example recipe for multi-node demo
- minor adaptions to demo recipe to allow multi node scenario with working
  overlay network on vagrant from openstack-chef-repo

Change-Id: Idc605fed9066abbfbc1d6cd67805bf2a1aa1c31c
2016-05-04 08:41:17 +02:00
Jan Klare 05638d06d7 update the README after refactoring and align it with other cookbooks
Change-Id: I6ba2d2279c6494d45092a8e94fd2e0a924cbbccf
2016-04-28 16:40:23 -05:00
Jenkins 0e9af30bd1 Merge "fixed plugin_template notifications for neutron-server service resource" 2016-04-28 14:54:08 +00:00
Jan Klare 1a18322fe2 fixed plugin_template notifications for neutron-server service resource
Change-Id: Ice2290733a0ad0ffdf864c2bd7b088a1f35bb857
2016-04-27 20:33:30 +00:00
Jens Rosenboom b68271e144 Fix nova auth_url setting
Change Id350abd82df48c1e00e4b2bb8bc944658ddd85e6 replaced auth_plugin
with auth_type but missed one occurance in the default receipe.

Change-Id: I395b48616ea57167558df7c6a0dda30c01d724b1
2016-04-26 13:38:35 +02:00
Mark Vanderwiel 8a87bcaa20 Cleanup options deprecated for mitaka
Some options have been deprecated for Mitaka, replace them with the new
variants.

Change-Id: Id350abd82df48c1e00e4b2bb8bc944658ddd85e6
2016-04-13 14:26:02 -05:00
Jens Rosenboom 4b0f4a49d0 Do not hardcode any DHCP options for Neutron
With Mitaka, Neutron has learned to set proper MTU values for the DHCP
agent depending on the encapsulation type being used. So do not override
them any more from our side.

Change-Id: Ib3c14a828374d607c49257682d552159c72a13f9
Closes-Bug: 1567923
2016-04-08 17:04:05 +02:00
Mark Vanderwiel 820c8eebdb Ubuntu mitaka package name changes for openvswitch agent
neutron-openvswitch-agent
Replaces:
  neutron-plugin-ml2 (<< 2:8.0.0~b2-0ubuntu5~)
  neutron-plugin-openvswitch-agent (<< 2:8.0.0~b2-0ubuntu1~)

Change-Id: Icd75ff370f20d77f564bd6eb700704372345b0de
2016-04-06 12:10:34 -05:00
Jan Klare f20cfbe66b 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: If6a1ada26c18c0bfc515c6b1a6ec6b1ce940790b
2016-03-15 16:21:06 +01:00