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

cloud-localds supports custom filesystem label #56

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thomas-schultz
Copy link

For using nocloud on windows images bases on cloudbase cloud-init, the image needs "config-2" as label. That's why I have added an option for the fslabel.

For using nocloud on windows images bases on cloudbase cloud-init, the image needs "config-2" as label. That's why I have added an option for the fslabel.
@holmanb
Copy link
Member

holmanb commented Apr 1, 2024

For using nocloud on windows images bases on cloudbase cloud-init, the image needs "config-2" as label

Why? Can you point to some docs or code that verify this? I'm unfamiliar with cloudbase.

Your proposal shouldn't break anything, so I'm not opposed.

Please sign the cla.

@thomas-schultz
Copy link
Author

I could not get the windows image to work, unless I started to inspect the debug logs from the python code of the cloud-init project. The label seems to be hardcoded here:
https://github.com/cloudbase/cloudbase-init/blob/master/cloudbaseinit/metadata/services/configdrive.py

@holmanb
Copy link
Member

holmanb commented Apr 3, 2024

@thomas-schultz it looks like they tried to fix this a while back in cloudbase-init, but didn't quite get it right. I just filed a bug, and a PR to get this fixed.

@holmanb
Copy link
Member

holmanb commented Apr 4, 2024

@thomas-schultz what version of cloudbase are you using? It looks like my last comment was incorrect and nocloud actually does support 'cidata' after that PR.

@holmanb holmanb self-assigned this Apr 4, 2024
Copy link
Member

@holmanb holmanb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thomas-schultz what version of cloudbase-init are you using?

It looks like my last comment was incorrect and nocloud actually does support 'cidata' after that PR - just not in any released version yet. The commit to cloudbase-init that introduced this feature just hasn't been released yet, which explains why you still see 'config-2' being required.

Since cloudbase-init has support for this feature in an upcoming release, this feature in cloud-utils would be short-lived and not broadly usable, so it's likely not worth maintaining. Therefore, I'm going to reject this change. That said, thank you for contributing!

@holmanb
Copy link
Member

holmanb commented Apr 4, 2024

From upstream cloudbase-init regarding the release date containing this feature:

Hello, we have a few small PR backlog to merge first before a new release, but it should happen in the next month or so (already one year since the last release). I will update this issue once a new stable version has been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants