Skip to content
Snippets Groups Projects
  1. Sep 27, 2016
    • Jeffrey Zhang's avatar
      Remove do_reconfigure.yml file for all roles · fa856556
      Jeffrey Zhang authored
      do_reconfigure.yml is introduced to use serial directive. But we use
      it in wrong. Now serial has moved to playbook file. So it is time to
      remove the do_reconfigure.yml file
      
      Closes-Bug: #1628152
      Change-Id: I8d42d27e6bc302a0e575b0353956eaef9b2ca9fd
      fa856556
  2. Sep 19, 2016
  3. Sep 17, 2016
  4. Sep 16, 2016
  5. Sep 13, 2016
    • Mick Thompson's avatar
      Added serial option to site.yml. · 4c1482b9
      Mick Thompson authored
      Useful for upgrade etc., which is preferablly done serially.
      
      Example usage: tools/kolla-ansible deploy OR tools/kolla-ansible upgrade
      
      Closes-Bug: #1576708
      
      DocImpact
      
      Change-Id: I34b2e16f8ce53e472a4682a4738c4ac0f5abf00c
      4c1482b9
  6. Aug 25, 2016
    • Shaun Smekel's avatar
      Add full support for fernet · 1c68ae38
      Shaun Smekel authored
      This addresses the ansible aspects of fernet key bootstrapping as
      well as distributed key rotation.
      
      - Bootstrapping is handled in the same way as keystone bootstrap.
      - A new keystone-fernet and keystone-ssh container is created to allow
        the nodes to communicate with each other (taken from nova-ssh).
      - The keystone-fernet is a keystone container with crontab installed.
        This will handle key rotations through keystone-manage and trigger
        an rsync to push new tokens to other nodes.
      - Key rotation is setup to be balanced across the keystone nodes using
        a round-robbin style. This ensures that any node failures will not
        stop the keys from rotating. This is configured by a desired token
        expiration time which then determines the cron scheduling for each
        node as well as the number of fernet tokens in rotation.
      - Ability for recovered node to resync with the cluster. When a node
        starts it will run sanity checks to ensure that its fernet tokens
        are not stale. If they are it will rsync with other nodes to ensure
        its tokens are up to date.
      
      The Docker component is implemented in:
        https://review.openstack.org/#/c/349366
      
      Change-Id: I15052c25a1d1149d364236f10ced2e2346119738
      Implements: blueprint keystone-fernet-token
      1c68ae38
  7. Aug 11, 2016
    • Ken Wronkiewicz's avatar
      Keystone interface address and memcached override · 37b3c8c3
      Ken Wronkiewicz authored
      
      Note: This should not result in any behavior changes in regular Kolla,
      just Kolla-Kubernetes and only when you've overridden stuff in globals.yml
      
      Allows override of interface address and memcached pools, so that
      Kubernetes can do the right thing.
      
      There are some significant architectural issues involved in
      memcached pooling in the Kolla-kubernetes world.  Avoiding them right
      now.
      
      Current working Kolla-Kubernetes globals.yml file, assuming that your
      memcached servers are available under the DNS alias "memcached":
      
      api_interface_address: "0.0.0.0"
      
      memcached_servers: "memcached"
      
      keystone_database_address: "mariadb"
      keystone_admin_url: "{{ admin_protocol }}://keystone-admin:{{ keystone_admin_port }}/v3"
      keystone_internal_url: "{{ internal_protocol }}://keystone-public:{{ keystone_public_port }}/v3"
      keystone_public_url: "{{ public_protocol }}://keystone-public:{{ keystone_public_port }}/v3"
      
      Co-authored-by: default avatarRyan Hallisey <rhallise@redhat.com>
      Change-Id: I5126f81da7b4d48001b87f73d58bbbfad658209c
      Partially-implements: blueprint api-interface-bind-address-override
      37b3c8c3
  8. Aug 09, 2016
    • Duong Ha-Quang's avatar
      Port with_ loop variable syntax to Ansbile 2 · 34975e29
      Duong Ha-Quang authored
      Migrate to full variable syntax in with_ loop
      instead of bare variables for:
      - ceph
      - ceilometer
      - glance
      - heat
      - horizon
      - keystone
      - mariadb
      - memcached
      - neutron
      - nova
      - rabbitmq
      
      Change-Id: Ib925b4ecea47ac758a77739c9c7e140f06933b08
      Partial-Implements: blueprint ansible2
      34975e29
  9. Aug 04, 2016
    • jackning's avatar
      Replace keystone's wsgi config with custom config · 1c0ba85d
      jackning authored
      Ansible's template action supports replacing keystone's wsgi default
      config with custom config, it should only add with_first_found param
      to config.yml to support this.
      
      Change-Id: Id66302802db9a57188067982ea697f16faa1d8eb
      Closes-Bug: #1609655
      1c0ba85d
  10. Aug 03, 2016
    • Mathias Ewald's avatar
      Correct permissions to /etc/keystone/domains · 29d9d661
      Mathias Ewald authored
      Set permission for /etc/keystone/domains/ directory to 0700 instead of
      0600 which is required for Keystone to be able to list directory
      contents.
      
      Change-Id: I7536cc3f0bcbc8aea298ad76713e45cbb93a4b27
      Closes-Bug: #1609319
      29d9d661
  11. Aug 02, 2016
    • Ken Wronkiewicz's avatar
      Horizon interface address and memcached override · a6d89f44
      Ken Wronkiewicz authored
      Note: This should not result in any behavior changes in regular Kolla, just
      Kolla-Kubernetes and only when you've overridden stuff in globals.yml
      
      Allows override of interface address and memcached pools, so that Kubernetes
      can do the right thing.
      
      There are some significant architectural issues involved in memcached pooling
      in the Kolla-kubernetes world.  Avoiding them right now.
      
      Current working with this Kolla-Kubernetes globals.yml file:
      
      api_interface_address: "0.0.0.0"
      
      memcached_servers: "memcached"
      
      keystone_database_address: "mariadb"
      keystone_admin_url: "http://keystone-admin:35357/v3"
      keystone_internal_url: "http://keystone-public:5000/v3"
      keystone_public_url: "http://keystone-public:5000/v3
      
      "
      
      Three tings to note:
       * In Kolla-Kubernetes, the service is not using net=host, so a
         0.0.0.0 interface address is totally OK.  That patch has been merged.
       * In Kolla-Kubernetes, the global.yml file doesn't do var substitution
         so you have to be explicit about the URLs, otherwise Keystone will
         look like it was provisioned but it won't quite be provisioned right.
       * In order to not duplicate tons of code, moved the keystone_admin_url /
         keystone_internal_url / keystone_public_url to the common defaults
         from the keystone defaults.
      
      Co-Authored-By: default avatarRyan Hallisey <rhallise@redhat.com>
      Change-Id: I586ce1c6c3300254c4e2a398ff46645df576aeb0
      Partially-implements: blueprint api-interface-bind-address-override
      a6d89f44
  12. Jul 19, 2016
  13. Jul 14, 2016
    • Patrick Powell's avatar
      Keystones openstack_auth was undefined · 51504c35
      Patrick Powell authored
      Keystones openstack_auth is undefined for Keystones sanity check
      closes-bug: #1601808
      
      Change-Id: I445482ce32b924d9220e8c351363b6793558d3b4
      51504c35
    • Dave Walker (Daviey)'s avatar
      Support Keystone Domain specific files · a5e402f1
      Dave Walker (Daviey) authored
      
      Currently, it is not possible to make use of Keystone Domain
      specific settings. Such as different domains using different
      LDAP servers or SQL.
      
      To enable for example domain ACME - domain settings would be
      put into:
      {{ node_custom_config }}keystone/domains/keystone.ACME.conf
      
      Change-Id: I23620978c618dd4a3598d7cb74c3e9cf8c2394ac
      Closes-Bug: #1599868
      Signed-off-by: default avatarDave Walker (Daviey) <email@daviey.com>
      a5e402f1
  14. May 23, 2016
    • Ryan Hallisey's avatar
      Make configurable the location where config files are merged · 2da010a7
      Ryan Hallisey authored
      An operator may want to specify the location of custom config
      files so that kolla can detect their location and merge
      them with the default configs generated.
      
      Partially implements: blueprint multi-project-config
      
      Change-Id: Ibfb38d07a36dfa7fe25381adc34cc1d3cbe7d1e1
      2da010a7
  15. May 13, 2016
  16. May 03, 2016
  17. May 02, 2016
  18. Apr 19, 2016
    • Paul Bourke's avatar
      Disable tty for keystone register script · e2452906
      Paul Bourke authored
      There seems to be a bug regarding the interaction between the Red Hat
      based images and docker exec, where output is missed when attaching a
      tty. This can be replicated using the following:
      
      $ docker run -d --name test centos /bin/sleep infinity
      $ docker exec -t test echo hi
      
      Repeat the second command over and over, "hi" will only be printed out
      every couple of runs.
      
      This affects the keystone register task as sometimes it will not print
      it's final json result to stdout, causing ansible to fall over with a
      difficult to diagnose error (despite the register having run
      successfully).
      
      Disabling the tty fixes this for me, it should not be needed in this
      case regardless.
      
      Change-Id: Ie7eb7c01c34ee3c59bd843651195fbcb7259d2c8
      Closes-Bug: #1572082
      e2452906
  19. Apr 11, 2016
    • Ryan Hallisey's avatar
      Set db connection retry to infinity · 67333e4d
      Ryan Hallisey authored
      Make sure that all the sevices will attempt to
      connect to the database an infinite about of times.
      If the database ever disappears for some reason we
      want the services to try and reconnect more than just
      10 times.
      
      Closes-bug: #1505636
      Change-Id: I77abbf72ce5bfd68faa451bb9a72bd2544963f4b
      67333e4d
  20. Mar 28, 2016
    • Carlos Cesario's avatar
      Change keystone log dir · 493650aa
      Carlos Cesario authored
      Proposed patch to change keystone and heka log dir
      from /var/log/kolla/apache2/ to /var/log/kolla/keystone/
      
      Closes-Bug: #1560620
      Change-Id: I70c65ceba5a301cc56880313ca86f01bd35676cb
      493650aa
  21. Mar 19, 2016
    • SamYaple's avatar
      Add memcached_servers to keystone_auth section · d4535b6d
      SamYaple authored
      The in-process cache for keystone tokens has been deprecated due to
      "incosistent results and high memory usage" with the expectation we
      switch to memcached_servers if we want to stay performant.
      
      Add memcache_servers [cache] section to the appropriate servers as the
      [DEFAULT]\memcache_servers options was deprecated.
      
      TrivialFix
      Related-Id: Ied2b88c8cefe5655a88d0c2f334de04e588fa75a
      
      Change-Id: Ic971bdddc0be3338b15924f7cc0f97d4a3ad2440
      d4535b6d
  22. Mar 17, 2016
    • SamYaple's avatar
      Allow per node configuration with augments · 1f371e27
      SamYaple authored
      This type of per node configuration is required to support things like
      availability zones for nova. As always, if this file doesnt exist it
      doesnt get used so this change is safe.
      
      TrivialFix
      
      Change-Id: Iff8172af522c2c96e5f2c173b24a5dfd4d522ed2
      1f371e27
  23. Mar 03, 2016
    • Dave McCowan's avatar
      Add TLS protection on external API endpoints · 3daded62
      Dave McCowan authored
      TLS can be used to encrypt and authenticate the connection with
      OpenStack endpoints.  This patch provides the necessary
      parameters and changes the resulting service configurations to
      enable TLS for the Kolla deployed OpenStack cloud.
      
      The new input parameters are:
      
      kolla_enable_tls_external: "yes" or "no" (default is "no")
      kolla_external_fqdn_cert: "/etc/kolla/certificates/haproxy.pem"
      kolla_external_fqdn_cacert: "/etc/kolla/certificates/haproxy-ca.crt"
      
      Implements: blueprint kolla-ssl
      
      Change-Id: I48ef8a781c3035d58817f9bf6f36d59a488bab41
      3daded62
    • SamYaple's avatar
      Fix Keystone v3 and Horizon · 57124620
      SamYaple authored
      After our switch to keystone-manage bootstrap Horizon is not happy
      due to v3 not being setup correctly. This patch fixes that
      
      This also includes removal of unused variables (transforms them into
      endpoint url variables)
      
      TrivialFix
      Change-Id: I1e04db8c24049f80e974c063f03068a2ab32a563
      57124620
  24. Mar 01, 2016
    • Jeffrey Zhang's avatar
      Add kolla_docker action for reconfigure · b694408a
      Jeffrey Zhang authored
      add three actions used for reconfigure
      
      * restart_container
      * get_container_env
      * get_container_state
      
      Partially-implements: bp kolla-reconfig
      
      Change-Id: I63609ce47f044926ff276ab1188b10f44270a0b5
      b694408a
    • SamYaple's avatar
      Remove keystone admin token · 4edd0baf
      SamYaple authored
      
      Admin token has been deprecated upstream. It will be removed in O. We
      switch over to the new `keystone-manage bootstrap` method for creating
      the initial admin user, role, and project.
      
      Co-Authored-By: default avatarSam Yaple <sam@yaple.net>
      Change-Id: I6ca90e8d4c3b71009e24b049b2efbc08c05ebfbf
      4edd0baf
  25. Feb 29, 2016
  26. Feb 27, 2016
  27. Feb 26, 2016
    • SamYaple's avatar
      Change kolla_internal_address variable · d3cfb205
      SamYaple authored
      Due to poor planning on our variable names we have a situation where
      we have "internal_address" which must be a VIP, but "external_address"
      which should be a DNS name. Now with two vips "external_vip_address"
      is a new variable.
      
      This corrects that issue by deprecating kolla_internal_address and
      replacing it with 4 nicely named variables.
      
      kolla_internal_vip_address
      kolla_internal_fqdn
      kolla_external_vip_address
      kolla_external_fqdn
      
      The default behaviour will remain the same, and the way the variable
      inheritance is setup the kolla_internal_address variable can still be
      set in globals.yml and propogate out to these 4 new variables like it
      normally would, but all reference to kolla_internal_address has been
      completely removed.
      
      Change-Id: I4556dcdbf4d91a8d2751981ef9c64bad44a719e5
      Partially-Implements: blueprint ssl-kolla
      d3cfb205
  28. Feb 25, 2016
  29. Feb 24, 2016
    • Dave McCowan's avatar
      Use passed client IP address in various audit logs · b7703395
      Dave McCowan authored
      HAProxy: change to use option forwardfor to pass origin IP address
      to backend via X-Forwarded-For header
      
      Keystone: Apache does the audit logs for keystone.  Change the
      LogFormat to display the passed address instead of the connection
      address which is that of the load balancer.
      
      Nova, Cinder, Glance: these services can make use of the address
      passed in X-Forwarded-For.  With this setting the API logs for
      these services include the client IP address.
      
      Change-Id: Ia861ecc11a7c7d463d0366586926d1a842853f69
      Closes-Bug: #1548935
      b7703395
  30. Feb 19, 2016
  31. Feb 16, 2016
    • SamYaple's avatar
      Move socket binding to named_volume · 690e6853
      SamYaple authored
      The extend_start.sh script for rsyslog is removed as it is no longer
      needed. Docker no longer binds to /dev/log or /run/kolla/log
      
      Closes-Bug: #1544545
      Change-Id: Ic0a323a26ee4e9e15baf4598285844a8a4955f23
      690e6853
  32. Feb 15, 2016
  33. Feb 06, 2016
    • SamYaple's avatar
      Fix gate for docker 1.10 · e8d66766
      SamYaple authored
      Docker 1.10 has broken the gate and this patch will correct that
      breakage.
      
      The issue comes with rsyslog. Due to a commit in Docker 1.10 [1] we
      must change the way we get the log socket for rsyslog. The /dev/
      folder will no longer populate as we used it. So instead we simply
      make a new socket in a path we control and share that to the correct
      location in the containers.
      
      Additionally, adjust the gate for new Docker daemon.
      
      [1] https://github.com/docker/docker/pull/16639
      Partially-Implements: blueprint kolla-upgrade
      Change-Id: I881a2ecdf6d7b35991e1d38a3f3e60d022d6577f
      e8d66766
  34. Feb 02, 2016
    • SamYaple's avatar
      Rename kolla_ansible to kolla_toolbox · 80b7266e
      SamYaple authored
      This change is needed for clarity. We have a kolla-ansible script.
      We have a kolla-mesos repo. We plan to have a kolla-ansible repo.
      Already we have had far too much confusion about whether we are
      talking about the container or the project. Naming this kolla-toolbox
      eliminates all of that confusion and its probably a bit more accurate
      of a name too.
      
      Closes-Bug: #1541053
      Change-Id: I8fd1f49d5a22b36ede5b10f46b9fe02ddda9007e
      80b7266e
  35. 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
Loading