osuosl / vagrant-ganeti

Vagrant files for a Ganeti tutorial and/or Ganeti testing environment
28 stars 13 forks source link

Missing configuration file /var/lib/ganeti/server.pem #10

Open pramttl opened 11 years ago

pramttl commented 11 years ago

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