Skip to content
Snippets Groups Projects
  1. May 20, 2020
  2. May 13, 2020
  3. May 12, 2020
  4. Apr 30, 2020
  5. Apr 29, 2020
  6. Apr 28, 2020
    • Mark Goddard's avatar
      Fix ironic inspector rule creation idempotency · 2a00b4cc
      Mark Goddard authored
      Ironic inspector rules are registered both with the seed and (if using)
      overcloud ironic inspector services. These tasks often show up as
      changed even when no configuration changes have been made that would
      affect the rules.
      
      This is caused by inspector returning default values for fields that may
      be omitted in the requested rule. This change fixes the issue by
      including those defaults in the comparison.
      
      Change-Id: Ia24e328d4531201d76a65b6385e4463bb1f3c5c6
      Story: 2007399
      Task: 38997
      2a00b4cc
    • Isaac Prior's avatar
      Define default variables for Monasca config · 39308a45
      Isaac Prior authored
      Sets 'monasca_install_type: source' to remove need
      for kolla-ansible var boilerplate.
      
      Also use default Monasca parameters to configure
      Grafana post deploy.
      
      Change-Id: I2b6d62104c9c127cb8f6b4f4930dd695cd00da17
      Story: 2007597
      Task: 39587
      39308a45
  7. Apr 27, 2020
  8. Apr 24, 2020
  9. Apr 23, 2020
    • Zuul's avatar
      Merge "Add kolla_enable_openstack_core variable" · 6afc813c
      Zuul authored
      6afc813c
    • Mark Goddard's avatar
      Improve SSH known host error messages · 78909146
      Mark Goddard authored
      A common failure early on when using Kayobe is during discovery of SSH
      known hosts. This happens if a host does not have an IP address
      configured on the admin (SSH) network. The failure looks like this:
      
      PLAY [Ensure known hosts are configured]
      **********************************************************************
      TASK [ssh-known-host : Scan for SSH keys]
      **********************************************************************
      failed: [compute0 -> localhost] (item=) => {"ansible_loop_var": "item",
          "changed": false, "cmd": ["ssh-keyscan"], "delta": "0:00:00.013855",
          "end": "2020-04-17 10:51:01.857855", "item": "", "msg": "non-zero
              return code", "rc": 1, "start": "2020-04-17 10:51:01.844000",
          "stderr": "usage: ssh-keyscan [-46cDHv] [-f file] [-p port] [-T
              timeout] [-t type]\n\t\t   [host | addrlist namelist]",
          "stderr_lines": ["u sage: ssh-keyscan [-46cDHv] [-f file] [-p port]
              [-T timeout] [-t type]", "\t\t   [host | addrlist namelist]"],
              "stdout": "", "stdout_lines": []}
      
      This happens when ansible_host is an empty string, typically because the
      host has no IP address defined in for the admin network in
      network-allocation.yml. This is very confusing for a new user. We should
      provide a more informative message.
      
      It's not exactly clear how a user gets to this point, since the
      ip-allocation.yml playbook runs before ssh-known-host.yml, which should
      populate network-allocation.yml.
      
      This change detects this failure mode and provides a message with
      information about how to resolve it.
      
      Change-Id: I564b6e4509a30dec7c49a23bb2f75d490be775ed
      Story: 2007566
      Task: 39456
      78909146
  10. Apr 22, 2020
  11. Apr 20, 2020
    • Radosław Piliszek's avatar
      Cleanup py27 support · 83bc574b
      Radosław Piliszek authored
      Removes and/or replaces all mentions of py27.
      
      Cleans up obsolete requirements and their lower-constraints.
      
      Update cliff minimum to 3.1.0 in requirements.txt, which has a fix for
      story 2005891.
      
      Change-Id: I52cffa2f1aee944f79c4618ea20b779755792f2a
      83bc574b
    • Mark Goddard's avatar
      Remove nameservers with any IP in overcloud resolv.conf workaround · dcd5159c
      Mark Goddard authored
      Kayobe has a workaround for CentOS cloud images which contain a bogus
      nameserver entry in /etc/resolv.conf. By setting
      overcloud_host_image_workaround_resolv_enabled to true, the entry would
      be removed. Previously we removed a specific IP address - 10.0.2.3 -
      that was present in the CentOS 7 images. However, it seems that CentOS 8
      images have a different IP - 192.168.122.1.
      
      This change fixes the issue and becomes resilient to future changes by
      matching any IP address. This should be fairly safe, since this
      workaround is opt-in.
      
      Change-Id: I9323a38cb2bb627ff56f5713900be00595ea8d4b
      Story: 2006574
      Task: 39484
      dcd5159c
    • Mark Goddard's avatar
      Fix passwords.yml generation with vault encryption on Python 3 · 8bed6235
      Mark Goddard authored
      Kayobe generates passwords.yml for Kolla Ansible, and can encrypt it
      using the vault password. Previously this was failing on Python 3 due to
      passing a string to file.write() which expects bytes.
      
      This change fixes the issue by encoding the password string passed to
      file.write().
      
      This allows us to run the ansible role tests under Python 3.
      
      Change-Id: I33813f79984a46f1967ef3aee455dcfbe7eb93da
      Story: 2006574
      Task: 39481
      8bed6235
  12. Apr 19, 2020
  13. Apr 17, 2020
  14. Apr 16, 2020
    • Mark Goddard's avatar
      Run kolla-ansible bootstrap-servers as kolla user · 40e43e23
      Mark Goddard authored
      Previously, Kayobe used Kolla Ansible's bootstrap-servers command to
      create a user account and Python virtual environment for Kolla Ansible.
      In order to do this it used the Kayobe Ansible user and Python
      interpreter.
      
      This causes problems for Ansible fact caching, which needs separate
      caches for Kayobe and Kolla Ansible, since the different users and
      Python interpreters used result in different facts. Bootstrapping
      servers with the Kayobe user and interpreter resulted in the Kolla
      Ansible fact cache being populated with Kayobe's user and interpreter.
      
      This change disables user creation during Kolla Ansible's
      bootstrap-servers command, instead creating the user and virtual
      environment in Kayobe prior to running the command. This allows the
      bootstrap-servers command to be executed using the normal Kolla Ansible
      user and interpreter, which results in the correct facts being gathered.
      
      The downside here is some duplication of code and configuration, but a
      nice side effect is that we no longer need to dump configuration in the
      CLI for host configure in order to fetch the Ansible user and
      interpreter.
      
      Change-Id: I85670be7242bc436f73c689f027670b0938ba031
      Story: 2007492
      Task: 39444
      40e43e23
    • Mark Goddard's avatar
      CI: Add overcloud host configure job · 92a437f6
      Mark Goddard authored
      Tests various non-default configuration:
      
      * Custom users
      * Network interfaces, VLANs, bridges, bonds
      * Software RAID
      * LVM & docker devicemapper
      * timezone
      * Package mirrors
      * yum-cron / DNF automatic
      
      This improved test coverage allows us to be more confident about these
      features working on CentOS 8.
      
      Change-Id: I36148e4356deb7d5ec00d8d3ebeb2d3932ff4f94
      Story: 2006574
      Task: 38938
      92a437f6
    • Mark Goddard's avatar
      Update inventory templates for Ussuri · e0932bd7
      Mark Goddard authored
      Sync with kolla-ansible multinode inventory.
      
      Change-Id: I30bd5286c4783fce544c41e726efc5f800d6f56a
      e0932bd7
  15. Apr 15, 2020
  16. Apr 09, 2020
Loading