Skip to content
Snippets Groups Projects
  1. Jul 23, 2015
    • Sam Yaple's avatar
      Update init-runonce · 005ec9ee
      Sam Yaple authored
      This makes some changes to init-runonce to allow using Ansible as well as
      updating it to use the openstack-client where applicable since the
      keystone-client is not usable with keystone v3 api at all.
      
      Change-Id: I6b9d6beb04df7724b1967638e98042ab03221cd1
      Closes-Bug: #1477725
      005ec9ee
    • Sam Yaple's avatar
      Fix compute permissions and start params · 3b30760e
      Sam Yaple authored
      neutron-server was not properly using ml2_conf.ini
      
      nova did not have ovs utils, and it had incorrect libvirt permissions
      
      Change-Id: I43d2110d0b5fc1940d887dace95787e1ebbe142d
      Partitially-Implements: blueprint ansible-service
      3b30760e
    • Sam Yaple's avatar
      Properly use all configs with neutron · d1f2ec8c
      Sam Yaple authored
      Change-Id: Ie347964d42e7060c69047b1aeece1cf0ad311ae6
      Partially-Implements: blueprint ansible-service
      d1f2ec8c
    • Steven Dake's avatar
      Copy ml2_conf.ini to correct location · ad57661d
      Steven Dake authored
      The ml2_conf.ini file which sets OpenVswitch as the mechanism driver
      was not being copied to the corect place.  This patch resolves that
      problem.
      
      Change-Id: Ia276916a3183564c9b7d8d6aa9595c384ed99cf6
      Closes-Bug: #1477399
      ad57661d
    • Steven Dake's avatar
      Allows neutron-agents l3 agent to communicate with OVS · 4789f918
      Steven Dake authored
      The neutron-agents l3 agent requires access to the OVS database via
      access to /run.  It also needs to have ovs-vsctl binary available in
      the container.
      
      Change-Id: I903537b570cd60c9bb1088e9408a5f6ea4988d8f
      Closes-Bug: #1477376
      4789f918
    • Sam Yaple's avatar
      Adds the appropriate tools to addin the ovs bridge · 77f71b9f
      Sam Yaple authored
      Ansible will exec a script in the OVS container to ensure the bridge and
      ports are properly setup. The script is idempotent.
      
      Change-Id: I5adca595a4d2ef4edf26c9635cfa5ceb30ca4a59
      Closes-Bug: #1466375
      77f71b9f
  2. Jul 19, 2015
    • Sam Yaple's avatar
      Ansible Neutron support · f47fb972
      Sam Yaple authored
      Add initial Ansible support for Neutron
      
      Change-Id: Idad011945bff914535d1ac0eb09cc9d3b0882fbe
      Partially-Implements: blueprint ansible-service
      f47fb972
  3. Jul 15, 2015
    • Steven Dake's avatar
      Add pid_mode to libvirt · 9c5e708f
      Steven Dake authored
      Libvirt requires pid_mode to Host to operate on Fedora Hosts.  Further
      we will need this for libvirt upgrade.  I am not entirely sure why
      libvirt running with pid=host gets things working, but it definately
      has something to do with CentOS's libvirt's integration with systemd.
      
      Nailing down the problem, the interface to the Docker module accepts only
      None or "host".  There is no way to generate a None type except with !!null
      in yml, but this does not work in the jinja2 parser.  As a result, one
      solution is this conditional.  A better long term solution would be for
      the Docker module to take some other argument to indicate None that can
      be expressed in a string.
      
      Change-Id: I54eb87e8ce8679bbf12f671527280c73e195b2e4
      Closes-Bug: #1473270
      9c5e708f
  4. Jul 14, 2015
    • Sam Yaple's avatar
      fix possible symlink attack with ansible · 37ca7222
      Sam Yaple authored
      The commands used to create a temporary file on the localhost were
      vulnerable to a symlink attack. Removing the shell module and ensuring
      the ansible copy and file module is used will verify this file exists as a
      file with the correct permissions and ownership
      
      Change-Id: I829483edf1435e41726ebfe1bc826e0c2e5265e3
      Closes-Bug: 1471376
      37ca7222
  5. Jul 12, 2015
    • Sam Yaple's avatar
      Ansible Nova w/ libvirt support · 7da0b2a8
      Sam Yaple authored
      Initial support for Nova in Ansible
      
      Partially-Implements: blueprint ansible-service
      
      Change-Id: I4b0a74bd3e5daa5664f5e1e622bfb40c3285949e
      7da0b2a8
    • Sam Yaple's avatar
      Add temporary Ansible keystone modules · 05a6640a
      Sam Yaple authored
      Due to the licensing issues and the modules not existing in upstream
      Ansible yet, I have written a simple module to fill the gaps.
      
      This also uses Keystone v2.0 for all create of users, roles and
      endpoints. The implementation of Keystone v3 must be discussed after the
      new modules arrive.
      
      Partially-Implements: blueprint ansible-service
      
      Change-Id: I389edd56741360dd26fbbc0a982f365ca27ff446
      05a6640a
  6. Jul 11, 2015
    • Sam Yaple's avatar
      Fixes an issue with AIO and galera clusters · 8f194e50
      Sam Yaple authored
      AIO nodes had an address in the gcomm list which would prevent AIO
      containers from starting appropriately.
      
      Change-Id: I6db8c831ef9f9c0348748eb9539db326dc0df048
      Closes-Bug: #1472481
      8f194e50
  7. Jul 09, 2015
    • Sam Yaple's avatar
      Ansible Glance support · e7a7cc90
      Sam Yaple authored
      Adds support for glance in ansible
      
      Partially-Implements: blueprint ansible-service
      Change-Id: I2d162e79f85877116b0e33b1843de6ccb62a445a
      e7a7cc90
  8. Jul 08, 2015
  9. Jul 06, 2015
    • Sam Yaple's avatar
      make merge_configs idempotent · 39e6075f
      Sam Yaple authored
      merge_configs can now check if the destination file has the same content
      will be written. This information is used to inform ansible no change has
      occured
      
      Closes-Bug: 1471514
      Change-Id: I78bce04505349d5aafbb027fd3f7d76ab6eccf6a
      39e6075f
  10. Jul 05, 2015
  11. Jul 03, 2015
    • Sam Yaple's avatar
      Updated keystone for wsgi in config-external · 11597cc2
      Sam Yaple authored
      This will switch config-external to using wsgi vs evenlet for keystone.
      
      Partially Implements: blueprint ansible-service
      
      Change-Id: I85a88c813ed36d827916796199dad735b2d44b40
      11597cc2
    • Sam Yaple's avatar
      Ansible Rabbitmq support · c97ccd6a
      Sam Yaple authored
      Adds initial support for Rabbitmq in Ansible using the CONFIG_EXTERNAL methods.
      
      Additionally, this refactors some of the Rabbitmq config script to allow for
      reuse by CONFIG_EXTERNAL.
      
      Partially Implements: blueprint ansible-service
      
      Change-Id: I1765548f7e4f1258eb8a49e2a23242955f52655d
      c97ccd6a
    • Sam Yaple's avatar
      Ansible Mariadb w/ Galera support · efbfd791
      Sam Yaple authored
      Adds initial support for Mariadb with Galera replication in Ansible
      using the CONFIG_EXTERNAL methods.
      
      Additionally, this refactors some of the Galera config script to allow
      for reuse by CONFIG_EXTERNAL.
      
      Partially Implements: blueprint ansible-service
      
      Change-Id: I566fea0376ecca39fc8a5167f9ff9ff434ea7b7e
      efbfd791
  12. Jun 30, 2015
    • Sam Yaple's avatar
      Add initial config function and keystone support · 3ac7da64
      Sam Yaple authored
      Add set_configs function that implements the flow from the proposed
      ansible-multi spec. Move start.sh to config-internal.sh to preserve existing
      behaviour.
      
      config-externall.sh copies the appropriate configs in from the bind'd
      location and sets permissions and ownership appropriately.
      
      Partially Implements: blueprint ansible-multi
      
      Change-Id: I53fca0660451087f273fefc3c63e0d8cf1a2c096
      3ac7da64
  13. Jun 22, 2015
    • Paul Bourke's avatar
      Move ansible/README.md under docs/ · 6d3be05e
      Paul Bourke authored
      Move the Ansible README under the docs/ dir to make it more visible
      to people browsing the docs.
      
      Change-Id: Ibe38ac24ad5c328486f7a9dd13fbe825d77d26e0
      6d3be05e
  14. Jun 02, 2015
    • weiyu's avatar
      fix ansible libary passing error arguments. · 0e00ad21
      weiyu authored
      kolla is mandatory to run a version of docker-compose that 
      includes pid: host support.docker-compose 1.3.0 to include the
      necessary features.
      
      docker-compose 1.3.0 project.up() abandoned the parameters 
      detach and use allow_recreate replace recreate parameters.
      closes-Bug: #1458116
      
      Change-Id: I1235da58db5bedf208ebaea2a54568964dc802f8
      0e00ad21
  15. May 05, 2015
  16. Apr 03, 2015
  17. Apr 02, 2015
    • Sam Yaple's avatar
      Add and use ansible module for docker-compose · fd5c23ad
      Sam Yaple authored
      This ansible module for docker-compose allows for idempotency. I have
      submitted a pull request upstream to ansible-modules-extra to include
      this new module. When/if the module is accepted upstream if can be
      removed from the local module library.
      
      The two playbooks have been updated to use this module. The database
      data container does not support idempotency due to the fact that it
      exists instead of sleeps. Therefore each time `docker-compose up` is
      called, it will start the container and register a change. The
      message-broker does not have this issue and will remain unchanged even
      repeatedly running these playbooks.
      
      Due to the use of a special branch of docker-compose provided by sdake,
      this module requires at least docker-compose==1.2.0rc1
      
      Change-Id: If1644eaa3bff0c2a007fa2d479a95bea941945f6
      fd5c23ad
  18. Mar 31, 2015
  19. Mar 28, 2015
    • Sam Yaple's avatar
      Initial commit for adding ansible support · 0f5af771
      Sam Yaple authored
      This adds a very basic structure to begin supporting ansible in Kolla.
      Ansible can support complete idempotency, but wrapping docker-compose
      does not allow idempotency at this time. These playbooks will be
      extended to compensate for that in future patches.
      
      Change-Id: I1c9e8d32321e2733f5a9b752edf74b4fe90317ed
      0f5af771
Loading