Closed aganesh-suse closed 11 months ago
So in this case we have to just pass
rhel
orcentos8
directly now? We can't dorhel8
any longer?
no we can - it just wont run the disable cloud section if we give rhel8 i believe. for ex: rke2 rocky - rhel8 - wont need this section run. @fmoral2 please feel free to correct me if am wrong.
So in this case we have to just pass
rhel
orcentos8
directly now? We can't dorhel8
any longer?
please look at the jenkins jobs on slack!
we are just disabling cloud setup only when its needed (. OSs. node_os == rhel and centos8) all other node_os names dont need/cant disable it.
I believe those jobs used amis that already had it disabled. It still needs to be disabled for all rhel setups. The issue here is that passing just rhel
will also then force this to call the rhel7 specific stuff:
if [ "$node_os" = "rhel" ]
then
subscription-manager register --auto-attach --username="$username" --password="$password"
subscription-manager repos --enable=rhel-7-server-extras-rpms
fi
which is not what we want for rhel8+
I believe those jobs used amis that already had it disabled. It still needs to be disabled for all rhel setups. The issue here is that passing just
rhel
will also then force this to call the rhel7 specific stuff:if [ "$node_os" = "rhel" ] then subscription-manager register --auto-attach --username="$username" --password="$password" subscription-manager repos --enable=rhel-7-server-extras-rpms fi
which is not what we want for rhel8+
i have tested with other images, the images from job it was me adding i also tested locally with other ones but should we gather more amis and test it ? it would be nice
Proposed Changes
fix for the rhel error
changing "rhel" to "rhel" - so in other cases, the disable cloud setup service etc dont execute.
Types of Changes
minor script changes for bug fix
Testing
Checklist:
If your PR changes anything on or related to Jenkins, run it pointing to your branch to make sure it's okay. will do soon
Verify code lint; we should not have errors. done
Update the documentation if needed. n/a
Update makefile and docker run if adding new tests. n/a
Run your tests at least 4 times with all configurations needed and possible. will do
If needed test with different os types. will do
Linked Issues
Further Comments