TobyHFerguson / Davenport

Project to provide automated creation of a Bare Metal Provisioning (BMP) environment for Oracle 12C
0 stars 0 forks source link

createBMP.sh is not robust #20

Open TobyHFerguson opened 9 years ago

TobyHFerguson commented 9 years ago

I had successfully run createBMP.sh, I then ran it again and got this:

[toby@dell-server-2 BMP]$ ./createBMP.sh 
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Disk image created. UUID: 9595793e-f910-460b-8ce6-925d3626e4f9
VBoxManage: error: The object is not ready
VBoxManage: error: Details: code E_ACCESSDENIED (0x80070005), component SessionMachine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "AttachDevice(Bstr(pszCtl).raw(), port, device, DeviceType_HardDisk, pMedium2Mount)" at line 744 of file VBoxManageStorageController.cpp
Connection to 127.0.0.1 closed.
Waiting for VM "BMP" to power on...
VM "BMP" has been successfully started.

I then powered it off and tried again, and again got an error:

[toby@dell-server-2 BMP]$ ./createBMP.sh 
VBoxManage: error: No storage device attached to device slot 0 on port 0 of controller 'SATA'
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component SessionMachine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "DetachDevice(Bstr(pszCtl).raw(), port, device)" at line 381 of file VBoxManageStorageController.cpp
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Disk image created. UUID: 3d4cc0ce-9933-43e4-823a-dcc783bb41fc
Connection to 127.0.0.1 closed.
Waiting for VM "BMP" to power on...
VM "BMP" has been successfully started.

In both cases the machine appeared to boot successfully, but I'm concerned that there's some error that hasn't yet occurred which is being masked

TobyHFerguson commented 9 years ago

This might have something to do with having the GUI open and the details page open too ...