Align config files and scripts with upstream (v29.0.0) #205
Reference in New Issue
Block a user
No description provided.
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.sh
I don't think we can align the
prepare_efi.sh
significantly closer for now (it is really centos centric upstream).I think we can try to align
configure_nonroot.sh
though.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.sh
kernel --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_boot
initrd --timeout 60000 http://{{ env.IRONIC_URL_HOST }}:{{ env.HTTP_PORT }}/images/ironic-python-agent-${buildarch}.initramfs || goto retry_boot
kernel --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_boot
Shouldn't
initrd=ironic-python-agent.initramfs
also change toironic-python-agent-${buildarch}.initramfs
in here?probably yes
c79ae5a4cb
to897db1d99d
897db1d99d
to9763f2502d
@@ -25,3 +40,2 @@
# apache2 permission changes
chown -R "${NONROOT_UID}":"${NONROOT_GID}" /etc/apache2
chown -R "${NONROOT_UID}":"${NONROOT_GID}" /run
chown -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.
9763f2502d
to8522505844
8522505844
to39a45505bd
dfaf759129
to05aa1341a9
Thanks @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)04f7eeb6b1
to05aa1341a9
05aa1341a9
toaf7b78e498
LGTM, 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.
af7b78e498
to179ceba0b8
179ceba0b8
to62f9faf144