izoratti / MAAS_VirtualBox

VirtualBox Extensions for MAAS
GNU General Public License v2.0
25 stars 13 forks source link

VMs NOT Powering On #1

Open rehanp opened 9 years ago

rehanp commented 9 years ago

Hi Ivan,

Read your article:

https://insights.ubuntu.com/2015/01/15/virtualbox-extensions-for-maas/

I've a similar setup. MAC OS X Yosemite is the host. VirtualBox is doing the virtualization. I've got two MAAS Cluster Controllers (VMs). The first one is also a region controller. And as an outcome of trials, I've got four guest VMs acting as nodes.

Followed your article, successfully installed your extensions and performed post-installation steps. The host extensions are also installed on MAC OS X. However, when I try to start the VMs from MAAS GUI, the VMs just don't load. I get the following msg:

"The action "Start selected nodes" could not be performed on 4 nodes because their state does not allow that action."

At first I tried by specifying the last 12 digits of guests' (nodes) UID of the guest in MAC address field of Power parameters. That didn't work. Then I used the MAC address which was appearing in nodes' properties. Thats what I also saw in the initial bootup of nodes when it was receiving the IP address. That MAC address also didn't help.

I've struggled for quite a few days before writing. Please help.

Regards, RP

kristiandrucker commented 9 years ago

Hi I think I've solved your issue. :D You'll need to run these commands and replace quotes with your-admin-username to your admin username without quotes: sudo maas-region-admin apikey --username="your-admin-username" > ~/VBox_extensions/maas-api-key chmod 600 ~/VBox_extensions/maas-api-key

cstalker99 commented 8 years ago

Hi, this is a great article, I have done all the configurations but when I commission the node and it tries to power on the virtualbox machine does not start, I have a virtualbox MAAS master used the install_extension script as maas id to provision my personal id. When I start the node01 the first time it is found in the MAAS node list, update the wakeonlan and MAC address and custom cluster of id@maasip but the power on will not start and no vbox.log file either, this is ubuntu 14.04 both instance on oracle virtualbox v5.x. Any suggest would be great.

cstalker99 commented 8 years ago

sorry, just to update, there is VBox.log activity VirtualBox-Power ON: Fri Oct 9 15:21:04 MDT 2015 Credentials: cstalker@192.168.56.101 ID: 08002774b029

VirtualBox: Fri Oct 9 15:21:04 MDT 2015 HOME: /var/lib/maas MAC Address: 08:00:27:74:b0:29 Power Change: on

but the virtualbox node01 instance for that mac (which is what shows up in the network) does not power on.