I was using the default Vagrantfile in project root.
Now I happened to have issued vagrant up on node2 followed by node1. (note the changed order)
Further when I try to restart the ganeti service on node2, I get the following error:
Missing configuration file /var/lib/ganeti/server.pem
root@node2:~# service ganeti restart
* Restarting Ganeti cluster
* ganeti-confd... [ OK ]
* ganeti-rapi... [ OK ]
* ganeti-masterd... [ OK ]
* ganeti-noded... [ OK ]
Missing configuration file /var/lib/ganeti/server.pem
* Incomplete configuration, will not run.
In general when I vagrant up node2 before node1 then I face strange kind of problems like the one above.
Another example:
After this, when I try to restart the ganeti service on node1, this is what I get:
ERROR:root:Can't activate master IP address: Failed to start the master IP. Script return value: 1
I was using the default Vagrantfile in project root. Now I happened to have issued vagrant up on node2 followed by node1. (note the changed order)
Further when I try to restart the ganeti service on node2, I get the following error: Missing configuration file /var/lib/ganeti/server.pem
In general when I vagrant up node2 before node1 then I face strange kind of problems like the one above.
Another example: After this, when I try to restart the ganeti service on node1, this is what I get: ERROR:root:Can't activate master IP address: Failed to start the master IP. Script return value: 1