Skip to content
Snippets Groups Projects
  1. Apr 01, 2016
    • Michal Rostecki's avatar
      Fix IP resolve check for RabbitMQ on AIO · 5aa2dcce
      Michal Rostecki authored
      On AIO installation we cannot assume that the public IP address
      will be the first entry in "getent ahostsv4" result, because
      it may be also a localhost address. To make this check positive
      in AIO, we should look for the public IP in the whole output.
      
      Change-Id: I1da7b95d7f00c7f87ff68ead46bf55fdea812599
      Closes-Bug: 1564564
      5aa2dcce
  2. Mar 21, 2016
  3. Mar 19, 2016
    • Michal (inc0) Jastrzebski's avatar
      Add check if all the hostnames are resolvable · d2f828a1
      Michal (inc0) Jastrzebski authored
      Rabbitmq can't work with IPs, so we need to make sure that all
      rabbit cluster hosts can resolve each others hostnames. We
      should also require that in docs.
      
      DocImpact
      Closes-Bug: #1559158
      
      Change-Id: I2418187138988d21da3dc3624e9cdbda891d4894
      d2f828a1
  4. Jan 29, 2016
  5. Jan 28, 2016
    • SamYaple's avatar
      Update all bootstraps to use Label · 6d8959a9
      SamYaple authored
      Add bootstrap label to all bootstrap containers to ensure that when
      the a new container is launched a difference is seen between it and
      the bootstrap container since we cannot rely on ENV variables for
      this. This only affects mariadb at this stage, but it is needed to
      ensure rabbitmq works when we switch to named volumes.
      
      Change-Id: Ia022af26212d2e5445c06149848831037a508407
      Closes-Bug: #1538136
      6d8959a9
  6. Dec 31, 2015
  7. Nov 23, 2015
    • Sam Yaple's avatar
      Make the database json variable more readable · 970617b8
      Sam Yaple authored
      Additionally remove tty from the container cleanup docker section. It
      was added in a sed in a previous patchset by serves no purpose.
      
      Change-Id: Ib617870616bca687f72ffaa44b2e9a3a11ef1011
      Partially-Implements: blueprint cleanup-playbooks
      970617b8
  8. Oct 14, 2015
    • Sam Yaple's avatar
      Add tty to containers · b2ac6e80
      Sam Yaple authored
      sudo requires a tty to function by default on centos. Instead of
      tweaking the sudo conf we can just add a tty. This has the added
      advantage of making the containers more friendly if you have to
      `docker exec -i <container> bash` into them.
      
      Change-Id: If97a02ca1d37c243a787d98ade54bde8d641aecd
      backport: liberty
      Partially-Implements: blueprint functional-testing-gate
      b2ac6e80
  9. Oct 13, 2015
    • Sam Yaple's avatar
      Bump ansible to 1.9.2 · c5be228b
      Sam Yaple authored
      Ansible 1.9.2 contains the fix needed for docker-py >1.2.0
      
      This is needed for some gate reasons, but it is also a good version
      bump because it fixes a few issues with delegate_to.
      
      Change-Id: Iafbabb3b0232620849d0548c5cd9d8d316c2b0f3
      backport: liberty
      Partially-Implements: blueprint functional-testing-gate
      c5be228b
  10. Oct 06, 2015
    • Sam Yaple's avatar
      Bring Kolla inline with FHS · 94162bd0
      Sam Yaple authored
      This brings Kolla images inline with FHS and should make finding
      locations of things more consistent and reliable with the linux world
      at large.
      
      Change-Id: Iece5b4da4bace0fb8b1f41a65ab2c852ec73e6f8
      Closes-Bug: #1485742
      94162bd0
  11. Sep 18, 2015
  12. Sep 06, 2015
  13. Sep 04, 2015
    • Vladislav Belogrudov's avatar
      Check exit status of bootstrap containers · 7f81dbc8
      Vladislav Belogrudov authored
      Currently bootstrap containers are waited to exit but are not
      checked for exit status and ansible runs further tasks. If
      bootstrapping fails we notice it at much later time.
      
      Change-Id: I137fc11b0f9d1f03d2ded08a213e8dbd62741f92
      Closes-Bug: #1492337
      7f81dbc8
  14. Sep 02, 2015
    • Sam Yaple's avatar
      Fix rabbitmq perms · 77466a29
      Sam Yaple authored
      If a bootstrap fails at some stage and leaves a rabbitmq_data
      container on a host, it will not bootstrap again and rabbitmq
      fails to start due to root permissions on /var/lib/rabbitmq.
      
      This patch improves the check for a valid, existing
      rabbitmq_data
      
      Closes-Bug: #1490602
      Change-Id: I6a00aaef38b4ab6a60dcfb5ed2f808513b9f8c84
      77466a29
  15. Aug 31, 2015
  16. Aug 21, 2015
    • Vladislav Belogrudov's avatar
      Rabbitmq servers fail to start due to wrong permissions · dd9986cf
      Vladislav Belogrudov authored
      Rabbitmq containers mount /var/lib/rabbitmq from 'data'
      containers with 'root:root' permissions because
      ansible does not wait for rabbitmq bootstrap container -
      the latter corrects access rights but sometimes gets
      killed just after start.
      
      Change-Id: I5cd1ce9810a1fd457dd34a1283e448204964c17d
      Closes-Bug: #1487422
      dd9986cf
  17. Aug 19, 2015
    • Steven Dake's avatar
      Use one data container for all data volumes · bd5e5bbb
      Steven Dake authored
      The previous method of using the API image for a data container
      worked, but resulted in more data being bindmounted and copied
      into the system.  This patch resolves that by essentially using
      a distro-type as a FROM in a Dockerfile to generate
      distro-type-data.  Further all of the data containers used
      throughout ansible are modified to use this new data container.
      
      Change-Id: I8846573d4f2d4b98d4f46c770bfefc6d4c5cd0b5
      Partially-Implements: blueprint one-data-container
      bd5e5bbb
  18. Aug 14, 2015
  19. Jul 30, 2015
    • Sam Yaple's avatar
      Rename role name to service name · 0382909d
      Sam Yaple authored
      The original purpose for having an abstract like 'database' rather than
      the service name of 'mariadb' has been change. Our direction is different
      and this patch reflects consistent naming throughout
      
      Change-Id: I704896191cc5243f9dab2a4cca9120e9dc2ceb2c
      Closes-Bug: #1478328
      0382909d
  20. Jul 05, 2015
  21. Jul 03, 2015
    • 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
Loading