Skip to content
Snippets Groups Projects
  1. Oct 05, 2017
    • Eduardo Gonzalez's avatar
      Fix deployment with public TLS enabled · 56374206
      Eduardo Gonzalez authored
      When deploying with tls enabled in public
      endpoints, ansible modules fails due SSL certificates
      are self-signed.
      
      This change adds a new variable to allow customization
      on which endpoints ansible should connect.
      Defaults to admin because admin auth parameters defaults
      to admin endpoint.
      
      Change-Id: Ic3ed58cf9c9579cae08a11bbfe6fce983b5a9cbc
      Closes-Bug: #1720995
      56374206
  2. Sep 13, 2017
    • Bertrand Lallau's avatar
      Simplify Openstack services configuration possibilities · a3dfdfc0
      Bertrand Lallau authored
      Actually Openstack services configuration can be overriden using many
      files:
      - /etc/kolla/config/<< service name >>/<< config file >>
      - /etc/kolla/config/<< service name >>/<<host>>/<< config file >>
      - /etc/kolla/config/global.conf
      - /etc/kolla/config/database.conf
      - /etc/kolla/config/messaging.conf
      
      Only per-service configuration is actually documented here:
      https://github.com/openstack/kolla-ansible/blob/master/doc/advanced-configuration.rst#L164
      
      Allowing to globally modify service configuration can be perform too,
      but it can be done in 3 different manners, all not documented:
      - /etc/kolla/config/global.conf
      - /etc/kolla/config/database.conf
      - /etc/kolla/config/messaging.conf
      
      database.conf and messaging.conf seems redundant with global.conf.
      In order to simplify codebase it seems logical to remove them.
      
      Documentation has been added for overriding configuration globally and
      release note has been added too.
      
      Closes-Bug: #1682479
      Change-Id: I5d922dfc0d938173bad34ac64e490b78db1b7e31
      a3dfdfc0
  3. Sep 11, 2017
  4. Jul 26, 2017
  5. Jul 19, 2017
  6. Jul 18, 2017
  7. Jul 10, 2017
    • Bertrand Lallau's avatar
      Clean some Boolean condition checks · 8b5b3cef
      Bertrand Lallau authored
      * "bool" filter is removed when not required
      * 'not' is used instead of '== False' check
      
      Change-Id: I85a5bb9a5ea874ac1c397cbf8de416147d2424c3
      8b5b3cef
    • Noboru Iwamatsu's avatar
      delete delimiter from init fernet condition check · 2182e563
      Noboru Iwamatsu authored
      In ansible 2.3.1, conditional statement should not include jinja2
      templating delimiters (e.g. {{ ).  So, this change removes the
      delimiters from when statemant, and also removes unnesessary
      parentheses from until statement.
      
      Closes-Bug: 1702607
      
      Change-Id: I071ffd5ba6175ee1bc61719a84b805c022753459
      2182e563
  8. Jul 05, 2017
  9. Jul 03, 2017
    • Eduardo Gonzalez's avatar
      Remove symlink in reconfigure tasks · 8d5526c0
      Eduardo Gonzalez authored
      Some roles have a symlink to deploy.yml file
      for reconfigure. This is causing some issues.
      "included task files must contain a list of tasks"
      
      Change-Id: Ie7ade52900a61bc1c5b867fa7a8f75fc541a6426
      Closes-Bug: #1694251
      8d5526c0
  10. Jun 23, 2017
    • jiangpch's avatar
      The notify "Restart keystone containers" is not correct · 77358dd9
      jiangpch authored
      No handler named "Restart keystone containers", and we should restart
      the keystone and the keystone-fernet container according to the context
      
      Closes-Bug: #1699924
      
      Change-Id: I62512dc022426cc762ff603d8554e48651fa621f
      77358dd9
  11. Jun 20, 2017
    • Juan J. Martinez's avatar
      Retry Keystone's default user role creation · ba5c4302
      Juan J. Martinez authored
      Sometimes Ansible is faster running tasks that haproxy tagging Keystone
      services as UP. Keystone bootstrap uses SQL directly but the default
      user role creation requires the API, and because of that it may fail.
      
      Retry in case the backend is not yet available.
      
      Change-Id: I9dfc030bbf92ca0a3dcb008d55e9fa2055f900ec
      Closes-Bug: 1699096
      ba5c4302
    • caoyuan's avatar
      Fix the database user name for all roles · 36c530f9
      caoyuan authored
      when create database user, it should use
      database_user, not database_name.
      
      Change-Id: I4dfa01d1a5a46c5c58f1fc47b0be71b186462764
      Closes-Bug: #1698762
      36c530f9
  12. Jun 15, 2017
  13. Jun 13, 2017
    • Jeffrey Zhang's avatar
      Remove keystone-paste.ini file in kolla · 6ce222af
      Jeffrey Zhang authored
      keystone-paste.ini file is introduced by
      I3a3ca2e74c0ae341105d3481f97956c6da473046 for a security risk of
      admin_token_auth middleware. Now this middleware is removed by
      I57586ccfa0ad1309cc806d95377dc1ecad015914. So it is safe to use upstream
      keystone-paste.ini file.
      
      This patch also keep custom paste file feature. Just put the file to
      /etc/kolla/config/keystone/keyston-paste.ini path.
      
      Closes-Bug: #1695023
      Partially-Implements: blueprint custom-paste
      Change-Id: Ieb983b6a9edb6a156928f6b56a4bd2dbed4281e2
      6ce222af
  14. Jun 12, 2017
  15. Jun 04, 2017
    • caoyuan's avatar
      Remove the unnecessary jinja2 templating delimiters · 597e112a
      caoyuan authored
      [WARNING]: when statements should not include jinja2 templating
      delimiters such as {{ }} or {% %}. Found: {{
      (keystone_bootstrap.stdout | from_json).changed }}
      
      Closes-Bug: #1689550
      
      Change-Id: Ib6fdbcde02319011b072990f06fbd5e74b8d2d93
      597e112a
  16. Jun 03, 2017
    • Dai Dang Van's avatar
      Mixing binary and source images for I* and K* projects · bf0bf043
      Dai Dang Van authored
      In case Kolla's users want to deploy with both of
      binary and source image, we should have a variable
      install type that define install type for each project.
      
      We also add specific image tag for each Openstack project.
      
      This commit is implemented for Ironic, Kabor,
      Keystone project and iscsi as well.
      
      Change-Id: I134d840b1c0e24171a32dec0c7daa6dc2e9ecd87
      Implements: blueprint mixing-binary-and-source-image
      bf0bf043
  17. Jun 02, 2017
  18. May 26, 2017
  19. May 23, 2017
  20. May 04, 2017
    • Jeffrey Zhang's avatar
      Add timeout parameter for precheck tasks · b1f01561
      Jeffrey Zhang authored
      wait_for module waits 300 seconds for the port started or stopped.  This
      is meaningless and useless in precheck. This patch change timeout to 1
      seconds.
      
      Change-Id: I9b251ec4ba17ce446655917e8ef5e152ef947298
      Closes-Bug: #1688152
      b1f01561
  21. Apr 06, 2017
    • Paul Bourke's avatar
      Update keystone sanity check to use built in shade · 8006ecda
      Paul Bourke authored
      The current module 'kolla_sanity' was written as a shim before full
      shade support was added to Ansible. This should now no longer be needed,
      we can implement the checks using Ansible provided modules.
      
      Begin by updating the Keystone check to use 'os_auth' to fetch a token,
      I think this is a good basic smoke test to verify Keystone is working.
      
      Change-Id: I16049d9201fd8138c781ef2e1e0c1827ea817259
      Partially-implements: blueprint sanity-check-container
      8006ecda
  22. Mar 30, 2017
  23. Mar 19, 2017
    • Eduardo Gonzalez's avatar
      Use versionless keystone endpoints · b14f1c56
      Eduardo Gonzalez authored
      nova quota fail to create due a recent change.
      Keystone endpoint cannot have version v3 in the url.
      
      During upgrade to Pike nova endpoint must be changed
      to be versionless.
      
      Change-Id: Idb433d526f7d44dfe4fd02ee918bd67e05c523f6
      Depends-On: I568db4559428525ac6c5083cfc20cffc20be6342
      Closes-Bug: #1668663
      b14f1c56
  24. Mar 15, 2017
  25. Mar 10, 2017
    • rcherrueau's avatar
      Multi-regions Support · dcdbe441
      rcherrueau authored
      Add support for basic multiple regions, that is to say, many OpenStack
      with a shared Keystone (same users) and Horizon. The shared Keystone
      and Horizon are deployed into one region, for instance RegionOne.
      Services of other regions have an access to this Keystone. This
      support assumes that the operator knows the name of all OpenStack
      regions in advance, and considers as many Kolla runs as there are
      regions.
      
      The new variable, multiple_regions_names, contains the name of
      regions. It is needed by the region that includes Keystone and
      Horizon. In register.yml, it specifies to create as many Keystone
      endpoints as there are regiones, so that services of other regions can
      connect to Keystone. In local_settings.j2, it changes the render to
      support multiple regions in Horizon. The multi-regions.rst explains
      how to perform a multiple regions deployment.
      
      Implements: blueprint multi-kolla-config
      Change-Id: Icab2aebfc4de0e3bc609950956e0af397705f403
      Unverified
      dcdbe441
  26. Mar 07, 2017
  27. Feb 27, 2017
    • Paul Bourke's avatar
      Fix keystone idempotency · 9828ad11
      Paul Bourke authored
      The wrapper keystone_bootstrap.sh expects to parse output from the
      keystone-manage command. Somewhere along the line this command stopped
      logging to stderr resulting in it not being able to report it's changed
      status correctly.
      
      Closes-Bug: #1668220
      
      Change-Id: I895ebe11b88fd239fa8cb6e1a2fed779743e4139
      9828ad11
  28. Feb 16, 2017
    • Abel Lopez's avatar
      Change python interpreter · 8b90fb6d
      Abel Lopez authored
      There is inconsistent use of either `/usr/bin/python` or
      `/usr/bin/env python`. This makes for unexpected results when a
      user might be using a virtualenv.
      
      Change-Id: Ibb030f920a8869f9113ade70b66a921cc815060d
      Unverified
      8b90fb6d
  29. Feb 14, 2017
    • caoyuan's avatar
      Add the missing condition for config.yml · 1c3c611f
      caoyuan authored
      - add "item.value.enabled | bool"
      - add "| bool" to keystone
      - add group check for searchlight
      
      Change-Id: Id4555a0a96ea1670e99c88a1da9d3e07bf253497
      1c3c611f
  30. Feb 13, 2017
    • Jeffrey Zhang's avatar
      Disable revoke_by_id in keystone · ba023042
      Jeffrey Zhang authored
      revoke api is only used when using kvs revoke driver. In most of case it
      is useless and unnecessary.
      
      Change-Id: I6afaf32574330e3ee57435f688c41ae74dbdf7ed
      Closes-Bug: #1664026
      ba023042
  31. Feb 05, 2017
  32. Feb 04, 2017
  33. Jan 26, 2017
  34. Jan 24, 2017
    • Borne Mace's avatar
      Fixed config generation to check correct actions · bb475911
      Borne Mace authored
      
      A config generation check was added to a few services but the action
      name checked was "genconfig" where the kolla-ansible genconfig command
      actually uses the action name "config".
      
      Stop run the handlers when action is "config".
      
      Co-Authored-By: default avatarJeffrey Zhang <jeffrey.zhang@99cloud.net>
      Partially-implements: blueprint better-reconfigure
      Change-Id: I9d3be2f674087f340108b176c8e8e2209ffa8806
      bb475911
  35. Jan 18, 2017
Loading