Skip to content
Snippets Groups Projects
  1. Mar 22, 2019
    • Mark Goddard's avatar
      Fix booting instances after nova-compute upgrade · 192dcd1e
      Mark Goddard authored
      After upgrading from Rocky to Stein, nova-compute services fail to start
      new instances with the following error message:
      
      Failed to allocate the network(s), not rescheduling.
      
      Looking in the nova-compute logs, we also see this:
      
      Neutron Reported failure on event
      network-vif-plugged-60c05a0d-8758-44c9-81e4-754551567be5 for instance
      32c493c4-d88c-4f14-98db-c7af64bf3324: NovaException: In shutdown, no new
      events can be scheduled
      
      During the upgrade process, we send nova containers a SIGHUP to cause
      them to reload their object version state. Speaking to the nova team in
      IRC, there is a known issue with this, caused by oslo.service performing
      a full shutdown in response to a SIGHUP, which breaks nova-compute.
      There is a patch [1] in review to address this.
      
      The workaround employed here is to restart the nova compute service.
      
      [1] https://review.openstack.org/#/c/641907
      
      Change-Id: Ia4fcc558a3f62ced2d629d7a22d0bc1eb6b879f1
      Closes-Bug: #1821362
      192dcd1e
    • Mark Goddard's avatar
      Update openstack_previous_release_name to rocky · 98df4dd8
      Mark Goddard authored
      This is used for version pinning during rolling upgrades.
      
      Change-Id: I6e878a8f7c9e0747d8d60cb4527c5f8f039ec15a
      98df4dd8
  2. Mar 21, 2019
  3. Mar 19, 2019
  4. Mar 18, 2019
  5. Mar 16, 2019
  6. Mar 15, 2019
  7. Mar 14, 2019
  8. Mar 13, 2019
  9. Mar 11, 2019
  10. Mar 10, 2019
    • Maciej Kucia's avatar
      cmd: Extract methods to allow import from external · 89e91b69
      Maciej Kucia authored
      
      When methods for passwords generation and merge are
      extracted then external apps and scripts can use
      those methods without resolving to subprocess execution
      or injecting sys.argv.
      
      Change-Id: I99aff7852180534129fa36859075306eea776ba9
      Signed-off-by: default avatarMaciej Kucia <maciej@kucia.net>
      89e91b69
    • Victor Coutellier's avatar
      Fix kolla-docker possible undefined variable · 3bb4c199
      Victor Coutellier authored
      It is possible to reference undefined variable in kolla-docker module if
      DockerWorker object initialization fail, so the current behaviour will
      crash the playbook with the unwanted error message :
      
      UnboundLocalError: local variable 'dw' referenced before assignment
      
      Change-Id: Ic8d26b11f93255220888b5406f8ab4a6f81736c2
      Closes-Bug: #1819361
      3bb4c199
  11. Mar 09, 2019
    • Duong Mai's avatar
      Edit ansible script for deploy kibana · 25194516
      Duong Mai authored
      Kibana deployment failed becaused of kibana_confs variable does not have attribute key,
      So handlers failed to check conditional kibana_conf.changed | bool becaused of
      kibana_confs.results|selectattr(item.key) does not exits.
      
      Change variable name kibana_confs to kibana_conf.
      
      Change-Id: If5e0a25b270a6f05c435a6dc32e2ac49406389c5
      Closes-Bug: #1819246
      25194516
  12. Mar 08, 2019
    • Mark Goddard's avatar
      Fix bootstrap-servers on Ansible 2.6+ · 1b535359
      Mark Goddard authored
      Recently as part of adding support for Docker CE we added the following
      task to the baremetal role:
      
      - name: Update yum cache
        yum:
          update_cache: yes
        become: True
        when: ansible_os_family == 'RedHat'
      
      This works fine on Ansible 2.5, but no longer works on Ansible
      2.6, which complains that either the 'name' or 'list' argument
      is mandatory for the yum module.
      
      This change updates the cache later on, when installing packages.
      
      Change-Id: I1a158bda52c4e362cb12d361d7f961cfc699b385
      Closes-Bug: #1819173
      1b535359
Loading