New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Omnitruck artifact does not exist for Rocky Linux #14034
Comments
this patch fixes
|
Argh, bitten by the same issue here... Thank you for the write-up @gpanula! |
Thanks @gpanula for details. I am blocked because of the same, was wondering if there is way to get the older install.sh while the current one gets fixed |
Thanks, I wasn't aware of the omnitruck repo. |
Running this sed command on the rocky linux machine will work-around the issue
|
@gpanula , thanks for reporting the issue, the install.sh changes that generated the issue have been reverted now. |
https://omnitruck.chef.io/install.sh works for me as it has parameter But test kitchen fails. My kitchen.yml contains this: - name: rocky8
driver:
image_urn: center-for-internet-security-inc:cis-rocky:cis-rockylinux-8-l1-gen2:latest
plan:
name: "cis-rockylinux-8-l1-gen2"
product: "cis-rocky"
publisher: "center-for-internet-security-inc"
transport:
name: ssh
elevated: true
provisioner:
name: chef_infra
product_name: chef
# product_version: 17.10.95 # https://github.com/chef/omnitruck/issues/600
product_version: 18.3.0
always_update_cookbooks: true
chef_license: accept-no-persist
root_path: /home/azure/test-kitchen # default /tmp has noexec on CIS hardened images error is
Note There is no problem with 17.10.95 Workaround is to add:
|
In 18.4.2 |
Well... https://omnitruck.chef.io/stable/chef/metadata?v=18.2.7&p=rocky&pv=8.8&m=x86_64 had been working fine for us for months, until it seems to have fallen off the bandwagon today. We'd only do the https://omnitruck.chef.io/stable/chef/metadata?v=18.4.2&p=rocky&pv=8.8&m=x86_64 is fine, but is it a "feature" that previous artifacts evaporate all of a sudden? Thanks! |
👀 |
There are no artifacts for ARM64(aarch64) either. |
Description
https://omnitruck.chef.io/install.sh is now setting platform to "rocky" for rocky linux. Previously it was setting platform to "el".
The download url created by
install.sh
is now (notice the p=rocky)https://omnitruck.chef.io/stable/chef/metadata?v=17.10&p=rocky&pv=8.8&m=x86_64
unfortunately that url returns a 404
Previously(2023-Oct-13) the url created by
install.sh
for rocky linux washttps://omnitruck.chef.io/stable/chef/metadata?v=17.10&p=el&pv=8&m=x86_64
notice p=el and pv=8
It looks like
install.sh
was recently updated to better account for the contents of rocky linux's/etc/os-release
but https://omnitruck.chef.io/stable/chef/metadata wasn't updated for the new values returned from the updatedinstall.sh
Chef Version
Chef Infra Client: ALL
Platform Version
Rocky Linux 8
Replication Case
These rocky specific values return 404
These generic "el" values return valid data
Client Output
output from broken attempt (2023-Oct-18]
notice the platform is being set to
rocky
output from successful attempt (2023-Oct-13)
notice the platform is being set to
el
Something changed with
install.sh
between 2023-Oct-13 and 2023-Oct-18.additional info
Here are the contents of
/etc/os-release
from my rocky 8 boxContents of
/etc/os-release
have not change between 2023-Oct-13 and 2023-Oct-18.The text was updated successfully, but these errors were encountered: