Align config files and scripts with upstream (v29.0.0) #205
Reference in New Issue
Block a user
Delete Branch "mchiappero/Factory:alignment-v29.0.0"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Align with upstream v29.0.0
TODO:
prepare_efi.sh(@nbelouin do you think we can align closer?)configure_nonroot.shI don't think we can align the
prepare_efi.shsignificantly closer for now (it is really centos centric upstream).I think we can try to align
configure_nonroot.shthough.Another TODO here, is to check if any value we pass in the chart need some kind of update.
I'll try to update configure_nonroot.sh, if time allows, and skip prepare_efi.sh.
Sure, we can wait to merge until we have a matching chart update, but definitely pushing a different PR for the charts.
WIP: alignment-v29.0.0to WIP: Align config files and scripts to upstream (v29.0.0)WIP: Align config files and scripts to upstream (v29.0.0)to WIP: Align config files and scripts with upstream (v29.0.0)@@ -7,3 +7,2 @@# ironic-inspector-image and configuration in configure-ironic.shkernel --timeout 60000 http://{{ env.IRONIC_URL_HOST }}:{{ env.HTTP_PORT }}/images/ironic-python-agent-${buildarch}.kernel ipa-insecure=1 ipa-inspection-collectors={{ env.IRONIC_IPA_COLLECTORS }} systemd.journald.forward_to_console=yes BOOTIF=${mac} ipa-debug=1 ipa-enable-vlan-interfaces={{ env.IRONIC_ENABLE_VLAN_INTERFACES }} ipa-inspection-dhcp-all-interfaces=1 ipa-collect-lldp=1 {{ env.INSPECTOR_EXTRA_ARGS }} initrd=ironic-python-agent.initramfs {% if env.IRONIC_RAMDISK_SSH_KEY %}sshkey="{{ env.IRONIC_RAMDISK_SSH_KEY|trim }}"{% endif %} {{ env.IRONIC_KERNEL_PARAMS|trim }} || goto retry_bootinitrd --timeout 60000 http://{{ env.IRONIC_URL_HOST }}:{{ env.HTTP_PORT }}/images/ironic-python-agent-${buildarch}.initramfs || goto retry_bootkernel --timeout 60000 {{ env.IRONIC_HTTP_URL }}/images/ironic-python-agent-${buildarch}.kernel ipa-insecure=1 ipa-inspection-collectors={{ env.IRONIC_IPA_COLLECTORS }} systemd.journald.forward_to_console=yes BOOTIF=${mac} ipa-debug=1 ipa-enable-vlan-interfaces={{ env.IRONIC_ENABLE_VLAN_INTERFACES }} ipa-inspection-dhcp-all-interfaces=1 ipa-collect-lldp=1 {{ env.INSPECTOR_EXTRA_ARGS }} initrd=ironic-python-agent.initramfs {% if env.IRONIC_RAMDISK_SSH_KEY %}sshkey="{{ env.IRONIC_RAMDISK_SSH_KEY|trim }}"{% endif %} {{ env.IRONIC_KERNEL_PARAMS|trim }} || goto retry_bootShouldn't
initrd=ironic-python-agent.initramfsalso change toironic-python-agent-${buildarch}.initramfsin here?probably yes
c79ae5a4cbto897db1d99d897db1d99dto9763f2502d@@ -25,3 +40,2 @@# apache2 permission changeschown -R "${NONROOT_UID}":"${NONROOT_GID}" /etc/apache2chown -R "${NONROOT_UID}":"${NONROOT_GID}" /runchown -R "${IRONIC_USER}":"${IRONIC_GROUP}" /etc/apache2@steven.hardy @nbelouin Is this really needed, it's not present upstream.
I never looked deep into this file, I'd say we can try without it, if it works and apache doesn't complain then it's good
Will give it a try, but if we approach ironic-image this way we end up with so many things to test... it is going to take another two springs. We need to start being as close as possible to upstream.
I know ... The issue here is I don't know many of these deviations from upstream, nor why they are here, so I'm all in to get closer to upstream and have less of those deviations.
9763f2502dto85225058448522505844to39a45505bddfaf759129to05aa1341a9Thanks @nbelouin for helping! I think it's ready to be merged, but beware that enabling PXE booting will likely result in runtime errors/failures.
WIP: Align config files and scripts with upstream (v29.0.0)to Align config files and scripts with upstream (v29.0.0)04f7eeb6b1to05aa1341a905aa1341a9toaf7b78e498LGTM, I'd like to wait for #214 to be also reviewed and ready to merge, so we can merge the two one after the other and have a full upgrade to v29 of Ironic in (almost) one go.
af7b78e498to179ceba0b8179ceba0b8to62f9faf144