<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>[one-users] issue: sunstone can't attach OS disk</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">Hi,</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"> </SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"> <FONT FACE="Calibri">I encountered one problem du</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">ring VM creation tests.</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">Problem:</FONT> <FONT FACE="Calibri">VM machine</FONT> <FONT FACE="Calibri">create</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">d by</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"></FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">“</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">sunstone</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">”</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"></FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">with</FONT> <FONT FACE="Calibri">registered</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"></FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">OS image</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">is runni</FONT><FONT FACE="Calibri">ng without disk image.</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">Workaround: use</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">“</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">onevm</FONT> <FONT FACE="Calibri">create</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">”</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> insteadly.</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">From deployment file,</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">no disk argument existed.</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">=============== VM created by</FONT> <FONT FACE="Calibri">sunstone</FONT><FONT FACE="Calibri"></FONT> <FONT FACE="Calibri">web interface</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> ==================</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">[root@host1 bin]# cat /var/lib/one/6/images/deployment.0</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"><domain type='kvm'></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <name>one-6</name></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <vcpu>1</vcpu></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <memory>524288</memory></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <os></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <typ</FONT><FONT FACE="Calibri">e arch='i686'>hvm</type></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <boot dev='hd'/></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> </os></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <devices></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <emulator>/usr/libexec/qemu-kvm</emulator></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <graphics type='vnc' listen='172.24.178.38' port='5905'/></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> </devices></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <featu</FONT><FONT FACE="Calibri">res></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <acpi/></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> </features></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"></domain></FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<BR>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">=============== VM created by onevm command</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> ==================</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">[root@host1 bin]# cat /var/lib/one/7/images/deployment.0</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"><domain type='kvm'></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <name>one-7</name></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <memory>524288</memory></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <os></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <type arch='i686'>hvm</type></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <boot dev='hd'/></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> </os></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <devices></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <emulator>/usr/libexec/qemu-kvm</emulator></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <disk type='file' device='disk'></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <source file='/var/lib/one//7/images/disk.0'/></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> </FONT> <FONT FACE="Calibri"> <target dev='hda'/></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <driver name='qemu' type='raw'/></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> </disk></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> </devices></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <features></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> <acpi/></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> </features></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"></domain></FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"> <FONT FACE="Calibri">Some info:</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">[root@cloudmanager images]# onevm</FONT><FONT FACE="Calibri"> list</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> ID USER NAME STAT CPU MEM HOSTNAME TIME</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> 6 root test-5 runn 12 512M 172.24.178.38 00 00:11:12</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> 7 root test-6 pend 0 0K 00 00:00:03</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">[root@cloudmanager images]# </FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">[root@cloudman</FONT><FONT FACE="Calibri">ager images]# oneimage list</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> ID USER NAME TYPE REGTIME PUB PER STAT #VMS</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri"> 2 root test_image_register_ OS Mar 09, 2011 02:38 Yes No used 1</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">[root@cloudmanager images]# </FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">[root@cloudmanager images]# rpm -qa | grep -i openNe</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">opennebula-2.1.80-1</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">[root@cloudmanager images]# cat vmtest.conf </FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">NAME = test-6</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">MEMORY = 512</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">CPU = 1</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">EMULATOR = /usr/libexec/qemu-kvm</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">ARCH = i686</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">BOOT = h</FONT><FONT FACE="Calibri">d</FONT></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"><FONT FACE="Calibri">DISK = [ IMAGE= "test_image_register_ttylinux" ]</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR ALIGN=JUSTIFY><SPAN LANG="en-us"> </SPAN></P>
</BODY>
</HTML>