Commit Graph

6 Commits

Author SHA1 Message Date
Hugh Saunders
6aaf1e7fd7 Use full path for metering_agent interface_Driver
Metering agent has not been updated to resolve stevedore aliases for
drivers so the full module.path string must be used instead.

Change-Id: I2f0991fc0ab14fa7ccdd677437c2cf2a5ba78377
Closes-Bug: #1656278
2017-01-13 19:54:24 +00:00
Travis Truman
e3e2f639dd Verbose option has been deprecated from oslo.log
See http://lists.openstack.org/pipermail/openstack-dev/2016-May/095166.html
for additional details.

Change-Id: I8b7155cd36b0140403df0598a2376d4e6ea91d6b
2016-05-17 11:24:30 -04:00
Michael Gugino
656a976989 Implementing neutron_openvswitch_agent
This commit implements the ability to utilize the
openvswitch ml2 plugin instead of the linuxbrige
plugin.

Primarily, these changes include new/modified
parameters to existing plays and a sizeable
refactoring of variable names and locations within
defaults/main.yml.

By default, installations will continue to utilize
the linuxbridge_agent; to utilize openvswitch_agent,
the following is variable must be specified via user
variable or some other means:
neutron_plugin_type: ml2.ovs

Implements: blueprint support-openvswitch
Depends-On: I971df850c23f4d402f475cc50300f96bee547d46
Change-Id: Ifdeccb1166944e58a448b4cf08a679a1e67e534d
2016-05-11 17:35:12 -04:00
Matthew Kassawara
4734142ab3 Reduce neutron configuration
Reduce neutron configuration as follows:

1) Limit [ml2*] sections to neutron server containers [1].
2) Remove the [vlan] section everywhere because it only
   pertains to the defunct Linux bridge monolithic
   plug-in [2].
3) Explicitly disable VXLAN if deployment only includes flat
   or VLAN networks [3].
4) Limit Linux bridge agent configuration options to neutron
   agent containers.
5) Remove [agent] tunnel_type option because the Linux bridge
   agent does not use it.
6) Move some options to correct locations.
7) Reorder some options to improve readability.
8) Annotate groups of options or specific options.

[1] https://review.openstack.org/#/c/196759/
[2] https://review.openstack.org/#/c/196765/
[3] https://review.openstack.org/#/c/160826/

Change-Id: I275fb600360530534f7673e6eb2a3d397b10fb8e
Closes-Bug: #1473230
2015-08-07 08:08:44 +00:00
Matthew Kassawara
85dfd1ce65 Remove deprecated use_namespaces option
Remove deprecated use_namespaces option from neutron agent
configuration files. This option applies to a period when
some kernels did not support namespaces. However, all kernels
support them now which makes it no longer relevant.

Partially implements: blueprint master-kilofication

Change-Id: Ia29ee24331a2dbd7e79cba51bdba93dda1cfd4a9
2015-04-10 14:53:10 +00:00
Kevin Carter
ae6e53bd04 Convert existing roles into galaxy roles
This change implements the blueprint to convert all roles and plays into
a more generic setup, following upstream ansible best practices.

Items Changed:
* All tasks have tags.
* All roles use namespaced variables.
* All redundant tasks within a given play and role have been removed.
* All of the repetitive plays have been removed in-favor of a more
  simplistic approach. This change duplicates code within the roles but
  ensures that the roles only ever run within their own scope.
* All roles have been built using an ansible galaxy syntax.
* The `*requirement.txt` files have been reformatted follow upstream
  Openstack practices.
* Dynamically generated inventory is now more organized, this should assist
  anyone who may want or need to dive into the JSON blob that is created.
  In the inventory a properties field is used for items that customize containers
  within the inventory.
* The environment map has been modified to support additional host groups to
  enable the seperation of infrastructure pieces. While the old infra_hosts group
  will still work this change allows for groups to be divided up into seperate
  chunks; eg: deployment of a swift only stack.
* The LXC logic now exists within the plays.
* etc/openstack_deploy/user_variables.yml has all password/token
  variables extracted into the separate file
  etc/openstack_deploy/user_secrets.yml in order to allow seperate
  security settings on that file.

Items Excised:
* All of the roles have had the LXC logic removed from within them which
  should allow roles to be consumed outside of the `os-ansible-deployment`
  reference architecture.

Note:
* the directory rpc_deployment still exists and is presently pointed at plays
  containing a deprecation warning instructing the user to move to the standard
  playbooks directory.
* While all of the rackspace specific components and variables have been removed
  and or were refactored the repository still relies on an upstream mirror of
  Openstack built python files and container images. This upstream mirror is hosted
  at rackspace at "http://rpc-repo.rackspace.com" though this is
  not locked to and or tied to rackspace specific installations. This repository
  contains all of the needed code to create and/or clone your own mirror.

DocImpact
Co-Authored-By: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
Closes-Bug: #1403676
Implements: blueprint galaxy-roles
Change-Id: I03df3328b7655f0cc9e43ba83b02623d038d214e
2015-02-18 10:56:25 +00:00