OpenNebula / one

The open source Cloud & Edge Computing Platform bringing real freedom to your Enterprise Cloud 🚀
http://opennebula.io
Apache License 2.0
1.23k stars 478 forks source link

Add onegather tool to support tab #6560

Open tinova opened 5 months ago

tinova commented 5 months ago

Right now there are few ways for our customers to provide onegather bundle:

  1. upload it to zendesk (if it's small enough);
  2. upload it into OpenNebula ssh-enabled dedicated host;
  3. some customers share onegather bundle over own http-server.

The proposal is to have onegather button built-in Funstone what should simplify (hopefully) for the customer the way they provide such bundle. Being logged in as oneadmin user in Funstone pressing such button should triggers an execution of sudo onegather --all command (or some other set of arguments or maybe one needs to have a separate menu to provide the user possibility to specify required options for onegather command) If the button is pressed first time (e.g. the customer have no account on the OpenNebula ssh-enabled host) then an email with oneadmin's public key should be sent to OpenNebula support team with e.g. the following information:

login (generated automatically based on the customer's organization name, e.g. e2e, or cloud4c, etc... or maybe domain of its public FQDN of the opennebula FN)
public key (content of /var/lib/one/.ssh/id_rsa.pub file)

The representative of OpenNebula support team has to create account on the OpenNebula ssh-enabled host and enable public key authentication for it. Using public key of the oneadmin's key pairs (/var/lib/one/.ssh/id_rsa.pub by default) one can upload onegather bundle into customer's home dir on the OpenNebula ssh-enabled dedicated host.