concourse-bosh-release icon indicating copy to clipboard operation
concourse-bosh-release copied to clipboard

dev/vbox doesn't work

Open taylorsilva opened this issue 5 years ago • 0 comments

VBox not working on local workstations

Problem

Vbox has stopped working on our local workstations when trying to use scripts in: concourse-bosh-release/dev/vbox/

Virtualbox version: 6.0.4 & 6.0.8 macOS: 10.12.6

Steps to Reproduce / Details

cd ~/workspace/concourse-bosh-release
./dev/vbox/setup

I just tried this on three workstations. Setup failed on two and worked on one workstation. I'm not sure why this is working on 1/3 workstations.

The error we get on the two failing workstations:

Deploying:
  Creating instance 'bosh/0':
    Updating instance disks:
      Updating disks:
        Deploying disk:
          Attaching disk in the cloud:
            CPI 'attach_disk' method responded with error: CmdError{"type":"Bosh::Clouds::CloudError","message":"Attaching disk '{{disk-d513549a-b20f-4c62-52fe-aaa4e5263a5b}}' to VM '{{vm-31139fb9-d9da-4a10-5e84-ef0e4b707d4a}}': Reconfiguring agent after attaching disk: Retried '30' times: Running command: 'VBoxManage controlvm vm-31139fb9-d9da-4a10-5e84-ef0e4b707d4a pause', stdout: '', stderr: 'VBoxManage: error: Machine 'vm-31139fb9-d9da-4a10-5e84-ef0e4b707d4a' is not currently running\n': exit status 1","ok_to_retry":false}

Exit code 1

We've also seen a TLS timeout error, but that eventually stopped happening and now we only get this error.

If we use the VirtualBox GUI we'll see there's one VM with the state aborted. If you start that VM you'll see the following error a few seconds after reaching the login prompt:

audit: kauditd hold queue overflow

After seeing this error, clicking anywhere on the window will crash the vm.

Some troubleshooting things we've tried and haven't worked:

  • Deleting bosh's cache in ~/.bosh/
  • in the bosh-deployment submodule, checking out an earlier commit before a bunch of stemcell changes
  • Restarting our machine
  • Deleting every item we see in the Virtualbox GUI
  • Upgrading Virtualbox to 6.0.8

taylorsilva avatar May 16 '19 15:05 taylorsilva