[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

shweta agarwal updated CLOUDSTACK-7478:
---------------------------------------
    Attachment: ms.tar.gz
                agent.log.tar.gz

> [LXC] VM creation should fail when creating LXC VM with data disk and w/o 
> having ceph as primary storage
> --------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7478
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7478
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: KVM
>    Affects Versions: 4.5.0
>            Reporter: shweta agarwal
>            Assignee: Kishan Kavala
>            Priority: Critical
>             Fix For: 4.5.0
>
>         Attachments: agent.log.tar.gz, ms.tar.gz
>
>
> Repro steps:
> 1. Create a LXC zone with only nfs
> 2. Create a VM  with data disk
> Bug:
> VM  creations passes without giving error that data disk needs ceph storage
> Even usage events for data disk is also generated.
> VM  shows no data disk with it
> dumxml of VM shows:
> <domain type='lxc' id='11480'>
>   <name>i-2-21-VM</name>
>   <uuid>7da917bf-dd91-4185-92ce-a419b6a7e396</uuid>
>   <description>CentOS 6.3 (64-bit)</description>
>   <memory unit='KiB'>524288</memory>
>   <currentMemory unit='KiB'>524288</currentMemory>
>   <vcpu placement='static'>1</vcpu>
>   <cputune>
>     <shares>500</shares>
>   </cputune>
>   <resource>
>     <partition>/machine</partition>
>   </resource>
>   <os>
>     <type arch='x86_64'>exe</type>
>     <init>/sbin/init</init>
>   </os>
>   <features>
>     <acpi/>
>     <apic/>
>     <pae/>
>   </features>
>   <cpu>
>   </cpu>
>   <clock offset='utc'>
>     <timer name='kvmclock' present='no'/>
>   </clock>
>   <on_poweroff>destroy</on_poweroff>
>   <on_reboot>restart</on_reboot>
>   <on_crash>destroy</on_crash>
>   <devices>
>     <emulator>/usr/libexec/libvirt_lxc</emulator>
>     <filesystem type='mount' accessmode='passthrough'>
>       <source 
> dir='/mnt/dfa2ec3c-d133-3284-8583-0a0845aa4424/138ef448-03d7-4344-92a9-3e981b8826b6'/>
>       <target dir='/'/>
>     </filesystem>
>     <interface type='bridge'>
>       <mac address='06:00:f8:00:00:06'/>
>       <source bridge='brem1-30'/>
>       <target dev='vnet1'/>
>       <model type='virtio'/>
>       <bandwidth>
>         <inbound average='25600' peak='25600'/>
>         <outbound average='25600' peak='25600'/>
>       </bandwidth>
>     </interface>
>     <serial type='pty'>
>       <target port='0'/>
>     </serial>
>     <console type='pty' tty='/dev/pts/0'>
>       <source path='/dev/pts/0'/>
>       <target type='lxc' port='0'/>
>       <alias name='console0'/>
>     </console>
>     <memballoon model='none'/>
>   </devices>
>   <seclabel type='none' model='selinux'/>
> </domain>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to