Bug 475490 - koan does not aware where the lvm tools are [f-10]
Summary: koan does not aware where the lvm tools are [f-10]
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: koan
Version: 10
Hardware: All
OS: Linux
urgent
high
Target Milestone: ---
Assignee: Michael DeHaan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-09 13:51 UTC by Anton Arapov
Modified: 2014-06-18 08:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-09 14:20:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
proposed patch (1.99 KB, patch)
2008-12-09 14:05 UTC, Anton Arapov
no flags Details | Diff

Description Anton Arapov 2008-12-09 13:51:59 UTC
Versions:
  koan-1.2.6-1.fc10.noarch
  cobbler-1.2.9-1.fc10.noarch
  lvm2-2.02.39-6.fc10.x86_64

how to reproduce:
  # cobbler list
    distro F-10-i386
       profile F-10-i386
    distro F-10-x86_64
       profile F-10-x86_64
       system vguest

  # cobbler system add --name vguest --profile F-10-x86_64 --virt-type qemu --virt-bridge virbr0 --virt-path vg
  
  # koan --server 'host' --virt --system vguest
   - reading URL: http://host/cblr/svc/op/ks/system/vguest
   install_tree: http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/x86_64/os/
   libvirtd (pid  2677) is running...
   /usr/sbin/vgs -o vg_name
   File descriptor 3 left open
     VG  
     vg  

   /usr/sbin/vgs --noheadings -o vg_free --units g vg
   File descriptor 3 left open
   (57.12)
   /usr/sbin/lvs -o lv_name vg
   /bin/sh: /usr/sbin/lvs: No such file or directory

   /usr/sbin/lvcreate -L 5G -n vguest1-disk0 vg
   /bin/sh: /usr/sbin/lvcreate: No such file or directory
   LVM creation failed

WHERE IS MY [lvcreate|lvs|vgs] ?
  # which vgs lvs lvcreate
   /sbin/vgs
   /sbin/lvs
   /sbin/lvcreate

does this ring the bells? :)

Comment 1 Anton Arapov 2008-12-09 14:05:11 UTC
Created attachment 326315 [details]
proposed patch

with this patch everything working as expected

Comment 2 Michael DeHaan 2008-12-09 14:19:45 UTC
Thanks, this is fixed already on the development branch (as of yesterday) and will be included in the 1.4 release.


Note You need to log in before you can comment on or make changes to this bug.