Trying to run Ganeti Web Manager

456 views
Skip to first unread message

Jonathan Bayer

unread,
May 23, 2011, 10:01:01 AM5/23/11
to ganeti...@googlegroups.com
Hi,

I'm trying to run the web manager. I've successfully installed it &
Ganeti on a RedHat 6 machine.

I have two problems:

The first is that when I start up the web manager, it only seems to
respond to localhost. How do I make it work through a browser on
another computer?

The second is that I've installed the NoVNC module, but when I run the
command:

twistd --pidfile=/tmp/proxy.pid -ny proxy.tac

I get the following error:

No module named vncap.control

I did set the PYTHONPATH="."


Any suggestions would be greatly appreciated.

JBB

Janusz Syrytczyk

unread,
May 23, 2011, 10:14:06 AM5/23/11
to ganeti...@googlegroups.com


2011/5/23 Jonathan Bayer <linuxgu...@gmail.com>
Already on this list, run as normal user.

Jonathan Bayer

unread,
May 23, 2011, 10:36:25 AM5/23/11
to ganeti...@googlegroups.com
I tried that, no change.

In order to do this, I created a directory /usr/local/ganeti, and copied ganeti_webmgr and ganeti_webmgr_lib into this directory, then tried running it both as a normal user and sudoing to root.  No change.

I did search the list, only found one thread back in March about it.


JBB

Peter Krenesky

unread,
May 23, 2011, 11:15:14 AM5/23/11
to ganeti...@googlegroups.com

On 05/23/2011 07:01 AM, Jonathan Bayer wrote:
>
> The first is that when I start up the web manager, it only seems to
> respond to localhost. How do I make it work through a browser on
> another computer?

If you're running it using django's dev server, add the hostname [and
port] to the end

./manage.py runserver my.hostname.tld:8000

Keep in mind that the dev server is not intended for use on production
machines.

-Peter

Jonathan Bayer

unread,
May 23, 2011, 11:22:56 AM5/23/11
to ganeti...@googlegroups.com
Thanks, that works (as you know :-)

I'm still working on getting it to run in a production environment.


JBB

Jonathan Bayer

unread,
May 23, 2011, 1:28:51 PM5/23/11
to ganeti...@googlegroups.com
On 5/23/11 11:15 AM, Peter Krenesky wrote:
>


So I now have it working in a dev mode. Great!

I added a user, and then added a cluster to the user. Then when I tried
going into the cluster, I get the following error:

401 Unauthorized: No permission -- see authorization schemes

When I added the user, I checked off all the permissions.


So what am I missing?

Thanks


JBB

Peter Krenesky

unread,
May 23, 2011, 1:42:21 PM5/23/11
to ganeti...@googlegroups.com
On 05/23/2011 10:28 AM, Jonathan Bayer wrote:
> So I now have it working in a dev mode. Great!
>
> I added a user, and then added a cluster to the user. Then when I
> tried going into the cluster, I get the following error:
>
> 401 Unauthorized: No permission -- see authorization schemes
>
> When I added the user, I checked off all the permissions.
>
>
> So what am I missing?
>

You'll need to setup a ganeti user with permission to the remote api (rapi)

http://code.osuosl.org/projects/ganeti-webmgr/wiki/Managing_Clusters#Ganeti-RAPI-users-and-passwords

sonam dorji

unread,
Feb 11, 2014, 5:41:08 AM2/11/14
to ganeti...@googlegroups.com
Hello JBB,
Please can you share me your ganeti_webmgr installation documentation in redhat to me. i want to try in redhat

Chance Zibolski

unread,
Feb 11, 2014, 4:22:06 PM2/11/14
to ganeti...@googlegroups.com
Sonam,

Have you tried reading our deployment docs? For the current release of Ganeti Web Manager they aren't the best, but they should let you get Ganeti Web Manager set up to be public outside of your workstation.



--
You received this message because you are subscribed to the Google Groups "ganeti-webmgr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ganeti-webmg...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages