Skip to content
Snippets Groups Projects
  1. Aug 12, 2015
  2. Aug 11, 2015
    • Vladislav Belogrudov's avatar
      Glance bootstrap container mounts wrong config folder · 30519215
      Vladislav Belogrudov authored
      Glance bootstrap container is based on glance-api. Ansible playbook
      incorrectly mounts
          "{{ node_config_directory }}/glance" to "/opt/kolla/glance"
      where it should mount
          "{{ node_config_directory }}/glance-api" to "/opt/kolla/glance-api".
      After start bootstrap container fails to find configuration and exits.
      
      Change-Id: Id2e5ddb2191cfee7db57dd0aec2f06fc617aa9d6
      Closes-Bug: #1483757
      30519215
    • Sam Yaple's avatar
      Update neutron confs and ports · b2716341
      Sam Yaple authored
      Cleanup all options in the minimal neutron confs. Remove options where
      the default value was specified explicitly. Updated ports and bindings
      to be configurable.
      
      Partially-Implements: blueprint update-configs
      
      Change-Id: I420ea1469e7bbe87aca0754cd3507098501f1de5
      b2716341
    • Vladislav Belogrudov's avatar
      Glance bootstrap container does not create tables and runs forever · 91df6940
      Vladislav Belogrudov authored
      Due to typo in ansible/roles/glance/tasks/bootstrap.yml container
      misses database initialization block and starts service instead.
      Ansible hangs on waiting for bootstrap container exit.
      
      Change-Id: Icf5ba68b47d65b22d6869e4b7b2d93e7edb8ed3b
      Closes-Bug: #1483647
      91df6940
  3. Aug 10, 2015
    • Sam Yaple's avatar
      Update nova.conf and ports · d9134637
      Sam Yaple authored
      Cleanup all options in the minimal nova.conf. Remove options where
      the default value was specified explicitly. Updated ports and bindings
      to be configurable.
      
      Partially-Implements: blueprint update-configs
      Change-Id: I0bca7a8f9c4c6fa40145d66a95de7e98edc0edce
      d9134637
    • Vladislav Belogrudov's avatar
      Ansible should wait bootstrap container on first host · fe9092ba
      Vladislav Belogrudov authored
      Bootstrapping of Keystone/Glance happens on first host
      via 'run_once'. After running bootstrap containers we
      should wait for them also on the same host. Currently
      waiting is done on all hosts what gives task error on
      other hosts.
      
      Change-Id: I6eac928d405ea819982118d9b567988074be4ed2
      Closes-Bug: #1483224
      fe9092ba
    • Sam Yaple's avatar
      Update rabbitmq confs and ports · 3a78bbde
      Sam Yaple authored
      Cleanup all options in the rabbitmq confs. Allow all ports to be
      configurable.
      
      Change-Id: I9b3b485a4f3a25d20c0f19d13638f717daa169dc
      Partially-Implements: blueprint update-configs
      3a78bbde
    • Sam Yaple's avatar
      Update glance confs and ports · 0247df7a
      Sam Yaple authored
      Cleanup all options in the minimal glance confs. Remove options where
      the default value was specified explicitly. Updated ports and bindings
      to be configurable.
      
      For rabbitmq, those options will only be needed once ceilometer is
      implemented. At that point they will exist in an 'if' block.
      
      Change-Id: Idcf0ebc625a5ef3a83181bce10281596a5f1d684
      Partially-Implements: blueprint update-configs
      0247df7a
  4. Aug 08, 2015
    • Sam Yaple's avatar
      Remove Ansible abstraction for Keystone · f2d575b9
      Sam Yaple authored
      Change-Id: I0daf8b78f39b919d2b88336322203f1d643fc54b
      Partial-Bug: #1482214
      Partially-Implements: blueprint remove-abstraction-ansible
      f2d575b9
    • Sam Yaple's avatar
      Remove Ansible abstraction for Glance · beeef841
      Sam Yaple authored
      Change-Id: I9e2fe6c5e7396d6fb3ce348f30f1d5ea81b6dcf6
      Partially-Implements: blueprint remove-abstraction-ansible
      beeef841
    • Sam Yaple's avatar
      Fixes group name for keepalived.conf · 1ab8bc18
      Sam Yaple authored
      Also included is removing the executable bit on haproxy.cfg.j2 as it
      should not have those permissions in the repo. It has no affect on the
      templating process.
      
      Change-Id: I9c76e528896bdf1799b8eeb62ae77bc4ad0b4449
      Closes-Bug: #1482832
      1ab8bc18
  5. Aug 06, 2015
    • Ryan Hallisey's avatar
      Glance api and Glance registry shouldn't share tags · cd3536ec
      Ryan Hallisey authored
      In the ansible tool, both the Glance api and registry share
      the same release tag and they shouldn't.
      
      Change-Id: I5f5f288d192586b84963d59d94567371d28b76a0
      Closes-bug: #1482374
      cd3536ec
    • Sam Yaple's avatar
      Reduce dependencies on the dest nodes · 98a379b0
      Sam Yaple authored
      Currently we require a slew of deps on each destination node, this
      includes a gcc compiler and installing things via pip. We can remove
      these dependencies by containerizing them and running and Ansible
      inside the container itself. The container would then report back
      facts about idempotency.
      
      DocImpact
      Closes-Bug: #1481495
      Implements: blueprint containerize-dependencies
      Change-Id: I3dfccbf9fafc06ffc36e78f3006fe5d3367891df
      98a379b0
  6. Aug 05, 2015
    • Sam Yaple's avatar
      Add check_script for haproxy in keepalived · 8ede380f
      Sam Yaple authored
      This patch checks that haproxy is alive and running. It does this by
      using socat to talk to the haproxy socket. That socket will only
      respond successfully when haproxy is active and functional.
      
      Change-Id: I528588d5742071103c28109a69842a6f935232c2
      Closes-Bug: #1478570
      8ede380f
  7. Aug 04, 2015
    • Sam Yaple's avatar
      Fixes tags and when conditional for HAProxy · c2dbbde3
      Sam Yaple authored
      A missing comma after the second tag prevented the when conditional
      from being evaluated correctly.
      
      Change-Id: Ic18462212452a22ad556bed114e0a99440abe1ff
      Closes-Bug: #1481130
      c2dbbde3
  8. Aug 02, 2015
    • Sam Yaple's avatar
      Add linuxbridge as option to ansible · b401a902
      Sam Yaple authored
      Allows the user to configure neutron_plugin_agent value for Ansible.
      Current allowed values are openvswitch and linuxbridge.
      
      Implements: blueprint ansible-neutron-linuxbridge
      
      Change-Id: I0572464a5459d2f9da09b6da22db16e240511f99
      b401a902
  9. Aug 01, 2015
    • Sam Yaple's avatar
      Removes unneeded variables · 0fb09203
      Sam Yaple authored
      These variables are defined in the defaults.yml file
      
      Change-Id: I45de4fbd41c50e2a8fe3233cdffc467c9a594aa5
      Closes-Bug: #1480498
      0fb09203
  10. Jul 31, 2015
    • Sam Yaple's avatar
      Fixes race condition in ansible playbooks · 8e03952c
      Sam Yaple authored
      Bundling in a run_once error that beaks with multinode and the race
      
      Change-Id: Ia3779d9a291f8d652fc81fe5ebcab88241805c8d
      Closes-Bug: #1480468
      8e03952c
    • Sam Yaple's avatar
      Use sleep during database bootstrap · d32ed35d
      Sam Yaple authored
      A small sleep is used to allow the database to initialize before
      starting the databases on the other hosts.
      
      Change-Id: I1ea9ee8be55f47ae917f9985431e1e919f64c101
      Closes-Bug: #1479970
      d32ed35d
    • Sam Yaple's avatar
      Update inventory examples for Ansible · 2b98ac39
      Sam Yaple authored
      Change-Id: I14beadf8ae0b4f117623331dca71eff3d45b51f1
      Closes-Bug: #1480439
      2b98ac39
    • Harm Weites's avatar
      Remove the explicit chown root · a1a78044
      Harm Weites authored
      This is not possible when running multihost ansible.
      Essentially this should've been part of #1476293.
      
      Change-Id: I53baccf5f89e71ce1313524815f928ea04908a05
      Partitially-Implements: blueprint ansible-service
      a1a78044
    • Vladislav Belogrudov's avatar
      Add missing slash if docker registry is specified · 2887c6d2
      Vladislav Belogrudov authored
      If user specifies registry a full image name is constructed by
      concatenation of the registry, namespace and image. Currently
      concatenation does not include '/' if registry is non-empty but
      it should. If registry is empty '/' is not required.
      This fix covers both use cases with help of Ansible filter.
      
      Change-Id: I0588dd0da55d777e6caa7eb47d51b2435d38d5e0
      Closes-Bug: #1479013
      2887c6d2
  11. Jul 30, 2015
    • Sam Yaple's avatar
      Properly use groups throught Ansible · 0007d332
      Sam Yaple authored
      Additionally, make each service optional witha config option allowing
      for extreme flexibility should the deployer want to replace a service
      with a non-kolla one (the database for example).
      
      Change-Id: I7b644da7cfa7e8e6b6878eb1b1aa97db830504ae
      Closes-Bug: #1478509
      0007d332
    • 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
    • Sam Yaple's avatar
      Forces metadata to bind to single interface · 3bc9adf9
      Sam Yaple authored
      Also adds haproxy config for metadata.
      
      Change-Id: I65c1ae5f491d66bf4dccaa38a9a2ad4026c1f72e
      Closes-Bug: #1478333
      3bc9adf9
    • Sam Yaple's avatar
      Add keepalived to ansible · ab9f6521
      Sam Yaple authored
      Adds the needed ansible bits to support keepalived
      
      Closes-Bug: #1479934
      Change-Id: Iace29b23a0e923b1f5dc9a4f5bc0f88afce3ae62
      Partially-Implements: blueprint ansible-service
      ab9f6521
  12. Jul 28, 2015
  13. Jul 27, 2015
    • Sam Yaple's avatar
      Removes hashing from merge_configs.py · 53c0ada4
      Sam Yaple authored
      There is no benefit to hashing in merge_configs.py In fact, the opposite
      is true, hashes can collide. This does a direct compare rather than hash.
      
      Change-Id: I9ab7af13e813e2267984092027daf1658faf5bf3
      Closes-Bug: #1478494
      53c0ada4
  14. Jul 26, 2015
  15. 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
Loading