Skip to content
Snippets Groups Projects
  1. 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
  2. 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
  3. Jul 14, 2016
  4. May 13, 2016
  5. Mar 03, 2016
    • 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
  6. Mar 01, 2016
    • 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
  7. 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
  8. Feb 15, 2016
  9. Jan 20, 2016
  10. Dec 15, 2015
  11. Dec 02, 2015
    • Michal Jastrzebski's avatar
      Sanity check for keystone · f632cfe8
      Michal Jastrzebski authored
      This runs first sanity check for keystone. After keystone is deployed
      it checks tenants.list()
      
      Change-Id: Ie919ffe6124eb70428309404a434d9b0eb0b9f70
      Partially-Implements: blueprint sanity-check-container
      f632cfe8
  12. Aug 08, 2015
  13. 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
  14. Jul 31, 2015
    • 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
  15. 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
Loading