Ask Your Question
1

How to login to Sahara VM via broswer console ?

asked 2014-05-20 16:45:03 -0500

polakams gravatar image

updated 2014-05-20 17:22:15 -0500

I installed Openstack Icehouse & Sahara on top of that. created an image using URL:

http://sahara-files.mirantis.com/sahara-icehouse-vanilla-2.3.0-centos-6.5.qcow2 (Vanilla Plugin)

Hadoop cluster created and launched successfully. I can able to login from unix prompt using cloud-user and it did not ask for password via unix terminal.

But when I am trying to loging via console in browser, it is asking for password for cloud-user. I do notk now how to get password for this cloud-user.

Any help in this will be highly appreciated.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-06-04 10:52:13 -0500

alazarev gravatar image

Actually there is undocumented option IMAGE_GENERATION_DEBUG_MODE in our diskimage-builder that allows to create images with password set.

edit flag offensive delete link more
0

answered 2014-06-02 05:04:51 -0500

dmitrymex gravatar image

updated 2014-06-04 05:01:40 -0500

I think when you tell "I can able to login from unix prompt using cloud-user and it did not ask for password via unix terminal" you mean you accessed the VM using SSH and you supplied the proper SSL keypair, right? In that case the VM authenticates you by the keypair you've provided.

In your browser you log in via VNC console. Here you can not supply SSL keypair, you can only use password to log in. I am not sure, but I think that all images provided by us do not have password set for any user. So I see two ways for you to proceed:

  • Log into VM using SSH and set password for cloud user using 'passwd' command. You will be able later to log in via browser as cloud-user using password you have set.
  • Build your own image using our diskimage-builder elements and here add your own element which will set password for the user. See http://sahara.readthedocs.org/en/stab... for the details

Hope it is not too late :-(

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-05-20 16:45:03 -0500

Seen: 1,013 times

Last updated: Jun 04 '14