Nathan Rich created CLOUDSTACK-5671:
---------------------------------------

             Summary: vhd-util isn't compatible with cloudstack
                 Key: CLOUDSTACK-5671
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5671
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
    Affects Versions: 4.2.0
         Environment: CloudStack 4.2, XenServer 6.2SP1
            Reporter: Nathan Rich
            Priority: Critical


>From SMlog:

Dec 29 00:46:49 xs03 SM: [14296] ['/usr/bin/vhd-util', 'create', '--debug', 
'-n', 
'/dev/VG_XenStorage-8ae79926-f5b3-f7f4-3e2f-3ba33d9aea21/VHD-8d8ed01d-62a2-498e-9069-83b1f3be84f8',
 '-s', '20480', '-S', '2097152']
Dec 29 00:46:49 xs03 SM: [14296] FAILED in util.pread: (rc 22) stdout: 
'options: <-n name> <-s size (MB)> [-r reserve] [-h help]


Turns out there's no -S flag for the vhd-util which the install docs say to 
install:

[root@xs03 ~]# wget http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
--2013-12-29 01:18:00--  
http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
Resolving download.cloud.com.s3.amazonaws.com... 207.171.187.118
Connecting to download.cloud.com.s3.amazonaws.com|207.171.187.118|:80... 
connected.
HTTP request sent, awaiting response... 200 OK
Length: 318977 (312K) [binary/octet-stream]
Saving to: `vhd-util'

100%[===================================================================================================================================>]
 318,977      572K/s   in 0.5s

2013-12-29 01:18:01 (572 KB/s) - `vhd-util' saved [318977/318977]

[root@xs03 ~]# chmod +x vhd-util
[root@xs03 ~]# ./vhd-util create -S
create: invalid option -- S
options: <-n name> <-s size (MB)> [-r reserve] [-h help]
[root@xs03 ~]#




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to