cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rayees Namathponnan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-7051) [Automation] Failed to create SSVM and CPVM in KVM,
Date Mon, 14 Jul 2014 17:40:06 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-7051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14060913#comment-14060913
] 

Rayees Namathponnan commented on CLOUDSTACK-7051:
-------------------------------------------------

Still getting below error 

2014-07-13 11:00:48,362 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null)
Trying to fetch storage pool 4f3ad80a-b796-3db3-b126-9c12b5b5eafc from libvirt
2014-07-13 11:00:48,408 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-3:null)
nic=[Nic:Control-169.254.1.157-null]
2014-07-13 11:00:48,410 WARN  [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-3:null)
InternalErrorException
com.cloud.exception.InternalErrorException: plug: protocol or vNetId value is null
        at com.cloud.hypervisor.kvm.resource.BridgeVifDriver.plug(BridgeVifDriver.java:106)
        at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVif(LibvirtComputingResource.java:4046)
        at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVifs(LibvirtComputingResource.java:3777)
        at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3814)
        at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1337)
        at com.cloud.agent.Agent.processRequest(Agent.java:501)
        at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:808)
        at com.cloud.utils.nio.Task.run(Task.java:84)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)
2014-07-13 11:00:48,410 DEBUG [kvm.storage.KVMStoragePoolManager] (agentRequest-Handler-3:null)
Disconnecting disk 75816019-6cf8-499a-8de4-0f2176dca198
2014-07-13 11:00:48,410 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-3:null)
Trying to fetch storage pool 4f3ad80a-b796-3db3-b126-9c12b5b5eafc from libvirt
2014-07-13 11:00:48,414 DEBUG [kvm.resource.KVMGuestOsMapper] (agentRequest-Handler-5:null)
Can't find the mapping of guest os: Debian GNU/Linux 5.0 (64-bit)
2014-07-13 11:00:48,414 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-5:null)
Trying to fetch storage pool e9b0d73b-9890-3aae-8934-44bd194592e0 from libvirt
2014-07-13 11:00:48,478 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-5:null)
nic=[Nic:Control-169.254.0.12-null]
2014-07-13 11:00:48,478 WARN  [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null)
InternalErrorException
com.cloud.exception.InternalErrorException: plug: protocol or vNetId value is null
        at com.cloud.hypervisor.kvm.resource.BridgeVifDriver.plug(BridgeVifDriver.java:106)
        at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVif(LibvirtComputingResource.java:4046)
        at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVifs(LibvirtComputingResource.java:3777)
        at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3814)
        at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1337)
        at com.cloud.agent.Agent.processRequest(Agent.java:501)
        at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:808)
        at com.cloud.utils.nio.Task.run(Task.java:84)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)
2014-07-13 11:00:48,479 DEBUG [kvm.storage.KVMStoragePoolManager] (agentRequest-Handler-5:null)
Disconnecting disk 4c11d2b8-7a6d-41c5-98e8-ea275f593ca0
2014-07-13 11:00:48,479 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-5:null)
Trying to fetch storage pool e9b0d73b-9890-3aae-8934-44bd194592e0 from libvirt
2014-07-13 11:00:48,489 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) Seq 1-288230376151711765:
 { Ans: , MgmtId: 29066118877352, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StartAnswer"

> [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
>
>         Attachments: agent.rar, management-server.rar
>
>
> 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)

Mime
View raw message