Skip to content

Using gateone as openstack console for cloud servers  #408

@hchilbule

Description

@hchilbule

I am working on prototype for my project which will work like this:

  • a user requests console access to one of his server using openstack API
  • openstack API returns a url like https://yourserver.com?token=abscd234
  • user copy pastes the lint into a browser
  • yourserver.com request hits gateone server
  • the token=abscd234 need to get validated by calling a opnestack API ( auth backend )
  • validation of this token returns gateone: ssh-user, ssh-host, ssh-pass or key
  • gateone redirects user to a page which auto-connects to given ssh-host
  • information like enter ssh host is never asked from user or allowed to be given
  • this token is only valid for a short time, it does not work for long time (~ 5 minutes )
  • user has to call openstack API again to generate a unique URL if console access it required after his session expired

So far I have managed to hack the auth.py to use openstack token validation and it works. I also create a user with name as unique identifier of console request.

Can you please give me some pointers on implementing this ?
Bit lost in the gateone code while looking for ways to implement this.

Thanks in advance!

  • Harish

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions