new instance c5d,c5,m5 - trying to unmount root
felka opened this issue · comments
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