Skip to content

unable to re-deploy using bosh-init #167

Closed

Description

@codeword

I am unable to re-deploy using bosh-init.
my deployment includes baggageclaim and on re-deployment the agent is reporting that it cannot unmount our persistent disk. This seems to be because baggageclaim has a loopback device still attached to the persistent disk:

umount: /var/vcap/store: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
root@c9b2050c-b747-4985-58b0-21424dd60d1d:/var/vcap/bosh/log# losetup -a
/dev/loop0: [0812]:12 (/var/vcap/data/root_tmp)
/dev/loop1: [0821]:393218 (/var/vcap/store/baggageclaim/volumes.img)
/dev/loop2: [0812]:1441795 (/var/vcap/data/garden/garden_graph_backing_store)

this is after the agent has stopped all monit processes.

I am going to manually kill that loopback via losetup -d /dev/loop1 then re-run my bosh-init deploy command which should work but isn't a working solution moving forward. You may have a bug in your baggageclaim process

...
Update
we tried the losetup -d /dev/loop1 and it reported a 0 status but the device was still attached. finally we ran ummount /dev/loop1 and it finally got removed.

Activity

  1. concourse-bot commented on Oct 15, 2015

    @concourse-bot

    Hi there!

    We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

    The current status is as follows:

    This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

  2. aaronshurley commented on Nov 19, 2015

    @aaronshurley

    We encountered this problem again. It looks like the bug is not prioritized, but this is a pretty severe bug as we are unable to re-deploy concourse without knowing about the need to manually losetup -d ... and umount ... Any word on prioritizing this?

  3. nicorikken commented on Nov 26, 2015

    @nicorikken

    +1 Would be great to at least have some insight in this progress, as the needed manual actions undermine an otherwise satisfying experience.

  4. saliceti commented on Dec 7, 2015

    @saliceti

    +1: Same issue here. Only losetup -d /dev/loop1 ; umount /dev/loop1 solved it.

  5. vito commented on Dec 10, 2015

    @vito
    Contributor

    @nicorikken / @saliceti / @aaronshurley Dragged in, but could use more info for characterizing this.

    Do all of your workers have a persistent disk?

  6. concourse-bot commented on Dec 11, 2015

    @concourse-bot

    Hello again!

    All stories related to this issue have been accepted, so I'm going to automatically close this issue.

    At the time of writing, the following stories have been accepted:

    If you feel there is still more to be done, or if you have any questions, leave a comment and we'll reopen if necessary!

  7. added a commit that references this issue on May 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions