- Sep 06, 2019
-
-
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
-
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
-
- Aug 29, 2019
-
-
Will Szumski authored
Change-Id: Ic80dbe1f4f7289fe2c2143125a381cec4586f7ef Closes-Bug: #1841908
-
- Aug 15, 2019
-
-
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:
Rafael Weingärtner <rafael@apache.org>
-
- Mar 06, 2019
-
-
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
-
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
-
- Feb 22, 2019
-
-
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
-
- Feb 08, 2019
-
-
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
-
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
-
- Feb 04, 2019
-
-
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
-
- Aug 07, 2018
-
-
ZhongShengping authored
Option auth_uri from group keystone_authtoken is deprecated[1]. Use option www_authenticate_uri from group keystone_authtoken. [1]https://review.openstack.org/#/c/508522/ Co-Authored-By:
confi-surya <singh.surya64mnnit@gmail.com> Change-Id: Ifd8527d404f1df807ae8196eac2b3849911ddc26 Closes-Bug: #1761907
-
- Aug 03, 2018
-
-
Will Miller authored
Ironic requires the Keystone credentials to communicate with Cinder if booting from volume. Change-Id: Id9a90d986e391e84c8ad918af371a5aef33a3524 Closes-Bug: #1785201
-
- Jul 17, 2018
-
-
Duong Ha-Quang authored
This patchset apply Ironic rolling upgrade logic [1][2] [1] https://docs.openstack.org/ironic/latest/contributor/rolling-upgrades.html [2] https://docs.openstack.org/ironic/latest/admin/upgrade-guide.html#rolling-upgrades Depends-On: https://review.openstack.org/#/c/575594/ Co-author: Ha Manh Dong <donghm@vn.fujitsu.com> Change-Id: Id68244951dc66d5c3423ef44324bd72058f4ba67 Implements: blueprint apply-service-upgrade-procedure
-
- Jun 26, 2018
-
-
Dmitry Tantsur authored
Both the driver and the enabled_drivers options are being removed this week. Stop setting them to avoid breakages. Change-Id: I0e0bf851424b8f5839b159ef83f1cc65c30e2fb3
-
- May 25, 2018
-
-
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
-
- Apr 18, 2018
-
-
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
-
- Jan 22, 2018
-
-
Dai Dang Van authored
- Heat - Ironic - Magum - Manila - Mistral This will copy only yaml or json policy file if they exist. Change-Id: I1ab71e2758dc99dd6654d433ece79600f0c44ce8 Implements: blueprint support-custom-policy-yaml Co-authored-By:
Duong Ha-Quang <duonghq@vn.fujitsu.com>
-
- Jan 04, 2018
-
-
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
-
- Nov 22, 2017
-
-
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
-
- Oct 09, 2017
-
-
jinxingfang authored
The admin_password and admin_user in default section is discarded in code, no longer be used anymore. Change-Id: I1d31faf0781cb61d13aa6a76534e38783e4f920f
-
- Aug 29, 2017
-
-
jiangpch authored
*_ssh driver is not supported by ironic now, see: https://review.openstack.org/#/c/481688 Closes-Bug: #1713624 Change-Id: I49c6975c79e172e7c85560e597fee6cfa6372328
-
- Jul 25, 2017
-
-
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
-
- Jul 19, 2017
-
-
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
-
- Jul 18, 2017
-
-
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
-
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
-
- Jul 06, 2017
-
-
Bertrand Lallau authored
As described here: https://github.com/openstack/keystone/blob/master/keystone/resource/core.py#L841 https://github.com/openstack/keystone/blob/master/keystone/conf/identity.py#L21 * default project domain name MUST be named 'Default' * default project domain id MUST be named 'default' * default project user name MUST be named 'Default' * default project user id MUST be named 'default' Change-Id: I610a0416647fdea31bb04889364da5395d8c8d74
-
- Jul 04, 2017
-
-
Mark Goddard authored
As of [1], the ironic configuration for neutron, glance, swift, inspector and service_catalog requires explicit configuration of authentication parameters for communication with these services. This change adds the required parameters to [neutron], [glance] and [inspector] sections of ironic.conf. Kolla-ansible does not configure the [swift] or [service_discovery] sections currently. We also replace option [glance] glance_hosts with [glance] glance_api_servers as the former is deprecated. Since we no longer need to support generating configuration for kolla-kubernetes[2], some related options have been cleaned. [1] https://github.com/openstack/ironic/commit/4f9035c24f0465be5728ed9a8a6df76cd6f46ed3 [2] https://blueprints.launchpad.net/kolla-ansible/+spec/clean-k8s-config Change-Id: Ifc239af5f3e44a508fedc9dea08cb06160c4f7f3 Closes-Bug: #1701713
-
- Jun 21, 2017
-
-
shaofeng_cheng authored
Add webconsole support in ironic by pxe_ipmitool driver. Serial speed must be the same as the serial configuration in the BIOS settings, so that the operating system boot process can be seen in the web console. see: https://docs.openstack.org/project-install-guide/baremetal/draft/advanced.html#appending-kernel-parameters-to-boot-instances Change-Id: I967ed2f63a50d024c54e0762ec6c0ae09b66d6bd
-
- Jun 08, 2017
-
-
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
-
- May 27, 2017
-
-
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
-
- May 23, 2017
-
-
Bertrand Lallau authored
Useful api_interface_address variable has been define here: https://github.com/openstack/kolla-ansible/blob/master/ansible/group_vars/all.yml#L57 In order to simplify codebase we must use it as much as possible. Change-Id: I18fec19bf69e05a22a4142a9cd1165eccd022455
-
- Mar 12, 2017
-
-
Jeffrey Zhang authored
* Ironic do not support multi glance ips. * Write the nova-compute-ironic binary log to nova-compute-ironic.log file Change-Id: I87359c47a5845c4d7a6ab9daaefcc94a51c92eb0 Closes-Bug: #1671989
-
- Feb 13, 2017
-
-
Serguei Bezverkhi authored
Fixing ironic configs for kolla-kubernetes Change-Id: Id1b1cc3bb3c1790a77f9449ec5b0b5d1c67f91e4 Closes-Bug: #1664269
-
- Feb 03, 2017
-
-
jangpro2 authored
Ironic supports collecting log from IPA for debugging, But it's not defined in kolla. This is default settings about collecting log from IPA. Closes-Bug: #1661468 Change-Id: Iccb47a70b12effb5a704435f334faee29538f9d2 Signed-off-by:
jangpro2 <jangseon.ryu@gmail.com>
-
- Feb 02, 2017
-
-
jangpro2 authored
Currently it's not working in ironic-api, in spite of setting openstack_service_workers config in globals.yml. Because it's not implement about workers in ironic. Closes-Bug: #1661173 Change-Id: I89de95fe03813ae44bcdbf9aac22b7337ffe4968 Signed-off-by:
jangpro2 <jangseon.ryu@gmail.com>
-
- Jan 20, 2017
-
-
Mauricio Lima authored
Co-Authored-By:
Jeffrey Zhang <zhang.lei.fly@gmail.com> Depends-On: Id03619b4e26a0a77c2a39e2de21efd13be0e9200 Change-Id: I723345c1b23cb92ad94cefd965f07b94095ebb41 Closes-Bug: #1650345
-
- Oct 03, 2016
-
-
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
-
- Sep 08, 2016
-
-
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
-
- Aug 25, 2016
-
-
Jeffrey Zhang authored
rabbit_hosts, rabbit_userid and rabbit_password are deprecated for removal.[0] rpc_backend is deprecated for removal.[1] rabbit_ha_queues is deprecated. it is useless when using RabbitMQ >= 3.0 [2] [0] https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_drivers/impl_rabbit.py#L112,#L134 [1] https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/transport.py#L46 [2] https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_drivers/impl_rabbit.py#L163,L174 Closes-Bug: #1614082 Change-Id: I05d318ba6c11c5dbfa9fbf67d088a43ab465be30
-
- Aug 17, 2016
-
-
ZhongShengping authored
When ironic is deployed using kolla, in ironic.conf file there is no configuration option of enabled_drivers present. Change-Id: I5c9e7533e8ca139addee8cf4cc4084e856ae0306 Closes-Bug: 1610272
-