Skip to content
Snippets Groups Projects
  1. Jul 06, 2020
  2. Jul 05, 2020
  3. Jul 03, 2020
    • Pierre Riteau's avatar
      Remove policy file from nova-conductor config.json template · c40e8065
      Pierre Riteau authored
      Change I810aad7d49db3f5a7fd9a2f0f746fd912fe03917 for supporting multiple
      Nova cells updated the list of containers that require a policy file to
      only include nova-api, nova-compute, and nova-compute-ironic.
      
      The nova-conductor config.json template was left unchanged and fails to
      copy the nova policy file into its container. This can be seen on a
      fresh deployment, but might be missed on an upgrade if an older policy
      file is still available in /etc/kolla/nova-conductor.
      
      This commit removes the nova_policy_file block from the nova-conductor
      config.json template, as it shouldn't be required.
      
      Backport: ussuri, train
      Change-Id: I17256b182d207aeba3f92c65a6d7cf3611180558
      Closes-Bug: #1886170
      c40e8065
  4. Jul 02, 2020
  5. Jul 01, 2020
    • Radosław Piliszek's avatar
      Make ES Curator schedule multinode-friendly · b82eb1b3
      Radosław Piliszek authored
      In the spirit of Kolla-Ansible, we generally try to provide
      workable defaults.
      The default for Elasticsearch curator schedule was fine except for
      multinode deploys where it would cause all nodes to run at the
      same time producing broken runs (race condition in the get-delete
      cycle).
      It is easy to improve this situation by embracing poor-man's
      reimplementation of keystone's fernet key rotation schedule.
      ES Curator does not need all the complexity of the former so it
      can be handled very well by shifting by as many hours as the
      instance's index dictates. It should rarely if ever need more time
      (most likely still in minutes range rather than hours).
      
      Change-Id: I9d6758c8550308d13d936de1a14afbe4124e593b
      b82eb1b3
    • Stig Telfer's avatar
      Syntax error in Fluentd Monasca output config · 6c1ce76b
      Stig Telfer authored
      
      Resolve trivial syntax error in Fluentd output config for Monasca.
      
      Change-Id: I20b37bb83a76bfabb1126925a1b4f1f59767b7a3
      Co-Authored-By: default avatarSebastian Luna Valero <sebastian.luna.valero@gmail.com>
      Closes-Bug: #1885873
      6c1ce76b
    • Bharat Kunwar's avatar
      Use public interface for Magnum client and trustee Keystone interface · 78bb5942
      Bharat Kunwar authored
      While all other clients should use internalURL, the Magnum client itself
      and Keystone interface for trustee credentials should be publicly
      accessible (upstream default when no config is specified) since
      instances need to be able to reach them.
      
      Closes-Bug: #1885420
      Change-Id: I74359cec7147a80db24eb4aa4156c35d31a026bf
      78bb5942
  6. Jun 30, 2020
    • Radosław Piliszek's avatar
      Fix the Elasticsearch Curator cron schedule run · 852c7a32
      Radosław Piliszek authored
      There were two issues with it. Lack of /usr/local/bin in PATH
      for CentOS and wrong crontab path for Ubuntu/Debian.
      This patch mirrors how it is handled in keystone.
      
      Change-Id: Ib54b261e12c409d66b792648807646015826e83c
      Closes-Bug: #1885732
      852c7a32
  7. Jun 29, 2020
  8. Jun 27, 2020
    • James Kirsch's avatar
      Fix etcd protocol configuration · a1584322
      James Kirsch authored
      The etcd service protocol is currently configured with internal_protocol.
      The etcd service is not load balanced by a HAProxy container, so
      there is no proxy layer to do TLS termination when internal_protocol
      is configured to be "https".
      
      Until the etcd service is configured to deploy with native TLS
      termination, the etcd uses should be independent of
      internal_protocol, and "http" by default.
      
      Change-Id: I730c02331514244e44004aa06e9399c01264c65d
      Closes-Bug: 1884137
      a1584322
  9. Jun 26, 2020
  10. Jun 25, 2020
    • Michal Nasiadka's avatar
      openvswitch: Use ansible_hostname for system-id · cecdb6a1
      Michal Nasiadka authored
      Currently openvswitch sets system-id based on inventory_hostname, but when
      Ansible inventory contains ip addresses - then it will only take first ip
      octet - resulting in multiple OVN chassis being named i.e. "10".
      Then Neutron and OVN have problems functioning, because a chassis named "10"
      will be created and deleted multiple times per second - this ends up in
      ovsdb and neutron-server processes using up to 100% CPU.
      
      Adding openvswitch role to ovn CI job triggers.
      
      Change-Id: Id22eb3e74867230da02543abd93234a5fb12b31d
      Closes-Bug: #1884734
      cecdb6a1
    • Mark Goddard's avatar
      Verify TLS by default for Kibana to Elasticsearch · e91fd969
      Mark Goddard authored
      Currently, if internal TLS communication is enabled, Kibana to
      Elasticsearch communication is unverified. This is because we set
      elasticsearch.ssl.verificationMode to 'none' by default (via
      kibana_elasticsearch_ssl_verify). This is poor a security
      posture.
      
      This change changes the default value of
      'kibana_elasticsearch_ssl_verify' to 'true'.
      
      Change-Id: Ie4fa8e3a60d69cf5c4bdd975030c92be8113ffb1
      Closes-Bug: #1885110
      e91fd969
    • Mark Goddard's avatar
      Support CA certificate for fluentd & Elasticsearch · 31f3f848
      Mark Goddard authored
      Currently there is no way to configure a CA certificate bundle file for
      fluentd to Elasticsearch communication. This change adds a new variable,
      'fluentd_elasticsearch_cacert' with a default value set to the value of
      'openstack_cacert.
      
      Closes-Bug: #1885109
      
      Change-Id: I5bbf55a4dd4ccce9fa2635cee720139c088268e3
      31f3f848
    • Michal Nasiadka's avatar
      Change neutron-ovs-agent deploy only with manila generic backend · c4c3ceca
      Michal Nasiadka authored
      Change openvswitch & neutron-openvswitch-agent to deploy only
      with manila generic backend - which uses ovs-vsctl functionality
      when configuring share servers.
      
      Change-Id: I124108cda62b38ea498612ff9ddb07d6122a330c
      Closes-Bug: #1884939
      c4c3ceca
    • Bharat Kunwar's avatar
      Use internalURL endpoint_type for all clients used by Magnum · eb24945d
      Bharat Kunwar authored
      Magnum, Cinder and Octavia clients in Magnum now use endpoint_type of
      internalURL by default consistent with other clients also used by the
      conductor. Additionally, they also use the globally defined
      `openstack_region_name` for region_name.
      
      Closes-Bug: #1885096
      
      Change-Id: Ibec511013760cc4f681a2ec1b769b532be3daf2d
      eb24945d
    • Pierre Riteau's avatar
      Fix Magnum trust operations in multi-region clouds · dda9a146
      Pierre Riteau authored
      Change-Id: I7214ef38ea529f7585d7a0c75b8b0498ea4c58a2
      Closes-Bug: #1885078
      dda9a146
  11. Jun 24, 2020
  12. Jun 22, 2020
    • wu.chunyang's avatar
      nova-cell role clone failed · a9c94aee
      wu.chunyang authored
      when enable kolla_dev_mod, nova-cell role clones code failed,
      because we use nova-cell repository which is not exists.
      in fact, nova-cell role should use nova repository too
      
      Change-Id: I7fa62726d0d5b0aeb3bd5fa06dc0e59667f94fa0
      a9c94aee
  13. Jun 20, 2020
  14. Jun 19, 2020
  15. Jun 18, 2020
    • wu.chunyang's avatar
      Add support of octavia dev mod · 36b93dd6
      wu.chunyang authored
      Similarly to other OpenStack services octavia should support
      kolla dev mod for debugging.
      
      Change-Id: I81b79dc0a4c5e40a67af7120a4109dfe11098a97
      36b93dd6
    • Doug Szumski's avatar
      Revert rename of Monasca API config file · de84b33e
      Doug Szumski authored
      I9b6bf5b6690f4b4b3445e7d15a40e45dd42d2e84 was updated to use the original
      config file name during review, but the config file was not renamed
      accordingly. The result is that an empty config file is written out.
      
      TrivialFix
      Change-Id: I5d0384b38ddb38133e5e11df85d8cf76f4044a64
      de84b33e
  16. Jun 16, 2020
    • gugug's avatar
      Clean up the unnecessary "" for include_tasks · f220970d
      gugug authored
      The double quotation is not necessary for include_tasks, this
      ps to cleanup it.
      
      Change-Id: I0701035d185fdf19286cced7fe51fc277511e4c1
      f220970d
    • Xing Zhang's avatar
      Switch octavia to use service project in service_auth · c2037885
      Xing Zhang authored
      Recently a patch [1] was merged to stop adding the octavia user to the
      admin project, and remove it on upgrade. However, the octavia
      configuration was not updated to use the service project, causing load
      balancer creation to fail.
      
      There is also an issue for existing deployments in simply switching to
      the service project. While existing load balancers appear to continue to
      work, creating new load balancers fails due to the security group
      belonging to the admin project. At a minimum, the deployer needs to
      create a security group in the service project, and update
      'octavia_amp_secgroup_list' to match its ID. Ideally the flavor and
      network would also be recreated in the service project, although this
      does not seem to impact operation and will result in downtime for
      existing Amphorae.
      
      This change adds a new variable, 'octavia_service_auth_project', that
      can be used to set the project. The default in Ussuri is 'service',
      switching to the new behaviour. For backports of this patch it should be
      switched to 'admin' to maintain compatibility.
      
      If a deployer sets 'octavia_service_auth_project' to 'admin', the
      octavia user will be assigned the admin role in the admin project, as
      was done previously.
      
      Closes-Bug: #1882643
      Related-Bug: #1873176
      
      [1] https://review.opendev.org/720243/
      
      
      
      Co-Authored-By: default avatarMark Goddard <mark@stackhpc.com>
      
      Change-Id: I1efd0154ebaee69373ae5bccd391ee9c68d09b30
      c2037885
    • James Kirsch's avatar
      Replace internal and external VIP CA with root CA · e3cd02ed
      James Kirsch authored
      Replaced "kolla_external_fqdn_cacert" and "kolla_internal_fqdn_cacert" with
      "kolla_admin_openrc_cacert". OS_CACERT is now set to the value of
      "kolla_admin_openrc_cacert" in the generated admin-openrc.sh file.
      
      Change-Id: If195d5402579cee9a14b91f63f5fde84eb84cccf
      Partially-Implements: blueprint add-ssl-internal-network
      Depends-On: https://review.opendev.org/#/c/731344/
      e3cd02ed
  17. Jun 15, 2020
    • James Kirsch's avatar
      Generate Root CA for Self-Signed Certificates · a982d3ac
      James Kirsch authored
      Update the certificate generation task to create a root CA for the
      self-signed certificates. The internal and external facing certificates
      are then generated using the root CA.
      
      Updated openstack_cacert to use system CA trust store in CI tests
      certificate by default.
      
      Change-Id: I6c2adff7d0128146cf086103ff6060b0dcefa37b
      Partially-Implements: blueprint add-ssl-internal-network
      a982d3ac
    • Mark Goddard's avatar
      Remove max count from Cinder online schema migration · 55c0787d
      Mark Goddard authored
      During an upgrade from Stein to Train, Kolla Ansible fails while running
      TASK [cinder : Running Cinder online schema migration]
      
      This is because the `--max_count 10` option is used, which returns 1
      while migrations are processed. According to the upgrade documentation,
      the command should be rerun while the exit status is 1:
      https://docs.openstack.org/cinder/train/upgrade.html
      
      This issue was introduced by a change to the image [1] which fixed a bug
      in the way that the max count was interpreted, but exposed an issue in
      using the max count.
      
      This change fixes the issue by ceasing to pass MAX_NUMBER, which will
      cause all migrations to occur in a single pass.
      
      [1] https://review.opendev.org/#/c/712055
      
      Change-Id: Ia786d037f5484f18294188639c956d4ed5ffbc2a
      Closes-Bug: #1880753
      55c0787d
    • gugug's avatar
      Remove mongodb supported for panko backend · 7ae99328
      gugug authored
      more info: https://opendev.org/openstack/kolla-ansible/commit/a6c97d7284c7de437ebfc9f8ee289244f29e65d7
      
      
      
      Change-Id: I44850d6bb77fec33aa93e1b523eadfe0ef9483a8
      Co-Authored-By: default avatarjacky06 <zhang.min@99cloud.net>
      7ae99328
    • Mark Goddard's avatar
      Fix prometheus-elasticsearch-exporter flags · 96a1ce19
      Mark Goddard authored
      The flag -es.uri is no longer accepted - it should be --es.uri.
      Similarly with -web.listen-address. The following error is seen:
      
          elasticsearch_exporter: error: unknown short flag '-e', try --help
      
      This change switches to double dashed long options.
      
      Change-Id: I039f4cad970352146462450742056f5990a81b06
      Closes-Bug: #1880242
      96a1ce19
    • Michal Arbet's avatar
      Remove chrony package if containerized chrony is enabled · 3d747b72
      Michal Arbet authored
      This patch is removing chrony package
      from docker host when containerized chrony is enabled.
      It is also fixing issue with chrony container running
      under Ubuntu docker host as noted below.
      
      + exec /usr/sbin/chronyd -d -f /etc/chrony/chrony.conf
      2020-06-08T08:19:09Z chronyd version 3.4 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +SECHASH +IPV6 -DEBUG)
      2020-06-08T08:19:09Z Fatal error : Could not open configuration file /etc/chrony/chrony.conf : Permission denied
      
      Added also removal apparmor profile for ubuntu when
      containerized chrony is enabled, as chrony's package
      is not removing apparmor profile, and therefore
      containerized chrony is not working.
      
      Change-Id: Icf3bbae38b9f5630b69d5c8cf6a8bee11786a836
      Closes-Bug: #1882513
      3d747b72
    • Radosław Piliszek's avatar
      Fix Grafana datasource update · 7bd88050
      Radosław Piliszek authored
      Grafana changed the error message wording.
      Match on the shortest sane string to play it safe.
      
      Change-Id: Ic175ebdb1da6ef66047309ff07bcbba98fc67008
      Closes-Bug: #1881890
      7bd88050
    • Radosław Piliszek's avatar
      Fix issues with Prometheus config generation · d86f8ab9
      Radosław Piliszek authored
      related to newly introduced merge mechanism.
      1) Per-host overrides cannot be run_once.
      2) Since merge_yaml is silent about missing files, it ignored
         the fact that no proper file was given due to wrong variable
         being referenced (see the closed bug).
      
      Change-Id: I6db4af4c6e3364838bdae510f300038b0c1560b0
      Closes-Bug: #1882460
      d86f8ab9
    • wu.chunyang's avatar
      fix deploy nova failed when use kolla_dev_mod · 40096b48
      wu.chunyang authored
      There's a logic error here, we call nova role from nova.yml file
      under ansible folder. we should clone code before run
      bootstrap_service task. if not, /opt/stack/nova which is empty
      will mount to nova_api container.
      
      Change-Id: Icc54c15080db9c2dc92709480e00b990e5a88662
      40096b48
    • gugug's avatar
      Remove nova-consoleauth task in U cycle · 2ebd6201
      gugug authored
      planned task removal
      
      Change-Id: I613794667b8c08f524a69e7e3f447b2217efb3f7
      2ebd6201
  18. Jun 11, 2020
    • Michal Arbet's avatar
      Fix group_vars and cinder template per documentation · f1addfa3
      Michal Arbet authored
      When installing kolla with external ceph, ceph_cinder_user
      var has to be set per documentation instead of ceph_cinder_volume_user.
      This value is also rendered in example etc/kolla/globals.yml file.
      
      This patch is fixing this bug or, let's say typo.
      
      Change-Id: Id82b07867f4bc0e5d5e56363f0122014df6892bc
      f1addfa3
Loading