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

How to get the debian cloudImage working #955

Closed
nano2007 opened this issue Feb 24, 2023 Discussed in #954 · 5 comments
Closed

How to get the debian cloudImage working #955

nano2007 opened this issue Feb 24, 2023 Discussed in #954 · 5 comments
Labels
bug Something isn't working question Further information is requested

Comments

@nano2007
Copy link

Discussed in #954

Originally posted by nano2007 February 24, 2023
I am trying to follow the documentation to create a debian based cloud image. The yaml file for creating the osartifact manifest is:

kairos-debian.yaml.txt

I then create a VM in a KVM box by importing the created raw disk image. Here are the boot logs:

kairos-debian-boot.log

After the VM boots, I do not see an installation or reboot happening.

The same config file works for the opensuse:latest image (where I can see the installation and reboot and the COS_STATE and COS_PERSISTENT partitions exist after the reboot).

Any help is greatly appreciated. Thank you !

@nano2007
Copy link
Author

Same problem seen with ubuntu:latest too.

@mudler
Copy link
Member

mudler commented Mar 1, 2023

Hey @nano2007 👋 thanks for bringing this up!

we did released 1.6.0 that had bunch of fixes, some regarding debian especially. Is the issue persisting? I can't notice nothing wrong in your setup for now

@mudler mudler added bug Something isn't working question Further information is requested labels Mar 1, 2023
@nano2007
Copy link
Author

nano2007 commented Mar 3, 2023

Hey @nano2007 👋 thanks for bringing this up!

we did released 1.6.0 that had bunch of fixes, some regarding debian especially. Is the issue persisting? I can't notice nothing wrong in your setup for now

I did try the 1.6.1 release and this is fixed. Thanks @mudler :)

There are some problems I am facing though (not all of them related to cloudImages):

  • The machine gets an IP address from dhcp, but there is no /etc/resolv.conf and hence all name resolutions fail. If I do a "dhcpclient " then the /etc/resolv.conf file gets created.
  • I am trying to do some customisation of the image , but I am not able to figure out what lifecycle-events are applicable for a cloudImage creation.
  • Also does auroraboot support creation of cloudImages? I do not see an option for this in the docs.

@mudler
Copy link
Member

mudler commented Mar 3, 2023

Hey @nano2007 wave thanks for bringing this up!
we did released 1.6.0 that had bunch of fixes, some regarding debian especially. Is the issue persisting? I can't notice nothing wrong in your setup for now

I did try the 1.6.1 release and this is fixed. Thanks @mudler :)

Awesome! glad to hear! Can we close this issue right?

There are some problems I am facing though (not all of them related to cloudImages):

* The machine gets an IP address from dhcp, but there is no /etc/resolv.conf and hence all name resolutions fail. If I do a "dhcpclient " then the /etc/resolv.conf file gets created.

Sounds like a bug to me

* I am trying to do some customisation of the image , but I am not able to figure out what lifecycle-events are applicable for a cloudImage creation.

Can you expand in a thread? I'd be happy to help, but I need a little bit of more context

* Also does auroraboot support creation of cloudImages? I do not see an option for this in the docs.

At the moment it doesn't, please file up a ticket for it so we will extend it :)

Could you file up separate bugs/discussions so we can tackle them in our sprints? thank you!

@nano2007 nano2007 closed this as completed Mar 3, 2023
@nano2007
Copy link
Author

nano2007 commented Mar 3, 2023

resolved by release 1.6.1.

For the other problems I am seeing I will start new discussion threads/bugs.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
Archived in project
Development

No branches or pull requests

2 participants