Rayees Namathponnan created CLOUDSTACK-7051: -----------------------------------------------
Summary: [Automation] Failed to create SSVM and CPVM in KVM, Key: CLOUDSTACK-7051 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7051 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: KVM Affects Versions: 4.5.0 Environment: RHEL : 6.3 build : 4.5 Reporter: Rayees Namathponnan Priority: Blocker Fix For: 4.5.0 SSVM and CPVM not creating with latest 4.5 build, copy command failing form agent observed below error in agent log, 2014-07-02 16:14:58,170 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Execution is successful. 2014-07-02 16:14:58,171 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Formatting '/mnt/4f3ad80a-b7 96-3db3-b126-9c12b5b5eafc/48ef9a74-0244-11e4-b040-1a6f7bb0d0a8', fmt=qcow2 size=2621440000 encryption=off clus ter_size=65536 preallocation='off' 2014-07-02 16:14:58,171 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Executing: qemu-img info --o utput json /mnt/4f3ad80a-b796-3db3-b126-9c12b5b5eafc/48ef9a74-0244-11e4-b040-1a6f7bb0d0a8 2014-07-02 16:14:58,173 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Exit value is 1 2014-07-02 16:14:58,173 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) info: invalid option -- '-'q emu-img version 0.12.1, Copyright (c) 2004-2008 Fabrice Bellardusage: qemu-img command [command options]QEMU d isk image utilityCommand syntax: check [-f fmt] filename create [-f fmt] [-o options] filename [size] commi t [-f fmt] [-t cache] filename convert [-c] [-p] [-f fmt] [-t cache] [-O output_fmt] [-o options] [-S sparse_ size] filename [filename2 [...]] output_filename info [-f fmt] filename snapshot [-l | -a snapshot | -c snap shot | -d snapshot] filename rebase [-f fmt] [-t cache] [-p] [-u] -b backing_file [-F backing_fmt] filename resize filename [+ | -]sizeCommand parameters: 'filename' is a disk image filename 'fmt' is the disk image f ormat. It is guessed automatically in most cases 'cache' is the cache mode used to write the output disk imag e, the valid options are: 'none', 'writeback' (default), 'writethrough' and 'unsafe' 'size' is the disk im age size in bytes. Optional suffixes 'k' or 'K' (kilobyte, 1024), 'M' (megabyte, 1024k), 'G' (gigabyte, 102 4M) and T (terabyte, 1024G) are supported. 'b' is ignored. 'output_filename' is the destination disk image filename 'output_fmt' is the destination format 'options' is a comma separated list of format specific opti ons in a name=value format. Use -o ? for an overview of the options supported by the used format '-c' i ndicates that target image must be compressed (qcow format only) '-u' enables unsafe rebasing. It is assumed that old and new backing file match exactly. The image doesn't need a working backing file before rebasing in this case (useful for renaming the backing file) '-h' with or without a command shows this help a nd lists the supported formats '-p' show progress of command (only certain commands) '-S' indicates the cons ecutive number of bytes that must contain only zeros for qemu-img to create a sparse image during conver sionParameters to snapshot subcommand: 'snapshot' is the name of the snapshot to create, apply or delete '-a ' applies a snapshot (revert disk to saved state) '-c' creates a snapshot '-d' deletes a snapshot '-l' lists all snapshots in the given imageSupported formats: raw cow qcow vdi vmdk cloop dmg bochs vpc vvfat qcow2 qed parallels nbd blkdebug host_cdrom host_floppy host_device file -- This message was sent by Atlassian JIRA (v6.2#6252)