Skip to content
Snippets Groups Projects
  1. Jul 25, 2018
  2. Jun 08, 2018
  3. May 11, 2018
    • Jeffrey Zhang's avatar
      Fix ansible warning · c5670551
      Jeffrey Zhang authored
      - rename action and serial to kolla_ansible and kolla_serial
      - use become instead of "sudo <command>" in shell
      - Remove quota for failed_when and changed_when in rabbitmq tasks
      
      Change-Id: I78cb60168aaa40bb6439198283546b7faf33917c
      Implements: blueprint migrate-to-ansible-2-2-0
      c5670551
  4. Apr 23, 2018
    • Mark Goddard's avatar
      Fix rabbitmq-env.conf ownership in bifrost · 746a2e09
      Mark Goddard authored
      The permissions of rabbitmq-env.conf for bifrost were changed in
      I6e32d94d4172dd96d09d8609e8a5221ab5586a31 to 0660. This breaks bifrost
      deployment, as the rabbitmq user is no longer able to read the
      root-owned file on startup.
      
      This commit changes the ownership of the file in the container to
      rabbitmq:rabbitmq after it has been copied.
      
      Change-Id: I53418f5d4e40b7ca57e546e2e92a57f613fd381e
      Closes-Bug: #1766196
      746a2e09
  5. Mar 26, 2018
    • Eduardo Gonzalez's avatar
      Verify YAML syntax in gates · ea1a1dee
      Eduardo Gonzalez authored
      This patchset implements yamllint test to all *.yml
      files.
      
      Also fixes syntax errors to make jobs to pass.
      
      Change-Id: I3186adf9835b4d0cada272d156b17d1bc9c2b799
      ea1a1dee
  6. Mar 12, 2018
    • Duong Ha-Quang's avatar
      Specify 'become' for only neccesary tasks (all other roles) · 9965cc46
      Duong Ha-Quang authored
      Add become to only neccesary tasks in roles:
      
      - aodh
      - barbican
      - bifrost
      - ceilometer
      - ceph
      - chrony
      - cinder
      - cloudkitty
      - collectd
      - congress
      - designate
      - elasticsearch
      - etcd
      - freezer
      - gnocchi
      - grafana
      - influxdb
      - ironic
      - iscsi
      - karbor
      - kibana
      - kuryr
      - magnum
      - manila
      - mistral
      - mongodb
      - multipathd
      - murano
      - octavia
      - panko
      - qdrouterd
      - rally
      - sahara
      - searchlight
      - senlin
      - skydive
      - solum
      - swift
      - swift
      - tacker
      - telegraf
      - tempest
      - trove
      - vmtp
      - watcher
      - zun
      
      Change-Id: I6e32d94d4172dd96d09d8609e8a5221ab5586a31
      Partial-Implements: blueprint ansible-specific-task-become
      9965cc46
  7. Mar 06, 2018
    • Mark Goddard's avatar
      Use www-data user for bifrost nginx log directory · 2f8c9f83
      Mark Goddard authored
      Bifrost uses the www-data user for nginx on debian/ubuntu, and nginx on
      other platforms. Kolla-ansible currently uses the nginx user for all
      platforms when creating a log directory. This change uses the www-data
      user on debian/ubuntu when setting ownership of the bifrost nginx log
      directory.
      
      Change-Id: I142a158b6f2e8f8a46b684267f6fbb2a6e22a259
      Closes-Bug: #1753750
      2f8c9f83
  8. Mar 05, 2018
    • Mark Goddard's avatar
      Workaround for Bifrost being unable to write to /etc/hosts · 376c607f
      Mark Goddard authored
      Bifrost cannot modify /etc/hosts from within a container, so add a
      host entry during bootstrap.
      
      This was previously fixed by Ied378b4dd755788e75ad1814cecb5700732ba83e
      but the logic in bifrost was changed [1], making it out of sync with
      kolla-ansible, and triggering a write to /etc/hosts. This change applies
      the new logic in bifrost to kolla-ansible, ensuring that the file will
      not need to change in the container.
      
      Longer term we should look at ways to make bifrost less eager to modify
      /etc/hosts, accepting any file that will work for RabbitMQ.
      
      [1]
      https://github.com/openstack/bifrost/commit/60b9a9917e987e321b97b0f611fc2c77813be8b0
      
      Change-Id: I0ee05feae3630435b2ec52cfeddf33647a974ee0
      Closes-Bug: #1661009
      376c607f
    • Mark Goddard's avatar
      Don't set mysql_service_name for bifrost · 6b1ef3ff
      Mark Goddard authored
      Bifrost will determine the name of the service for MySQL based on the OS
      distro if mysql_service_name is not set. Setting it explicitly in
      extra-vars was causing problems on systems that use mariadb.
      
      Change-Id: I892b1c9cf636b9dfc1bacc92e1e2f0d066018260
      Closes-Bug: #1753522
      6b1ef3ff
  9. 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
  10. Dec 21, 2017
  11. Jun 02, 2017
    • Dai Dang Van's avatar
      Mixing binary and source images for A* and B* projects · a02e597e
      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 Aodh, Barbican and Bifrost projects.
      
      Change-Id: I926c9631c860b527941c40addc68896dd27bd1cc
      Implements: blueprint mixing-binary-and-source-image
      a02e597e
  12. Apr 12, 2017
  13. Mar 09, 2017
    • Paul Bourke's avatar
      Enable sanity checks from kolla-ansible · 5418ada1
      Paul Bourke authored
      Add a new subcommand 'check' to kolla-ansible, used to run the
      smoke/sanity checks.
      
      Add stub files to all services that don't currently have checks.
      
      Change-Id: I9f661c5fc51fd5b9b266f23f6c524884613dee48
      Partially-implements: blueprint sanity-check-container
      5418ada1
  14. Feb 16, 2017
    • Mark Goddard's avatar
      Use correct inventory file for Bifrost · e6b92495
      Mark Goddard authored
      Bifrost now targets the play in the install.yml playbook at the
      target Ansible group instead of localhost.
      
      This change uses the target inventory file to pick up this group
      and avoid a 'noop' playbook.
      
      Change-Id: I850993c9d824b59cfb1eec0d8286098d021d4d5f
      Closes-Bug: #1665415
      e6b92495
  15. Jan 26, 2017
  16. Jan 24, 2017
    • Sayantani Goswami's avatar
      Fix bootstrap.yml in Bifrost · af199e71
      Sayantani Goswami authored
      The bootstrap.yml playbook attempts to source
      /opt/stack/ansible/hacking/env-setup and fails because no such file
      exists (ansible is not installed in the location /opt/stack/). This step
      is not required since the command bash ./scripts/env-setup.sh does not
      install ansible from source in the Bifrost container as ansible is
      already installed in the base image used by the Bifrost container.
      
      Change-Id: Ibc26b4b77866127e7b57a30d80cd15734dedd85d
      Closes-Bug: #1658741
      af199e71
  17. Nov 03, 2016
    • Jeffrey Zhang's avatar
      Move precheck into its own role · fa458019
      Jeffrey Zhang authored
      * Merge prechecks.yml and site.yml playbook
      * Create empty precheck.yml into all roles.
      
      Change-Id: I8a138558a26c0a2a66c5fd48ed37be657c99c1dd
      Implements: blueprint condition-pre-check
      fa458019
  18. Oct 27, 2016
  19. Oct 26, 2016
  20. Oct 06, 2016
  21. Aug 31, 2016
    • Sean Mooney's avatar
      add deploy-servers command · 64c40e20
      Sean Mooney authored
      - This change extends kolla-ansible
        with a deploy-server command to enroll and deploy
        physical servers with bifrost.
      
      Change-Id: Iaa9f34b00e676569f6e3df679b7454b1ec0b8e34
      Implements: blueprint bifrost-support
      64c40e20
    • Sean Mooney's avatar
      adds bifrost ssh key generation · 538dbac2
      Sean Mooney authored
      - This change extend the genpwd.py
        command to generate an ssh key pair
        bifrost.
      - This change bifrost config and bootstrap
        task to install the generated keys.
      - This change updates the bifrost guide to
        discribe how to provide your own key.
      
      Change-Id: I05243f58843d9195cace253dff5628fae89c78e8
      Implements: blueprint bifrost-support
      538dbac2
    • Sean Mooney's avatar
      add bifrost deploy ansible support · 96b3f0ae
      Sean Mooney authored
      - This change addes the ability to deploy
        and bootstrap bifrost.
      - This change introduces a deploy-bifrost
        command to kolla-ansible.
      
      Change-Id: I62afcf348661add900c98904e90a15a0eddffd4b
      Implements: blueprint bifrost-support
      96b3f0ae
    • Sean Mooney's avatar
      generate bifrost yaml configs · d7dfae75
      Sean Mooney authored
      - This change indroduces a merge_yaml action_plugin
      - This change generates bifrost yaml configs.
      
      Change-Id: I9814e6a5d55cbd46c4b60c06ed70ed54a575bd2f
      Implements: blueprint bifrost-support
      d7dfae75
Loading