Skip to content
Snippets Groups Projects
  1. Sep 06, 2019
    • Mark Goddard's avatar
      Add [nova] section to ironic.conf · 8489a753
      Mark Goddard authored
      In the Train cycle, ironic added a [nova] section to its configuration.
      This is used to configure access to Nova API, for sending power state
      callbacks.
      
      This change adds the [nova] section to ironic.conf.
      
      Change-Id: Ib891af1db2a2c838c887e858ea0721f5e6a4fab0
      Closes-Bug: #1843070
      8489a753
    • Mark Goddard's avatar
      Fix removed and deprecated options in ironic.conf · 3da05319
      Mark Goddard authored
      The ironic configuration in ironic.conf uses several options which have
      been removed in the Train cycle:
      
      [glance] glance_api_servers was removed in https://review.opendev.org/#/c/665929.
      [neutron] url was removed in https://review.opendev.org/#/c/672971.
      
      We should use the endpoint catalog instead of specifying the endpoint
      for both of these, and also ironic inspector. region_name and
      valid_interfaces have been added for that purpose.
      
      Other options are deprecated.
      
      [conductor] api_url: Use [service_catalog] section to lookup ironic API
      endpoint instead.
      
      [inspector] enabled: No longer used.
      
      Change-Id: If07c4ff9bfea7d780aeff5c3295a0ace7d10ecdc
      Closes-Bug: #1843067
      3da05319
  2. Aug 29, 2019
  3. Aug 15, 2019
    • Rafael Weingärtner's avatar
      Standardize the configuration of "oslo_messaging" section · 22a6223b
      Rafael Weingärtner authored
      After all of the discussions we had on
      "https://review.opendev.org/#/c/670626/2", I studied all projects that
      have an "oslo_messaging" section. Afterwards, I applied the same method
      that is already used in "oslo_messaging" section in Nova, Cinder, and
      others. This guarantees that we have a consistent method to
      enable/disable notifications across projects based on components (e.g.
      Ceilometer) being enabled or disabled. Here follows the list of
      components, and the respective changes I did.
      
      * Aodh:
      The section is declared, but it is not used. Therefore, it will
      be removed in an upcomming PR.
      
      * Congress:
      The section is declared, but it is not used. Therefore, it will
      be removed in an upcomming PR.
      
      * Cinder:
      It was already properly configured.
      
      * Octavia:
      The section is declared, but it is not used. Therefore, it will
      be removed in an upcomming PR.
      
      * Heat:
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Ceilometer:
      Ceilometer publishes some messages in the rabbitMQ. However, the
      default driver is "messagingv2", and not ''(empty) as defined in Oslo;
      these configurations are defined in ceilometer/publisher/messaging.py.
      Therefore, we do not need to do anything for the
      "oslo_messaging_notifications" section in Ceilometer
      
      * Tacker:
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Neutron:
      It was already properly configured.
      
      * Nova
      It was already properly configured. However, we found another issue
      with its configuration. Kolla-ansible does not configure nova
      notifications as it should. If 'searchlight' is not installed (enabled)
      the 'notification_format' should be 'unversioned'. The default is
      'both'; so nova will send a notification to the queue
      versioned_notifications; but that queue has no consumer when
      'searchlight' is disabled. In our case, the queue got 511k messages.
      The huge amount of "stuck" messages made the Rabbitmq cluster
      unstable.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1478274
      https://bugs.launchpad.net/ceilometer/+bug/1665449
      
      * Nova_hyperv:
      I added the same configurations as in Nova project.
      
      * Vitrage
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Searchlight
      I created a mechanism similar to what we have in AODH, Cinder, Nova,
      and others.
      
      * Ironic
      I created a mechanism similar to what we have in AODH, Cinder, Nova,
      and others.
      
      * Glance
      It was already properly configured.
      
      * Trove
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Blazar
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Sahara
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Watcher
      I created a mechanism similar to what we have in AODH, Cinder, Nova,
      and others.
      
      * Barbican
      I created a mechanism similar to what we have in Cinder, Nova,
      and others. I also added a configuration to 'keystone_notifications'
      section. Barbican needs its own queue to capture events from Keystone.
      Otherwise, it has an impact on Ceilometer and other systems that are
      connected to the "notifications" default queue.
      
      * Keystone
      Keystone is the system that triggered this work with the discussions
      that followed on https://review.opendev.org/#/c/670626/2
      
      . After a long
      discussion, we agreed to apply the same approach that we have in Nova,
      Cinder and other systems in Keystone. That is what we did. Moreover, we
      introduce a new topic "barbican_notifications" when barbican is
      enabled. We also removed the "variable" enable_cadf_notifications, as
      it is obsolete, and the default in Keystone is CADF.
      
      * Mistral:
      It was hardcoded "noop" as the driver. However, that does not seem a
      good practice. Instead, I applied the same standard of using the driver
      and pushing to "notifications" queue if Ceilometer is enabled.
      
      * Cyborg:
      I created a mechanism similar to what we have in AODH, Cinder, Nova,
      and others.
      
      * Murano
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Senlin
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Manila
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Zun
      The section is declared, but it is not used. Therefore, it will
      be removed in an upcomming PR.
      
      * Designate
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      * Magnum
      It was already using a similar scheme; I just modified it a little bit
      to be the same as we have in all other components
      
      Closes-Bug: #1838985
      
      Change-Id: I88bdb004814f37c81c9a9c4e5e491fac69f6f202
      Signed-off-by: default avatarRafael Weingärtner <rafael@apache.org>
      22a6223b
  4. Mar 06, 2019
    • Jim Rollenhagen's avatar
      Allow ironic services to use independent hostnames · d1d1837c
      Jim Rollenhagen authored
      This allows ironic service endpoints to use custom hostnames, and adds the
      following variables:
      
      * ironic_internal_fqdn
      * ironic_external_fqdn
      * ironic_inspector_internal_fqdn
      * ironic_inspector_external_fqdn
      
      These default to the old values of kolla_internal_fqdn or
      kolla_external_fqdn.
      
      This also adds ironic_api_listen_port and ironic_inspector_listen_port
      options, which default to ironic_api_port and ironic_inspector_port for
      backward compatibility.
      
      These options allow the user to differentiate between the port the
      service listens on, and the port the service is reachable on. This is
      useful for external load balancers which live on the same host as the
      service itself.
      
      Change-Id: I45b175e85866b4cfecad8451b202a5a27f888a84
      Implements: blueprint service-hostnames
      d1d1837c
    • Jim Rollenhagen's avatar
      Use keystone_*_url var in all configs · 2e4e6050
      Jim Rollenhagen authored
      We're duplicating code to build the keystone URLs in nearly every
      config, where we've already done it in group_vars. Replace the
      redundancy with a variable that does the same thing.
      
      Change-Id: I207d77870e2535c1cdcbc5eaf704f0448ac85a7a
      2e4e6050
  5. Feb 22, 2019
    • Mark Goddard's avatar
      Improve standalone ironic support · 54965c87
      Mark Goddard authored
      Adds a new flag, 'enable_openstack_core', which defaults to 'yes'.
      Setting this flag to 'no' will disable the core OpenStack services,
      including Glance, Heat, Horizon, Keystone, Neutron, and Nova.
      
      Improves the default configuration of OpenStack Ironic when used in
      standalone mode. In particular, configures a noauth mode when Keystone
      is disabled, and allows the iPXE server to be used for provisioning as
      well as inspection if Neutron is disabled.
      
      Documentation for standalone ironic will be updated separately.
      
      This patch was developed and tested using Bikolla [1].
      
      [1] https://github.com/markgoddard/bikolla
      
      Change-Id: Ic47f5ad81b8126a51e52a445097f7950dba233cd
      Implements: blueprint standalone-ironic
      54965c87
  6. Feb 08, 2019
    • Jim Rollenhagen's avatar
      Allow neutron services to use independent hostnames · 255fff02
      Jim Rollenhagen authored
      This allows neutron service endpoints to use custom hostnames, and adds the
      following variables:
      
      * neutron_internal_fqdn
      * neutron_external_fqdn
      
      These default to the old values of kolla_internal_fqdn or
      kolla_external_fqdn.
      
      This also adds a neutron_server_listen_port option, which defaults to
      neutron_server_port for backward compatibility.
      
      This option allow the user to differentiate between the port the
      service listens on, and the port the service is reachable on. This is
      useful for external load balancers which live on the same host as the
      service itself.
      
      Change-Id: I87d7387326b6eaa6adae1600b48d480319d10676
      Implements: blueprint service-hostnames
      255fff02
    • Jim Rollenhagen's avatar
      Allow glance services to use independent hostnames · a819ef12
      Jim Rollenhagen authored
      This allows glance service endpoints to use custom hostnames, and adds the
      following variables:
      
      * glance_internal_fqdn
      * glance_external_fqdn
      
      These default to the old values of kolla_internal_fqdn or
      kolla_external_fqdn.
      
      This also adds a glance_api_listen_port option, which defaults to
      glance_api_port for backward compatibility.
      
      This option allow the user to differentiate between the port the
      service listens on, and the port the service is reachable on. This is
      useful for external load balancers which live on the same host as the
      service itself.
      
      Change-Id: Icb91f728533e2db1908b23dabb0501cf9f8a2b75
      Implements: blueprint service-hostnames
      a819ef12
  7. Feb 04, 2019
    • Mark Goddard's avatar
      Set [pxe] tftp_server in ironic.conf · 4d646466
      Mark Goddard authored
      The ironic TFTP server should be accessed via the internal API network.
      For ironic inspector, dnsmasq.conf advertises this correctly:
      
      dhcp-option=option:tftp-server,'api_interface_address'
      dhcp-option=option:server-ip-address,'api_interface_address'
      
      However, ironic conductor does not set the [pxe] tftp_server variable.
      This means the TFTP server advertised gets the default value of $my_ip,
      which is set by
      https://docs.openstack.org/oslo.utils/latest/reference/netutils.html#oslo_utils.netutils.get_my_ipv4,
      typically the source IP for the default route.
      
      This change sets [pxe] tftp_server to 'api_interface_address'.
      
      Change-Id: Ic3e688b3f2b92ad9515322f49cd5f4f29d763e49
      Closes-Bug: #1808347
      4d646466
  8. Aug 07, 2018
  9. Aug 03, 2018
    • Will Miller's avatar
      Add Cinder credentials to ironic.conf · 95007835
      Will Miller authored
      Ironic requires the Keystone credentials to communicate with Cinder if
      booting from volume.
      
      Change-Id: Id9a90d986e391e84c8ad918af371a5aef33a3524
      Closes-Bug: #1785201
      95007835
  10. Jul 17, 2018
  11. Jun 26, 2018
  12. 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
  13. Apr 18, 2018
    • Kevin TIBI's avatar
      Fix SSL api for multiple services · a81a5d5d
      Kevin TIBI authored
      If SSL is enabled, api of multiple services returns
      wrong external URL without https prefix.
      
      Removal of condition for deletion of http  header.
      
      Change-Id: I4264e04d0d6b9a3e11ef7dd7add6c5e166cf9fb4
      Closes-Bug: #1749155
      Closes-Bug: #1717491
      a81a5d5d
  14. Jan 22, 2018
  15. 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
  16. Nov 22, 2017
    • Andrew Smith's avatar
      Add support for hybrid messaging backends · fd1d3af0
      Andrew Smith authored
      This commit separates the messaging rpc and notify transports in order
      to support separate and different oslo.messaging backends
      
      This patch:
      * add rpc and notify variables
      * update service role conf templates
      * add example to globals.yaml
      * add release note
      
      Implements: blueprint hybrid-messaging
      Change-Id: I34691c2895c8563f1f322f0850ecff98d11b5185
      fd1d3af0
  17. Oct 09, 2017
    • jinxingfang's avatar
      Remove discard configuration · f73af439
      jinxingfang authored
      The admin_password and admin_user in default section is discarded
      in code, no longer be used anymore.
      
      Change-Id: I1d31faf0781cb61d13aa6a76534e38783e4f920f
      f73af439
  18. Aug 29, 2017
  19. Jul 25, 2017
    • Yotaro Konishi's avatar
      Remove an unnecessary endif · 133423a3
      Yotaro Konishi authored
      This patch fixes Jinja2 syntax error in ironic.conf.j2.
      
      All kolla-kubernetes configurations was recently removed by [1], but the
      commit overlooked to remove a '{% endif %}' statement in ironic.conf.j2.
      
      [1] cacf08f0
      
      Change-Id: I115fedfd026f14409b62f9552ff401956909f8a8
      Closes-Bug: #1706230
      133423a3
  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
  21. Jul 18, 2017
    • Mark Goddard's avatar
      Revert "Add default_boot_option configuration" · 1ab0b7ad
      Mark Goddard authored
      This reverts commit 898155df.
      
      The default value of the ironic configuration option default_boot_option
      will eventually change from netboot to local. The netboot option is
      incompatible with multitenancy in ironic, as it requires a PXE
      environment in the tenant network, so it was no longer deemed a suitable
      default value.
      
      Ironic added a warning message when this option is not explicitly set,
      presumably to alert operators to the change. The commit being reverted
      set the option to 'netboot'. This will cause operators to continue to
      use the netboot option even after the default value changes, which was
      presumably not the intention of the ironic team in changing the default
      value. It also hides the warning message from the operator that could
      alert them to the fact that this default is changing.
      
      Change-Id: I0ebb1d5ffbead50b034488337e6c93a2f48aaf69
      Related-Bug: #1696636
      1ab0b7ad
    • Jeffrey Zhang's avatar
      Remove all kolla-kubernetes configurations · cacf08f0
      Jeffrey Zhang authored
      kolla-kubernetes is using its own configuration generation[0], so it is
      time for kolla-ansible to remove the related code to simplify the
      logical.
      
      [0] https://github.com/openstack/kolla-kubernetes/tree/master/ansible
      
      Change-Id: I7bb0b7fe3b8eea906613e936d5e9d19f4f2e80bb
      Implements: blueprint clean-k8s-config
      cacf08f0
  22. Jul 06, 2017
  23. Jul 04, 2017
  24. Jun 21, 2017
  25. Jun 08, 2017
    • shaofeng_cheng's avatar
      Add default_boot_option configuration · 898155df
      shaofeng_cheng authored
      The default value of default_boot_option configuration will
      change eventually from "netboot" to "local".
      It is recommended to set an explicit value for it during the
      transition period
      
      Change-Id: Ic42b84e82d4ad27e371536ad9915b5a32118012d
      Closes-Bug: #1696636
      898155df
  26. May 27, 2017
    • shaofeng_cheng's avatar
      Enabled pxe_ssh driver in ironic · 0002de69
      shaofeng_cheng authored
      XenServer drivers can be used to deploy hosts with Ironic by
      using XenServer VMs to simulate bare metal nodes.
      
      Ironic provides support via the pxe_ssh and agent_ssh drivers
      for using a XenServer VM as a bare metal target and do provisioning on it.
      
      Change-Id: Icd39f9f4573cf7c8c654591256f0228ef21d6117
      0002de69
  27. May 23, 2017
  28. Mar 12, 2017
  29. Feb 13, 2017
  30. Feb 03, 2017
  31. Feb 02, 2017
  32. Jan 20, 2017
  33. Oct 03, 2016
    • Jeffrey Zhang's avatar
      Fix ironic failed · 903b0ff2
      Jeffrey Zhang authored
      * Mount system folder in ironic-conductor
      * Add package need in ironic-conductor
      * Fix the log path issue
      * Add ironic sudoer in ironic-base
      * Fix credential issue
      * Do not start nova-compute when enable ironic
      
      Closes-Bug: #1629334
      Change-Id: If9d478c6513de37465403d458a88cf0da7ebd8a6
      903b0ff2
  34. Sep 08, 2016
    • MD NADEEM's avatar
      Correct Ironic keystone_authtoken option name · 92eb565c
      MD NADEEM authored
      Change below parameters name
      right <-- wrong
      admin_tenant_name <-- project_name
      admin_user <-- username
      admin_password <-- passowrd
      
      Change-Id: Iac6a9e949df2ae952abd7a2a3a571e569db7c0ab
      Closes-Bug: #1621432
      92eb565c
  35. Aug 25, 2016
  36. Aug 17, 2016
Loading