Skip to content
Snippets Groups Projects
  1. Jun 04, 2018
    • wu.chunyang's avatar
      dev mode: Add support for ironic · 291c04c8
      wu.chunyang authored
      Allows users to develop on ironic using Kolla.
      
      Partially implements: blueprint mount-sources
      
      Change-Id: I74540f5bcbf723f097f3dea96dcaf067834c493a
      291c04c8
  2. May 25, 2018
    • Will Szumski's avatar
      Add support for enabling ipxe boot with ironic · 0a1ccc26
      Will Szumski authored
      When enable_ironic_ipxe is set in /etc/kolla/globals.yml,
      the following happens:
      
      - a new docker container, ironic_ipxe, is created. This contains
        an apache webserver used to serve up the boot images
      - ironic is configured to use ipxe
      
      Change-Id: I08fca1864a00afb768494406c49e968920c83ae7
      Implements: blueprint ironic-ipxe
      0a1ccc26
  3. May 16, 2018
    • Mark Goddard's avatar
      Fix missed kolla_action and kolla_serial · 2e190597
      Mark Goddard authored
      In change I78cb60168aaa40bb6439198283546b7faf33917c, action was changed
      to kolla_action, and serial to kolla_serial, to avoid Ansible warnings
      due to use of reserved keywords. In that change, some keywords were
      missed, and some changes that were merged since then have not switched
      to the new variables. This change fixes all current instances of those
      issues.
      
      Change-Id: I357dffdfcb2b405e280a962d366ee65eebf0a8d1
      Implements: blueprint migrate-to-ansible-2-2-0
      2e190597
  4. 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
  5. Apr 30, 2018
    • Paul Bourke's avatar
      Add cap NET_ADMIN for ironic_dnsmasq · c96fe414
      Paul Bourke authored
      
      When attempting to inspect a node with ironic, it seems at times
      ironic_dnsmasq fails to process dhcp bootp requests, giving the
      following error repeating:
      
      dnsmasq-dhcp: DHCPDISCOVER(eth0) 52:54:00:ff:15:55
      dnsmasq-dhcp: DHCPOFFER(eth0) 192.169.5.100 52:54:00:ff:15:55
      dnsmasq-dhcp: ARP-cache injection failed: Operation not permitted
      
      Adding NET_ADMIN fixes this.
      
      Co-Authored-By: default avatarMark Goddard <mark@stackhpc.com>
      Closes-Bug: #1762805
      Change-Id: I39acb81801710f849336380d3fde01c70cd8d8ce
      c96fe414
  6. Apr 28, 2018
  7. Apr 16, 2018
    • Jeffrey Zhang's avatar
      Remove useless module_extra_vars in registry.yml · 84ade4e1
      Jeffrey Zhang authored
      - remove uesless module_extra_vars, this is a historical issue. In the
        past, we use 'docker exec kolla_toolbox ansible xxx' to run module on
        target node, so complex data have to pass through extra_vars. Now we
        are using kolla_toolbox module, no need to use extra_vars anymore.
      - Remove some useless until.
      
      Change-Id: I72ed28001202917f9a82a1c3ea33cd6319911ec8
      84ade4e1
  8. Mar 19, 2018
  9. 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
  10. Jan 30, 2018
  11. Jan 23, 2018
    • Alexandru Bogdan Pica's avatar
      Implement external MariaDB and pre-configured Databases support · 8e3b7944
      Alexandru Bogdan Pica authored
      This change allows the following use cases:
      
      1. Using an already-configured MariaDB / MySQL server / Cluster
      2. Using already-created DB users, without requiring root DB access.
      
      Update: added external mariadb precheck
      
      Change-Id: I78b0d178306d7c5293b0bf53e445f19f18b4b824
      Implements: blueprint external-mariadb-support.
      Closes-Bug: #1603121
      8e3b7944
  12. Jan 22, 2018
  13. Jan 13, 2018
  14. 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
  15. Dec 08, 2017
  16. Oct 20, 2017
    • Jeffrey Zhang's avatar
      Remove check flat network type task in ironic pre-check.yml · 175c65e4
      Jeffrey Zhang authored
      flat network type is not mandatory. There are two cases,
      
      1. ironic with flat network: we can use neutron vlan network to
         provision baremetal nodes, as long as the interface of the baremetal
         nodes are configured to use the same vlan.
      
      2. ironic with neutron network: all provision and cleaning_network can
         be vlan type and no flat is needed at all.
      
      So we should remove the task.
      
      Change-Id: I176ded6d2a8b14e350f665f63bc37eb488d32679
      Closes-Bug: #1725170
      175c65e4
  17. Oct 05, 2017
    • Eduardo Gonzalez's avatar
      Fix deployment with public TLS enabled · 56374206
      Eduardo Gonzalez authored
      When deploying with tls enabled in public
      endpoints, ansible modules fails due SSL certificates
      are self-signed.
      
      This change adds a new variable to allow customization
      on which endpoints ansible should connect.
      Defaults to admin because admin auth parameters defaults
      to admin endpoint.
      
      Change-Id: Ic3ed58cf9c9579cae08a11bbfe6fce983b5a9cbc
      Closes-Bug: #1720995
      56374206
  18. Sep 13, 2017
    • Bertrand Lallau's avatar
      Simplify Openstack services configuration possibilities · a3dfdfc0
      Bertrand Lallau authored
      Actually Openstack services configuration can be overriden using many
      files:
      - /etc/kolla/config/<< service name >>/<< config file >>
      - /etc/kolla/config/<< service name >>/<<host>>/<< config file >>
      - /etc/kolla/config/global.conf
      - /etc/kolla/config/database.conf
      - /etc/kolla/config/messaging.conf
      
      Only per-service configuration is actually documented here:
      https://github.com/openstack/kolla-ansible/blob/master/doc/advanced-configuration.rst#L164
      
      Allowing to globally modify service configuration can be perform too,
      but it can be done in 3 different manners, all not documented:
      - /etc/kolla/config/global.conf
      - /etc/kolla/config/database.conf
      - /etc/kolla/config/messaging.conf
      
      database.conf and messaging.conf seems redundant with global.conf.
      In order to simplify codebase it seems logical to remove them.
      
      Documentation has been added for overriding configuration globally and
      release note has been added too.
      
      Closes-Bug: #1682479
      Change-Id: I5d922dfc0d938173bad34ac64e490b78db1b7e31
      a3dfdfc0
  19. Sep 04, 2017
    • John Garbutt's avatar
      Fix typo in ironic prechecks · d9a11a3a
      John Garbutt authored
      Before this change ironic prechecks failed with the error:
      'tenant_network_types' is undefined
      
      This problem appears to have been introduced in:
      296ddbeb
      
      Closes-Bug: #1714946
      
      Change-Id: I609ae20c4558370a0a8c4c316cd47cbd1d086331
      d9a11a3a
  20. Jul 19, 2017
    • Flavio Percoco's avatar
      Allow for running standalone Ironic w/o keystone · bbe9d418
      Flavio Percoco authored
      The Ironic templates and roles assume Keystone is enabled and they don't
      make use of the `enable_keystone var. This patch changes the behavior so
      that `noauth` is used as auth method for Ironic if keystone is not
      enabled, the Ironic endpoint is not registered if keystone is not
      enabled and the keystone section is not created in the config file.
      
      Change-Id: I813de42d10ac264eec81076cb107b58af09ff686
      bbe9d418
    • Mark Goddard's avatar
      Make Ironic inspector honour inventory · 922eb494
      Mark Goddard authored
      Ironic inspector should honour the Ansible inventory group
      ironic-inspector. Ironic inspector may not be required at all. If
      Ironic inspector is required then it should only run on a single
      node, and this should be reflected by the inventory.
      
      This change makes a number of Ironic inspector-related tasks dependent
      upon the host's membership of the ironic-inspector group. Also, we
      couple the ironic-dnsmasq container with the ironic-inspector group
      rather than ironic-conductor, as the service is for inspector rather
      than Ironic.
      
      Change-Id: Ifd90753b0fe1a55c11b7723c28e1d14ab3d32737
      Closes-Bug: #1665257
      922eb494
  21. Jul 18, 2017
  22. Jul 05, 2017
    • Bertrand Lallau's avatar
      Avoid launching "local" actions too many times · a9113fc4
      Bertrand Lallau authored
      In order to speed up deployment time some "local" actions should be run
      only once using 'run_once: True'.
      This will decrease deployment time in case of multihost configuration.
      
      Change-Id: I6015d772d35c15e96c52f577013b6e41197cb41a
      a9113fc4
  23. Jun 21, 2017
    • Vladislav Belogrudov's avatar
      Add possibility to configure tenant network types and type drivers · 296ddbeb
      Vladislav Belogrudov authored
      This patch add configuration options for tenant network types and type
      drivers. Both lists are checked so that tenant types are listed in
      drivers. For ironic 'flat' driver is mandatory and is added explicitly
      into ironic prechecks.
      
      Change-Id: Ie5775001165412910a258cbed2d2ebbb8ebbd879
      Closes-Bug: #1694725
      296ddbeb
  24. Jun 20, 2017
    • caoyuan's avatar
      Fix the database user name for all roles · 36c530f9
      caoyuan authored
      when create database user, it should use
      database_user, not database_name.
      
      Change-Id: I4dfa01d1a5a46c5c58f1fc47b0be71b186462764
      Closes-Bug: #1698762
      36c530f9
  25. Jun 15, 2017
    • Jeffrey Zhang's avatar
      Use unified vars in task · 03e1b05f
      Jeffrey Zhang authored
      Ansible task support vars directive, no need implement another one in
      merge_config. This patch remove the vars directive in merge_config
      action plugin.
      
      Change-Id: I33648a2b6e39b4d49ce76eb66fbf2522721f8c68
      03e1b05f
  26. May 23, 2017
  27. May 04, 2017
    • Jeffrey Zhang's avatar
      Add timeout parameter for precheck tasks · b1f01561
      Jeffrey Zhang authored
      wait_for module waits 300 seconds for the port started or stopped.  This
      is meaningless and useless in precheck. This patch change timeout to 1
      seconds.
      
      Change-Id: I9b251ec4ba17ce446655917e8ef5e152ef947298
      Closes-Bug: #1688152
      b1f01561
  28. Mar 13, 2017
    • Jeffrey Zhang's avatar
      Mount /lib/modules folder in ironic-conductor container · 411fdb90
      Jeffrey Zhang authored
      /lib/modules is required for load kernel module. ironic-conductor
      will load iscsi_tcp kernel module during starting.
      
      Change-Id: Id953638f68e0fa1c268f173e3dd9b3390598bd93
      Closes-Bug: #1672245
      Depends-On: I1dd7d1a8cd67bbdfc1262b39aa96997c12681900
      411fdb90
  29. 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
  30. Mar 01, 2017
  31. Feb 27, 2017
  32. Feb 24, 2017
  33. Feb 22, 2017
    • Mark Goddard's avatar
      ironic_pxe bootstrap should run on all hosts · aa8215c5
      Mark Goddard authored
      Most bootstrap actions use the run_once flag to run on a single host
      as they typically involve service-global operations such as database
      syncs. The ironic_pxe container bootstrap is different, as it copies
      pxelinux files into the ironic_pxe Docker volume. This should be done
      on all hosts but currently is only done on one host.
      
      This change performs the ironic_pxe bootstrap on all hosts in the
      ironic-pxe group.
      
      Change-Id: Iffd34e6ff26a0ba5140e5d477418cc8aebcdac62
      Closes-Bug: #1667153
      aa8215c5
    • Mark Goddard's avatar
      ironic-dnsmasq should use ironic-inspector group · c37c1a58
      Mark Goddard authored
      The ironic_dnsmasq container is currently tied to the ironic-conductor
      Ansible group. It is required only for Ironic inspector and should
      really either be tied to the ironic-inspector group or have a new
      ironic-dnsmasq group defined for it. This problem means that if all
      hosts are removed from the ironic-inspector group I will still have an
      ironic_dnsmasq container deployed.
      
      This change uses the ironic-inspector group to determine where to place
      the ironic_dnsmasq container.
      
      Change-Id: I6af3f402795107b8b9d7a1619722f12cbf496257
      Closes-Bug: #1666982
      c37c1a58
    • Mark Goddard's avatar
      ironic_dnsmasq doesn't support reconfiguration · 156b317c
      Mark Goddard authored
      Currently the ironic_dnsmasq container does not support
      reconfiguration. This change adds support for reconfiguration of
      ironic_dnsmasq.
      
      Change-Id: I7f121dca7d32e0b28c7531378dd0eef03ae4f1ce
      Closes-Bug: #1667090
      156b317c
  34. Feb 17, 2017
  35. Feb 06, 2017
  36. Feb 04, 2017
Loading