Skip to content
Snippets Groups Projects
  1. Jan 11, 2018
    • Doug Szumski's avatar
      Local connection to remote Grafana can fail · 28546710
      Doug Szumski authored
      Following deployment of Grafana, a check is made to ensure that the
      login page is accessible. If the Grafana container has been deployed
      to a remote host, but is not directly accessible over the deployment
      network then the check will fail because the task is set to run with
      connection: local. For example, if Ansible is using a different
      network to the network on which grafana is exposed to connect to the
      remote host then the task may fail. A similar problem exists for the
      remaining two tasks in the post_config file.
      
      Further to this, if Grafana is not accessible, the ansible uri
      module does not return a status field, so no retry attempts are made
      and the task fails with an obscure message:
      
      TASK [grafana : Wait for grafana application ready] *****************
      fatal: [some_remote_node]: FAILED! => {"failed": true, "msg": "The
      conditional check 'result.status == 200' failed. The error was: error
      while evaluating conditional (result.status == 200): 'dict object' has
      no attribute 'status'"}
      
      $ ansible --version
      ansible 2.3.2.0
        config file = /etc/ansible/ansible.cfg
        configured module search path = Default w/o overrides
        python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623
      (Red Hat 4.8.5-16)]
      
      Change-Id: I77e2129b4a1c5f2f0802fb92eb03395ff72cf5f3
      Closes-Bug: #1742501
      28546710
    • ZhongShengping's avatar
      Use WSGIApplicationGroup %{GLOBAL} in mod_wsgi configuration · a3f8c987
      ZhongShengping authored
      Change-Id: I419cd02aeb899d93bba5f330d7e4535afd8c0ed8
      Closes-bug: #1708655
      a3f8c987
  2. Jan 09, 2018
  3. Jan 08, 2018
    • caoyuan's avatar
      Ensure docker running before execute the destroy action · 8cb57f54
      caoyuan authored
      Before cleanup containers and hosts, it should be ensure the
      docker serivce running but the destroy action missing it,
      this patch to fix it
      
      Change-Id: I85ca806c1fd395daf937b585d466e16fbad4e20c
      Closes-Bug: #1741852
      8cb57f54
    • chenxing's avatar
      Enable vitrage dashboard · 12cdd906
      chenxing authored
      Depends-On: I5846b48d336583ae82743f61bfbdadc99c755e8d
      Change-Id: Iaf15dad5e4d527b8721409e56fc081043c1cb174
      Implements: blueprint vitrage-roles
      12cdd906
    • Xinliang Liu's avatar
      Change debian mariadb backup tool to mariabackup · 2f903bf4
      Xinliang Liu authored
      Current debian stretch use mariadb 10.1.26 which integrates
      a backup tool call 'MariaDB Backup' [1]. It is based on
      Percona XtraBackup and support full backup capability for
      MariaDB Server that includes encrypted and compressed data.
      
      This patch also fixs muti-node deployment failed on Debian
      aarch64. Percona's repo has no XtraBackup package for Debian
      aarch64. In such case we can use MariaDB builtin backup tool
      'MariaDB Backup'.
      
      [1] https://mariadb.com/kb/en/library/mariadb-backup-overview/
      
      Change-Id: I7271d3f93b41d4839670a2c4a358744333411cd7
      2f903bf4
  4. Jan 05, 2018
  5. Jan 04, 2018
    • Mark Goddard's avatar
      Fix ironic inspector public endpoint · dda24c47
      Mark Goddard authored
      Fixes a bug where the Baremetal Introspection service's public endpoint
      registered in the Identity service referenced the internal API endpoint.
      
      Also updates keystone endpoints for the Baremetal and Baremetal
      Introspection services during reconfigure and upgrade operations.
      Previously this was only done during deploy.
      
      Change-Id: I32d475f288bb4a3834c13cc86f0c53b5437c3d25
      Closes-Bug: #1738418
      dda24c47
  6. Jan 03, 2018
  7. Jan 02, 2018
  8. Dec 30, 2017
    • Mark Goddard's avatar
      Create volumes for Bifrost's persistent data · 2f25d435
      Mark Goddard authored
      Using Docker volumes for persistent data in the bifrost container is
      necessary for upgrading the bifrost services.
      
      This change adds the following volumes:
      
      * bifrost_httpboot
      * bifrost_ironic
      * bifrost_mariadb
      * bifrost_rabbitmq
      * bifrost_tftpboot
      
      Ironic creates hardlinks between the TFTP master image store and the
      HTTP root path when iPXE is enabled. With different Docker volumes
      used for these locations we run into
      https://bugs.launchpad.net/ironic/+bug/1507894 during deployment. If
      we use a directory under /httpboot to store the master images this
      issue is avoided.
      
      Change-Id: I8653268d3598e7a59d2eb45c8750d45b6fc9e35f
      Partially-implements: blueprint bifrost-upgrade
      2f25d435
    • Mark Goddard's avatar
      Mount kolla_logs volume in bifrost_deploy · bf8eb480
      Mark Goddard authored
      Using a kolla_logs volume ensures that logs are persistent beyond the
      lifespan of the bifrost_deploy container. This is necessary to support
      upgrading the bifrost services. It also opens the possibility of log
      forwarding, although we do not currently deploy a fluentd container on
      the bifrost host.
      
      Change-Id: If3118cd75ccc87b0d003d5f382695aeaa43ed0f8
      Partially-implements: blueprint bifrost-upgrade
      bf8eb480
    • Mark Goddard's avatar
      Ensure inspector uses internal ironic interface · 5f2429b5
      Mark Goddard authored
      Kolla-ansible typically configures services to access the internal API
      endpoint of other services, rather than the default public endpoint.
      
      This change ensures that this is the case for ironic inspector.
      
      Change-Id: I998f12435fc1bd306444f9a68bd7f99f5b78f6f8
      Closes-Bug: #1740591
      5f2429b5
  9. Dec 29, 2017
    • Mark Goddard's avatar
      Add ironic inspector to fluentd log collection · 68b2d48f
      Mark Goddard authored
      Previously ironic inspector logs were not being collected, as they are
      stored in /var/log/kolla/ironic-inspector/ rather than
      /var/log/kolla/ironic/. This change modifies the fluentd input
      configuration to use the correct directory.
      
      Also adds the ironic-inspector service to the fluentd programname
      rewrite rule.
      
      Change-Id: Ie5d67f395e4c32fef992e674f2d53dbd6a17f238
      68b2d48f
  10. Dec 28, 2017
  11. Dec 27, 2017
  12. Dec 21, 2017
    • Jeffrey Zhang's avatar
      Deploy ceph mgr during upgrade · e027d086
      Jeffrey Zhang authored
      Now we have upgraded to ceph Luminous, need start ceph mgr during
      upgrade from Pike( which is ceph Jewel ).
      
      Implements: blueprint ceph-luminous
      Change-Id: I16ac0fc5d963b5725f9a19ecd396290fea7c0399
      e027d086
    • Jeffrey Zhang's avatar
      Fix wrong ceph mgr keyring name during creating · e733a4b8
      Jeffrey Zhang authored
      ceph mgr should use the each node name rather than the first node
      inventory_hostname
      
      Change-Id: Ib4530ee95b4201a941b836a3fbcbe27d2d03b06f
      e733a4b8
  13. Dec 20, 2017
  14. Dec 19, 2017
  15. Dec 18, 2017
  16. Dec 15, 2017
  17. Dec 14, 2017
    • Mark Goddard's avatar
      Fix failure handling in prechecks · be456833
      Mark Goddard authored
      In a HAProxy precheck task, the command module is used, and the results
      inspected by checking the stdout attribute of the result. However, if
      the command fails (non-zero exit code), in some cases there may not be a
      stdout attribute in the result object. This causes an AttributeError and
      prevents ansible's useful diagnostic output from being displayed.
      
      Change-Id: Id502b5d0b71fe2150a29df43154c925dca96ef06
      Trivial Fix
      be456833
    • Taeha Kim's avatar
      Add missing hostname to nodename in RabbitMQ for multinode deployment · fed4c3c6
      Taeha Kim authored
      
      When a RabbitMQ node in multiple RabbitMQ nodes is started during
      multinode deployment, it is required to communicate with each other
      to be clustered. However, RabbitMQ nodes cannot communicate between
      them due to missing host name in the nodename environment variable
      of RabbitMQ. Subsequently, all of RabbitMQs cannot be started and
      it will give rise to a deployment failure.
      
      Change-Id: I7b4ba76807750db4a14d859454ba650bdaaf23ca
      Signed-off-by: default avatarTaeha Kim <kthguru@gmail.com>
      fed4c3c6
  18. Dec 13, 2017
    • Paul Bourke's avatar
      Add tempurl to swift pipeline · 859e88ce
      Paul Bourke authored
      This is required for some tempest tests and in turn to achieve 100%
      refstack certification for clouds deployed by Kolla. tempurl is default in
      Swift[0] but we're missing as we override the pipeline.
      
      [0] https://github.com/openstack/swift/blob/\
          b86bf15a644db4438770801a312fe074a09c91ef/\
          etc/proxy-server.conf-sample#L97
      
      Change-Id: I0e36fcd7a785f878005d51159eb51725c284229c
      859e88ce
    • Xinliang Liu's avatar
      Make qemu use nova user on all distros · a102cd8e
      Xinliang Liu authored
      This fix libvirtError Unable to open logfile issue.
      Related-Bug: #1668654
      Change-Id: I36720af0c7d3dd7c69d2404843f54c0991aea1bb
      a102cd8e
  19. Dec 12, 2017
Loading