cloud-init team mailing list archive
-
cloud-init team
-
Mailing list archive
-
Message #00281
Re: CloudStack reset password not working after enabling growpart module
On Thu, May 28, 2020 at 2:47 PM jyoti.yadav <jyoti.yadav@xxxxxxxxxxx> wrote:
> Hi All,
>
Hi Jyoti,
>
> I have started using cloud-init recently so doing lots of things with
> cloud-init.
>
>
>
> One thing I noticed that reset password through cloud stack won’t work if
> I used root partition resize with growpart module.
>
>
>
> I am using cloudstack 4.13 version and cloud-init 18.5.
>
>
>
> And I was using custom cloud-set-guest-password script that runs on vm
> startup under /etc/init.d/ and gets password from router and set same
> password in VM and it was working perfectly fine.
>
>
>
> So after adding growpart package in image, if I deploy VM with resize root
> partition then growpart ran successfully but password is not working.
>
>
>
> As per the logs when script under /etc/init.d/ contacted router to send
> password, router send message that password already sent to the VMs.
>
CloudStack datasource handles setting passwords automatically, so this is
the response I would expect.
https://github.com/canonical/cloud-init/blob/master/cloudinit/sources/DataSourceCloudStack.py#L30
Upstream does not support providers directly, but we can look to see if
something is a cloud-init problem.
If you like, you can file an issue here:
https://bugs.launchpad.net/cloud-init/+filebug
If you can, please attach the tarball output from 'cloud-init collect-logs'
to the bug.
Thanks,
Ryan Harper
>
>
>
> Thanks and regards,
>
> Jyoti
> --
> Mailing list: https://launchpad.net/~cloud-init
> Post to : cloud-init@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~cloud-init
> More help : https://help.launchpad.net/ListHelp
>
References