-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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-init not running when guest network use UsedData: ConfigDrive #9404
Comments
Hi @leduyquy please refer https://docs.cloudstack.apache.org/en/4.19.0.2/adminguide/virtual_machines.html#using-cloud-init if not already. |
I follow this guide bellow: My config: /etc/cloud/cloud.cfg.d/99_cloudstack.cfg.
Also I try with bellow:
It not working with ConfigDrive. But with VirtualRouter it working normal |
@leduyquy try with the settings described in https://github.com/apache/cloudstack-documentation/pull/383/files |
I also tried with it, But it not working too
|
I try testing in today,. only password not apply to cloudinit. ssh-key and another it ok |
that's good news cloud-init set password only once. You can try
|
I have config [set_passwords, always] . But it not working. When i check cloud-init.log I see module-config/config-set-password ran susscessfully. But i try with password pop-up from UI Cloudstack it correct. But with Userdata use VirtualRouter everything working normal, |
@leduyquy can you try with CloudStack 4.19.1? Which exact version of VMware 8 are you using? |
I try with CloudStack version 4.19.1.1 it not working Env my testing: |
it seems as a workaround, you can add a script to the image You can also try with a userdata which contains the username/new password. |
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
Guest Network type L2 or Isolated set UsedData use ConfigDrive
OS / ENVIRONMENT
Ubuntu 22.04 for Managerment Cloudstack
VMware 8
SUMMARY
Cloud-init not apply when UsedData use ConfigDrive
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: