setup-storage 1.6: return of the dreaded 'Cannot satisfy pre-depends'?

Kerim Güney kgueney at uni-koeln.de
Thu Aug 21 16:42:56 CEST 2014


Tested it, can't recreate.

Given config works fine on an older 1.6 build, that I still had lying 
around, and for me it works fine using the repo version, as well. Is it 
possible that your preparation step is faulty?

(Sorry for the initial off-list mail, Thomas)

On 08/21/2014 01:13 PM, Thomas Neumann wrote:
> Hello
>
> setup-storage 1.5: LVM delete+create works
> setup-storage 1.6: LVM delete+create broken
>
> Can someone confirm this regression? I am pretty sure I haven't done 
> some stupid mistake
> (like using the wrong libraries) but an independent confirmation would 
> be nice.
>
>
> how to reproduce:
>
> == preparation on fai-server ==
>
> (clone repo & modify setup-storage to use the repo's libraries)
>   mkdir /srv/fai/config/tools
>   git clone https://github.com/faiproject/fai.git 
> /srv/fai/config/tools/fai
>   cp -a /srv/fai/config/tools/fai/bin/setup-storage 
> /srv/fai/config/tools/setup-storage_git
>   sed -i 
> 's#/usr/share/fai/setup-storage/#/var/lib/fai/config/tools/fai/lib/setup-storage#' 
> /srv/fai/config/tools/setup-storage_git
>
> (create a sample disk config)
> vi /srv/fai/config/disk_config/lvm_test
> --------------- 8< --------------------------
> disk_config sda
> primary  -  4GiB  -  -
>
> disk_config lvm
> vg my_vg sda1
> my_vg-root  -  1024  -  -
> --------------- 8< --------------------------
>
>
> == perform test on fai-client ==
>
>   /var/lib/fai/config/tools/setup-storage_git -X -f 
> /var/lib/fai/config/disk_config/lvm_test
>   /var/lib/fai/config/tools/setup-storage_git -X -f 
> /var/lib/fai/config/disk_config/lvm_test
>   setup-storage -X -f /var/lib/fai/config/disk_config/lvm_test
>
> The first cmd should execute fine
> The second cmd should fail with "Cannot satisfy pre-depends"
> The third cmd should execute fine (if it's setup-storage 1.5)
>
> ---------------------------------------------
> Starting setup-storage 1.6
> Using config file: /var/lib/fai/config/disk_config/lvm_test
> W: mdadm: using ARRAYs defined in existing mdadm.conf.
>      Finding all volume groups
>      Finding volume group "my_vg"
>      Finding all volume groups
>      Finding volume group "my_vg"
>      Finding all volume groups
>      Finding volume group "my_vg"
>      Finding all volume groups
>      Finding volume group "my_vg"
> Cannot satisfy pre-depends for vgremove my_vg: 
> vgchange_a_n_VG_my_vg,lv_rm_my_vg/root -- system left untouched.
> ---------------------------------------------
>
> bye
> thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai-devel/attachments/20140821/47d96d39/attachment.html>


More information about the linux-fai-devel mailing list