Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new instance c5d,c5,m5 - trying to unmount root #69

Open
felka opened this issue Jun 3, 2018 · 0 comments
Open

new instance c5d,c5,m5 - trying to unmount root #69

felka opened this issue Jun 3, 2018 · 0 comments

Comments

@felka
Copy link

felka commented Jun 3, 2018

c5, c5d and m5 has nvme root device. cookbook trying to umount it and fails

 * mount[/] action umount

      ================================================================================
      Error executing action `umount` on resource 'mount[/]'
      ================================================================================

      Mixlib::ShellOut::ShellCommandFailed
      ------------------------------------
      Expected process to exit with [0], but received '1'
      ---- Begin output of umount / ----
      STDOUT:
      STDERR: umount: /: device is busy.
              (In some cases useful info about processes that use
               the device is found by lsof(8) or fuser(1))
      ---- End output of umount / ----
      Ran umount / returned 1

      Cookbook Trace:
      ---------------
      /var/chef/cache/cookbooks/lvm/libraries/provider_lvm_volume_group.rb:119:in `block in create_mount_resource'
      /var/chef/cache/cookbooks/lvm/libraries/provider_lvm_volume_group.rb:108:in `each'
      /var/chef/cache/cookbooks/lvm/libraries/provider_lvm_volume_group.rb:108:in `create_mount_resource'
      /var/chef/cache/cookbooks/lvm/libraries/provider_lvm_volume_group.rb:53:in `action_create'
      /var/chef/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:78:in `run_action'
      /var/chef/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:106:in `block (2 levels) in converge'
      /var/chef/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:106:in `each'
      /var/chef/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:106:in `block in converge'
      /var/chef/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:105:in `converge'

      Resource Declaration:
      ---------------------
      # In /var/chef/cache/cookbooks/lvm/libraries/provider_lvm_volume_group.rb

      115:           mount_resource = mount mount_point do
      116:             device pv
      117:             action :nothing
      118:           end
      119:           mount_resource.run_action(:umount)

      Compiled Resource:
      ------------------
      # Declared in /var/chef/cache/cookbooks/lvm/libraries/provider_lvm_volume_group.rb:115:in `block in create_mount_resource'

      mount("/") do
        action [:nothing]
        supports {:remount=>false}
        retries 0
        retry_delay 2
        default_guard_interpreter :default
        mount_point "/"
        device "/dev/nvme0n1p1"
        device_type :device
        fsck_device "-"
        fstype "auto"
        options ["defaults"]
        dump 0
        pass 2
        declared_type :mount
        cookbook_name "ephemeral_lvm"
      end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant