Hello, I've deployed a Fedora20 Beta qcow2 image in a VM, but I'm unable to login.
What is the default user and password? And what is the cloud-init program that starts at boot? it tries to contact some http url, but it fails.
I cannot find any documentation about it. Thank you.
On Thu, 07 Nov 2013 21:56:54 +0100 Juan Orti Alcaine juan.orti@miceliux.com wrote:
Hello, I've deployed a Fedora20 Beta qcow2 image in a VM, but I'm unable to login.
What is the default user and password?
user 'fedora' and no password (which you will be unable to login to via ssh since sshd defaults to not allowing empy passwords). You should be able to login on console tho.
And what is the cloud-init program that starts at boot? it tries to contact some http url, but it fails.
http://cloudinit.readthedocs.org/en/latest/
I cannot find any documentation about it.
Basically cloud-init runs on newly created instances and configures them based on settings it gets from the cloud. Usually this means things like:
- set a hostname - set up locales - Install a ssh public key on the fedora account so you can login with a key. - set up mountpoints and mount persistent volumes. - run any arbitrary config you like.
Hope that helps,
kevin
Hi
On Thu, Nov 7, 2013 at 4:55 PM, Kevin Fenzi wrote:
On Thu, 07 Nov 2013 21:56:54 +0100 Juan Orti Alcaine < wrote:
Hello, I've deployed a Fedora20 Beta qcow2 image in a VM, but I'm unable to login.
What is the default user and password?
user 'fedora' and no password (which you will be unable to login to via ssh since sshd defaults to not allowing empy passwords). You should be able to login on console tho.
Is this documented anywhere prominently?
Rahul
On Thu, 7 Nov 2013 17:11:22 -0500 Rahul Sundaram metherid@gmail.com wrote:
Hi
On Thu, Nov 7, 2013 at 4:55 PM, Kevin Fenzi wrote:
On Thu, 07 Nov 2013 21:56:54 +0100 Juan Orti Alcaine < wrote:
Hello, I've deployed a Fedora20 Beta qcow2 image in a VM, but I'm unable to login.
What is the default user and password?
user 'fedora' and no password (which you will be unable to login to via ssh since sshd defaults to not allowing empy passwords). You should be able to login on console tho.
Is this documented anywhere prominently?
Dunno.
There's a cloud guide: http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html-sing... but it looks kind of dated and is still in draft status.
kevin
Hi
On Thu, Nov 7, 2013 at 5:18 PM, Kevin Fenzi wrote:
Dunno.
There's a cloud guide:
http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html-sing... but it looks kind of dated and is still in draft status.
I have highlighted this issue at
https://lists.fedoraproject.org/pipermail/cloud/2013-November/002927.html
Rahul
El Jueves, 7 de noviembre de 2013 14:55:57 Kevin Fenzi escribió:
On Thu, 07 Nov 2013 21:56:54 +0100
Juan Orti Alcaine juan.orti@miceliux.com wrote:
Hello, I've deployed a Fedora20 Beta qcow2 image in a VM, but I'm unable to login.
What is the default user and password?
user 'fedora' and no password (which you will be unable to login to via ssh since sshd defaults to not allowing empy passwords). You should be able to login on console tho.
I cannot login with the user 'fedora'. I'm connected to the console (it is a CloudStack cloud), and have tried all combinations of ec2-user/fedora /passwords/without-passwords.
I also have tried in a local KVM vm, but cannot login. These are the images I have used:
Fedora-x86_64-20-Beta-TC6-20131026-sda.qcow2 Fedora-x86_64-20-Beta-20131106-sda.qcow2
Should I report a bug or I am missing something?
On Thu, Nov 07, 2013 at 11:16:08PM +0100, Juan Orti Alcaine wrote:
I cannot login with the user 'fedora'. I'm connected to the console (it is a CloudStack cloud), and have tried all combinations of ec2-user/fedora /passwords/without-passwords.
You've solved it, but for reference virt-sysprep can change passwords in offline images. You would use a command like this:
virt-sysprep -a foo.qcow2 --enable password --root-password password:123456
(Changes or sets root's password to 123456)
Rich.
On Thu, Nov 07, 2013 at 11:16:08PM +0100, Juan Orti Alcaine wrote:
I cannot login with the user 'fedora'. I'm connected to the console (it is a CloudStack cloud), and have tried all combinations of ec2-user/fedora /passwords/without-passwords.
Oh hey. I missed that this was in CloudStack -- that's a big ol' exciting "TODO" in the cloud-init docs, but I believe that code was merged to make it work with CloudStack's metadata provider.
Should I report a bug or I am missing something?
We don't have anyone actively working on CloudStack support right now, although several members of the cloud WG run it. If you'd like to help (in any way -- testing alone is huge!) please join ius in the cloud sig:
https://fedoraproject.org/wiki/Cloud_SIG
and make this more awesome.
On Thu, Nov 07, 2013 at 09:56:54PM +0100, Juan Orti Alcaine wrote:
Hello, I've deployed a Fedora20 Beta qcow2 image in a VM, but I'm unable to login. What is the default user and password?
There is none -- as you've discovered, that's created by cloud-init.
And what is the cloud-init program that starts at boot? it tries to contact some http url, but it fails.
See http://cloudinit.readthedocs.org/en/latest/
If you are running the cloud image locally, you will need to either provide a "fake" ec2 metadata service -- see https://gist.github.com/smoser/1278651 for one example -- or use the "nocloud" data source to provide files via an attached vfat or iso filesystem. Docs for the latter are at http://cloudinit.readthedocs.org/en/latest/topics/datasources.html#no-cloud.
El 2013-11-08 04:05, Matthew Miller escribió:
On Thu, Nov 07, 2013 at 09:56:54PM +0100, Juan Orti Alcaine wrote:
Hello, I've deployed a Fedora20 Beta qcow2 image in a VM, but I'm unable to login. What is the default user and password?
There is none -- as you've discovered, that's created by cloud-init.
And what is the cloud-init program that starts at boot? it tries to contact some http url, but it fails.
See http://cloudinit.readthedocs.org/en/latest/
If you are running the cloud image locally, you will need to either provide a "fake" ec2 metadata service -- see https://gist.github.com/smoser/1278651 for one example -- or use the "nocloud" data source to provide files via an attached vfat or iso filesystem. Docs for the latter are at http://cloudinit.readthedocs.org/en/latest/topics/datasources.html#no-cloud.
Understood. Thank you!