Skip to content
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

Aurora Boot tool should have test to generate iso without failing to install OS packages #3053

Closed
VinayVamsi143 opened this issue Dec 5, 2024 · 1 comment
Labels
bug Something isn't working triage Add this label to issues that should be triaged and prioretized in the next planning call unconfirmed

Comments

@VinayVamsi143
Copy link

I encountered an error while using the latest version of the Aurora Boot Tool (v0.4.0). With the earlier version, I was able to successfully generate an ISO, but it had an issue with the / directory permissions.

Screenshot attached with log error details

image

Docker file used to build a custom image

FROM opensuse:leap-15.6-core-amd64-generic-master
#Disable the "utilities" repository to avoid conflicts
RUN zypper modifyrepo --disable utilities

#Refresh repositories and install required dependencies
RUN zypper refresh
&& zypper install -y
docker
cloud-init

customized image: used in Aurora boot tool

kairos-custom:v0.1 is built from above Dockerfile it includes custom packages installation

Auroraboot tool version used:

docker run -v $PWD/cloud_init.yaml:/cloud_init.yaml
-v $PWD/build:/tmp/auroraboot
-v /var/run/docker.sock:/var/run/docker.sock
--rm -ti auroraboot:v0.4.0
--set container_image=docker://kairos-custom:v0.1
--set "disable_http_server=true"
--set "disable_netboot=true"
--cloud-config /cloud_init.yaml
--set "state_dir=/tmp/auroraboot"

Issue log attached after running aurora boot tool docker command

After using root permission issue fixed version of aurora boot tool i was getting above attached error as it says "
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.3.0]

2024-12-05T06:19:40Z ERR Failed installing OS packages: exit status 23
2024-12-05T06:19:41Z ERR Failed generating iso 'kairos' from '/tmp/auroraboot/temp-rootfs'. Error: 1 error occurred:
* exit status 23

1 error occurred:
* exit status 23 "

@VinayVamsi143 VinayVamsi143 added bug Something isn't working triage Add this label to issues that should be triaged and prioretized in the next planning call unconfirmed labels Dec 5, 2024
@jimmykarily
Copy link
Contributor

Fixed by --privileged flag: #3050 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Add this label to issues that should be triaged and prioretized in the next planning call unconfirmed
Projects
Archived in project
Development

No branches or pull requests

2 participants