Installation
Ports open needed for OneDock
OneDock doesn't need any specific ports open, although you need to have all the ports from OpenNebula and Docker correctly configured.
Installing master and node in the same host
If you use the package installation and you want to install the master and the node on the same host you are going to create a conflict in the openenbula sudoers file. To manually fix this conflict you have to edit the file
and remove the duplicated entries:
after the fix:
To finish restart the opennebula service so the changes are registered:
Issues
Trying to edit the sudoers file is not working in Ubuntu
Installing both packages in the same host creates and invalid sudoers file for opennebula. Editing the file in centos is not a problem, but in ubuntu you cannot use the command sudo visudo -f ...
due to the error in the file. The solution is using the pkexec
command so we can edit the file as the root user.
From the man description of the pkexec
pkexec allows an authorized user to execute PROGRAM as another user. If username is not specified, then the program will be executed as the administrative super user, root.
so, executing:
will allow us to edit the openenbula file.
Last updated