Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Well there is a warning in ceph docs as you should disable nova password injection and instead rely on metadata service and cloud-init.

As i understand nova must open the rootfs to inject the password and it doesn't play nice with ceph as a backend.

Well there is a warning in ceph docs as you should disable nova password injection and instead rely on metadata service and cloud-init.

As i understand nova must open the rootfs to inject the password and it doesn't play nice with ceph as a backend.

Update :

You can still inject password with cloud-init! This can be done when spawning an instance within post-creation/configuration tab. To change a users password :

#cloud-config
chpasswd:
  list: |
    user1:password1
    user2:password2
    user3:password3
  expire: False

Where user should be root if you want to change the root password. More information on cloud-init docs. Also cloud-init doesn't allow, by default, ssh password login, so you must specify this aswell into the config commands. I don't remember the exact command though. More info at cloud-init