Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Attaching disk failing for bucc up --lite #15

Open
httran13 opened this issue Jan 28, 2019 · 0 comments
Open

Attaching disk failing for bucc up --lite #15

httran13 opened this issue Jan 28, 2019 · 0 comments

Comments

@httran13
Copy link

When using bucc up --lite (after bucc down --clean), Attaching disk to vm is failing.

When Attaching disk task starts, the vm status goes into "Aborted," I've checked the logs of the vm but can't see anything useful:

00:00:10.750687 Audio: Disabling input for driver 'CoreAudio'
00:00:10.804227 Audio: Enabling input for driver 'CoreAudio'
00:00:10.820188 Audio: Disabling input for driver 'CoreAudio'
00:00:10.873021 Audio: Enabling input for driver 'CoreAudio'
00:00:25.899273 PIIX3 ATA: Ctl#0: RESET, DevSel=0 AIOIf=0 CmdIf0=0xc8 (-1 usec ago) CmdIf1=0xc8 (-1 usec ago)
00:00:25.899424 PIIX3 ATA: Ctl#0: finished processing RESET
00:00:32.352704 Changing the VM state from 'RUNNING' to 'SUSPENDING'
00:00:32.742042 PDMR3Suspend: 389 275 012 ns run time
00:00:32.742110 Changing the VM state from 'SUSPENDING' to 'SUSPENDED'
00:00:32.742134 Console: Machine state changed to 'Paused'
00:00:32.831141 DrvVD: Flushes will be ignored
00:00:32.831180 DrvVD: Async flushes will be passed to the disk
00:00:32.835211 VD: Opening the disk took 4014132 ns
00:00:32.835305 PIIX3 ATA: LUN#2: disk, PCHS=16383/16/63, total number of sectors 134217728
00:00:32.835507 ************************* CFGM dump *************************
00:00:32.835509 [/Devices/piix3ide/0/LUN#2/] (level 0)
00:00:32.835512   Driver <string>  = "VD" (cb=3)
00:00:32.835513 
00:00:32.835514 [/Devices/piix3ide/0/LUN#2/Config/] (level 1) (restricted root)
00:00:32.835516   Format    <string>  = "VMDK" (cb=5)
00:00:32.835518   Mountable <integer> = 0x0000000000000000 (0)
00:00:32.835520   Path      <string>  = "/Users/huytran/.bosh_virtualbox_cpi/disks/disk-4d3350c0-5b61-458a-6ac7-41337d252bf3/disk.vmdk" (cb=94)
00:00:32.835521   Type      <string>  = "HardDisk" (cb=9)
00:00:32.835522 
00:00:32.835523 ********************* End of CFGM dump **********************
00:00:32.902423 Changing the VM state from 'SUSPENDED' to 'RESUMING'
00:00:32.983719 Changing the VM state from 'RESUMING' to 'RUNNING'
00:00:32.983758 Console: Machine state changed to 'Running'```

When the cli is trying to attach the disk, it takes quite some time for it to figure out it can't attach the disk. Any ideas how I can debug this?

Steps i've taken:

- Allow permission to virtual box to control my host machine in mac>perferenced>security&privacy
- Ensure all vms on virtualbox are removed before bucc up --lite
- Ensure all state/* files are removed.
- Monitoring vbox to see vm* status goes from "Running" to "Aborted" when "Attaching disk" occurred.

Any help is appreciated, thanks!
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant