Hi Steven,

apologies for the delay. I think I just realised what's wrong. If you look
at the output of onetemplate show:

      <TYPE><![CDATA['kvm'"]]></TYPE>

There are single and double quotes there that should not be there, it
should read:

      <TYPE><![CDATA[kvm]]></TYPE>

If I'm right, if you do "onetemplate update <id>" you willl see something
like:

TYPE="'kvm'\""

Which is of course wrong, you need to change it to:

TYPE="kvm"

Let me know if that fixes the issue.

Regards,
Jaime




On Mon, Dec 29, 2014 at 11:04 PM, Steven Timm <t...@fnal.gov> wrote:

> Jaime.
> Sorry I didn't see this earlier, before the holidays.
> Output of onevm show -x and onetemplate show -x is attached.
>
> Steve Timm
>
>
>
> [root@fermicloud198 timm]# onevm show 21579 -x
> <VM>
>   <ID>21579</ID>
>   <UID>5</UID>
>   <GID>1</GID>
>   <UNAME>nova</UNAME>
>   <GNAME>users</GNAME>
>   <NAME>SLF6routeprivatecw_2-21579</NAME>
>   <PERMISSIONS>
>     <OWNER_U>1</OWNER_U>
>     <OWNER_M>1</OWNER_M>
>     <OWNER_A>0</OWNER_A>
>     <GROUP_U>0</GROUP_U>
>     <GROUP_M>0</GROUP_M>
>     <GROUP_A>0</GROUP_A>
>     <OTHER_U>0</OTHER_U>
>     <OTHER_M>0</OTHER_M>
>     <OTHER_A>0</OTHER_A>
>   </PERMISSIONS>
>   <LAST_POLL>1419890528</LAST_POLL>
>   <STATE>3</STATE>
>   <LCM_STATE>3</LCM_STATE>
>   <RESCHED>0</RESCHED>
>   <STIME>1419882518</STIME>
>   <ETIME>0</ETIME>
>   <DEPLOY_ID>one-21579</DEPLOY_ID>
>   <MEMORY>1945600</MEMORY>
>   <CPU>0</CPU>
>   <NET_TX>1999450</NET_TX>
>   <NET_RX>269083560</NET_RX>
>   <TEMPLATE>
>     <AUTOMATIC_REQUIREMENTS><![CDATA[CLUSTER_ID = 100 & !(PUBLIC_CLOUD =
> YES)]]></AUTOMATIC_REQUIREMENTS>
>     <CONTEXT>
>       <DISK_ID><![CDATA[1]]></DISK_ID>
>       <EC2_KEYN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d09aU2JJOT
> NFNHJ2a2xLSFA5dk5WNXQ3R2lReTd1bld4bGp1ZVRmbUpKNTRUbGc0ZDNrRT
> EwZTl6UWFLY3dJc2lvdklTTGJTTTJuWTIzVWpJWVRSd1dCWW9rTkRRK3FseW
> k4elczNVl0SEIyTnZYQ3I3RmIvU3VqN2VhNWtkUEx6TGlaS3hweWxKOG05ej
> FQOEFIM0ZVSXR3TkFBQT0=]]></EC2_USER_DATA>
>       <ETH0_DNS><![CDATA[131.225.0.254]]></ETH0_DNS>
>       <ETH0_GATEWAY><![CDATA[10.128.0.1]]></ETH0_GATEWAY>
>       <ETH0_IP><![CDATA[10.128.3.143]]></ETH0_IP>
>       <ETH0_MAC><![CDATA[54:52:00:02:0f:8f]]></ETH0_MAC>
>       <ETH0_MASK><![CDATA[255.255.248.0]]></ETH0_MASK>
>
> <FILES><![CDATA[/cloud/images/OpenNebula/scripts/one3.2/contextualization/init.sh
> /cloud/images/OpenNebula/scripts/one3.2/contextualization/credentials.sh
> /cloud/images/OpenNebula/scripts/one3.2/contextualization/kerberos.sh
> /cloud/images/OpenNebula/scripts/one3.2/contextualization/worker_node_
> priv.sh]]></FILES>
>       <INIT_SCRIPTS><![CDATA[init.sh credentials.sh kerberos.sh
> worker_node_priv.sh]]></INIT_SCRIPTS>
>       <NETWORK><![CDATA[YES]]></NETWORK>
>       <ROOT_PUBKEY><![CDATA[id_dsa.pub]]></ROOT_PUBKEY>
>       <TARGET><![CDATA[hdc]]></TARGET>
>       <USERNAME><![CDATA[opennebula]]></USERNAME>
>       <USER_PUBKEY><![CDATA[id_dsa.pub]]></USER_PUBKEY>
>     </CONTEXT>
>     <CPU><![CDATA[1]]></CPU>
>     <DISK>
>       <CLONE><![CDATA[YES]]></CLONE>
>       <CLONE_TARGET><![CDATA[SYSTEM]]></CLONE_TARGET>
>       <CLUSTER_ID><![CDATA[100]]></CLUSTER_ID>
>       <DATASTORE><![CDATA[cloud_images]]></DATASTORE>
>       <DATASTORE_ID><![CDATA[102]]></DATASTORE_ID>
>       <DEV_PREFIX><![CDATA[vd]]></DEV_PREFIX>
>       <DISK_ID><![CDATA[0]]></DISK_ID>
>       <DRIVER><![CDATA[qcow2]]></DRIVER>
>       <IMAGE><![CDATA[SLF6_prvm]]></IMAGE>
>       <IMAGE_ID><![CDATA[9]]></IMAGE_ID>
>       <LN_TARGET><![CDATA[NONE]]></LN_TARGET>
>       <READONLY><![CDATA[NO]]></READONLY>
>       <SAVE><![CDATA[NO]]></SAVE>
>       <SIZE><![CDATA[262144]]></SIZE>
>
> <SOURCE><![CDATA[/var/lib/one/datastores/102/
> 60d3b644687a06391205500bf0c54b32]]></SOURCE>
>       <TARGET><![CDATA[vda]]></TARGET>
>       <TM_MAD><![CDATA[shared]]></TM_MAD>
>       <TYPE><![CDATA[FILE]]></TYPE>
>     </DISK>
>     <FEATURES>
>       <ACPI><![CDATA[yes]]></ACPI>
>     </FEATURES>
>     <GRAPHICS>
>       <AUTOPORT><![CDATA[yes]]></AUTOPORT>
>       <KEYMAP><![CDATA[en-us]]></KEYMAP>
>       <LISTEN><![CDATA[127.0.0.1]]></LISTEN>
>       <PORT><![CDATA[27479]]></PORT>
>       <TYPE><![CDATA[vnc]]></TYPE>
>     </GRAPHICS>
>     <MEMORY><![CDATA[1900]]></MEMORY>
>     <NIC>
>       <AR_ID><![CDATA[663]]></AR_ID>
>       <BRIDGE><![CDATA[br1]]></BRIDGE>
>       <CLUSTER_ID><![CDATA[100]]></CLUSTER_ID>
>       <IP><![CDATA[10.128.3.143]]></IP>
>       <MAC><![CDATA[54:52:00:02:0f:8f]]></MAC>
>       <MODEL><![CDATA[virtio]]></MODEL>
>       <NETWORK><![CDATA[routable-private]]></NETWORK>
>       <NETWORK_ID><![CDATA[0]]></NETWORK_ID>
>       <NETWORK_UNAME><![CDATA[oneadmin]]></NETWORK_UNAME>
>       <NIC_ID><![CDATA[0]]></NIC_ID>
>       <VLAN><![CDATA[NO]]></VLAN>
>     </NIC>
>     <OS>
>       <ARCH><![CDATA[x86_64]]></ARCH>
>       <BOOT><![CDATA[hd]]></BOOT>
>     </OS>
>     <RAW>
>       <DATA><![CDATA[
>                 <devices>
>                 <serial type='pty'>
>                         <target port='0'/>
>                 </serial>
>                 <console type='pty'>
>                 <target type='serial' port='0'/>
>                 </console>
>                 </devices>]]></DATA>
>       <TYPE><![CDATA['kvm'"]]></TYPE>
>     </RAW>
>     <TEMPLATE_ID><![CDATA[2]]></TEMPLATE_ID>
>     <VCPU><![CDATA[1]]></VCPU>
>     <VMID><![CDATA[21579]]></VMID>
>   </TEMPLATE>
>   <USER_TEMPLATE>
>     <EC2_INSTANCE_TYPE><![CDATA[glideinwms.1cpupriv]]></EC2_INSTANCE_TYPE>
>     <EC2_TAGS>
>       <NAME><![CDATA[glidein_startup.sh]]></NAME>
>     </EC2_TAGS>
>     <NPTYPE><![CDATA[NPERNLM]]></NPTYPE>
>     <SCHED_RANK><![CDATA[FREE_MEM]]></SCHED_RANK>
>     <SCHED_REQUIREMENTS><![CDATA[HYPERVISOR="kvm" &
> HOSTNAME="cloudworker*"]]></SCHED_REQUIREMENTS>
>   </USER_TEMPLATE>
>   <HISTORY_RECORDS>
>     <HISTORY>
>       <OID>21579</OID>
>       <SEQ>0</SEQ>
>       <HOSTNAME>cloudworker1020</HOSTNAME>
>       <HID>20</HID>
>       <CID>100</CID>
>       <STIME>1419882540</STIME>
>       <ETIME>0</ETIME>
>       <VMMMAD>kvm</VMMMAD>
>       <VNMMAD>dummy</VNMMAD>
>       <TMMAD>ssh</TMMAD>
>       <DS_LOCATION>/var/lib/one//datastores</DS_LOCATION>
>       <DS_ID>100</DS_ID>
>       <PSTIME>1419882540</PSTIME>
>       <PETIME>1419882548</PETIME>
>       <RSTIME>1419882548</RSTIME>
>       <RETIME>0</RETIME>
>       <ESTIME>0</ESTIME>
>       <EETIME>0</EETIME>
>       <REASON>0</REASON>
>       <ACTION>0</ACTION>
>     </HISTORY>
>   </HISTORY_RECORDS>
> </VM>
> [root@fermicloud198 timm]# onetemplate show 2 -x
> <VMTEMPLATE>
>   <ID>2</ID>
>   <UID>0</UID>
>   <GID>1</GID>
>   <UNAME>oneadmin</UNAME>
>   <GNAME>users</GNAME>
>   <NAME>SLF6routeprivatecw_2</NAME>
>   <PERMISSIONS>
>     <OWNER_U>1</OWNER_U>
>     <OWNER_M>1</OWNER_M>
>     <OWNER_A>0</OWNER_A>
>     <GROUP_U>1</GROUP_U>
>     <GROUP_M>0</GROUP_M>
>     <GROUP_A>0</GROUP_A>
>     <OTHER_U>1</OTHER_U>
>     <OTHER_M>0</OTHER_M>
>     <OTHER_A>0</OTHER_A>
>   </PERMISSIONS>
>   <REGTIME>1412361665</REGTIME>
>   <TEMPLATE>
>     <CONTEXT>
>       <ETH0_DNS><![CDATA[$NETWORK[DNS, NETWORK='routable-private']]]>
> </ETH0_DNS>
>       <ETH0_GATEWAY><![CDATA[$NETWORK[GATEWAY,
> NETWORK='routable-private']]]></ETH0_GATEWAY>
>       <ETH0_IP><![CDATA[$NIC[IP, NETWORK='routable-private']]]></ETH0_IP>
>       <ETH0_MASK><![CDATA[$NETWORK[NETWORK_MASK,
> NETWORK='routable-private']]]></ETH0_MASK>
>       <ETH0_NETWORK><![CDATA[$NETWORK[NETWORK_ADDRESS,
> NETWORK='routable-private']]]></ETH0_NETWORK>
>
> <FILES><![CDATA[/cloud/images/OpenNebula/scripts/one3.2/contextualization/init.sh
> /cloud/images/OpenNebula/scripts/one3.2/contextualization/credentials.sh
> /cloud/images/OpenNebula/scripts/one3.2/contextualization/kerberos.sh
> /cloud/images/OpenNebula/scripts/one3.2/contextualization/worker_node_
> priv.sh]]></FILES>
>       <INIT_SCRIPTS><![CDATA[init.sh credentials.sh kerberos.sh
> worker_node_priv.sh]]></INIT_SCRIPTS>
>       <NETWORK><![CDATA[YES]]></NETWORK>
>       <ROOT_PUBKEY><![CDATA[id_dsa.pub]]></ROOT_PUBKEY>
>       <TARGET><![CDATA[hdc]]></TARGET>
>       <USERNAME><![CDATA[opennebula]]></USERNAME>
>       <USER_PUBKEY><![CDATA[id_dsa.pub]]></USER_PUBKEY>
>     </CONTEXT>
>     <CPU><![CDATA[1]]></CPU>
>     <EC2_INSTANCE_TYPE><![CDATA[glideinwms.1cpupriv]]></EC2_INSTANCE_TYPE>
>     <FEATURES>
>       <ACPI><![CDATA[yes]]></ACPI>
>     </FEATURES>
>     <GRAPHICS>
>       <AUTOPORT><![CDATA[yes]]></AUTOPORT>
>       <KEYMAP><![CDATA[en-us]]></KEYMAP>
>       <LISTEN><![CDATA[127.0.0.1]]></LISTEN>
>       <TYPE><![CDATA[vnc]]></TYPE>
>     </GRAPHICS>
>     <MEMORY><![CDATA[1900]]></MEMORY>
>     <NIC>
>       <MODEL><![CDATA[virtio]]></MODEL>
>       <NETWORK><![CDATA[routable-private]]></NETWORK>
>       <NETWORK_UNAME><![CDATA[oneadmin]]></NETWORK_UNAME>
>     </NIC>
>     <NPTYPE><![CDATA[NPERNLM]]></NPTYPE>
>     <OS>
>       <ARCH><![CDATA[x86_64]]></ARCH>
>       <BOOT><![CDATA[hd]]></BOOT>
>     </OS>
>     <RAW>
>       <DATA><![CDATA[
>                 <devices>
>                 <serial type='pty'>
>                         <target port='0'/>
>                 </serial>
>                 <console type='pty'>
>                 <target type='serial' port='0'/>
>                 </console>
>                 </devices>]]></DATA>
>       <TYPE><![CDATA['kvm'"]]></TYPE>
>     </RAW>
>     <REQUIREMENTS><![CDATA[HYPERVISOR="kvm" & HOSTNAME="cloudworker*"]]></
> REQUIREMENTS>
>     <SCHED_RANK><![CDATA[FREE_MEM]]></SCHED_RANK>
>     <VCPU><![CDATA[1]]></VCPU>
>   </TEMPLATE>
> </VMTEMPLATE>
> [root@fermicloud198 timm]#
>
>
>
>
> On Tue, 16 Dec 2014, Jaime Melis wrote:
>
>
>> Hi,
>>
>> Can you send us onevm show -x of the VM and the onetemplate show -x?
>>
>> Regards,
>> Jaime
>>
>> On Dec 15, 2014 11:47 PM, "Steven Timm" <t...@fnal.gov> wrote:
>>       Under OpenNebula 3.2 we used the RAW section to declare a serial
>>       console in libvirt which could then be attached to on the
>>       hypervisor
>>       via virsh console.
>>
>>       (this comes in very handy if you are dealing with windows or mac
>>       desktops which don't have a very good X emulation for VNC
>>       viewers).
>>
>>       Template syntax looked like this:
>>
>>       RAW=[
>>         DATA="
>>                       <devices>
>>                       <serial type='pty'>
>>                               <target port='0'/>
>>                       </serial>
>>                       <console type='pty'>
>>                       <target type='serial' port='0'/>
>>                       </console>
>>                       </devices>",
>>         TYPE=kvm ]
>>
>>       And this is what the corresponding xml in deployment.0 looks
>>       like.
>>
>>
>>                       <devices>
>>                       <serial type='pty'>
>>                               <target port='0'/>
>>                       </serial>
>>                       <console type='pty'>
>>                       <target type='serial' port='0'/>
>>                       </console>
>>                       </devices>
>>
>>       -----------------
>>
>>       In OpenNebula 4.8 I have exactly the same syntax and according
>>       to
>>       the docs it should work.  the fields from the template show up
>>       in onevm show but they do not show up in deployment.0.
>>       That means this is not a libvirt error, it's an opennebula error
>>       and somehow the code that generates the kvm-based xml from the
>>       template isn't working right.
>>
>>       Steve Timm
>>
>>
>>
>>       ------------------------------------------------------------------
>>       Steven C. Timm, Ph.D  (630) 840-8525
>>       t...@fnal.gov  http://home.fnal.gov/~timm/
>>       Office:  Wilson Hall room 804
>>       Fermilab Scientific Computing Division,
>>       Currently transitioning from:
>>       Scientific Computing Services Quadrant
>>       Grid and Cloud Services Dept., Associate Dept. Head for Cloud
>>       Computing
>>
>>       To:
>>       Scientific Computing Facilities Quadrant.,
>>       Experimental Computing Facilities Dept.,
>>       Project Lead for Virtual Facility Project.
>>
>>
>>       _______________________________________________
>>       Users mailing list
>>       Users@lists.opennebula.org
>>       http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>>
>>
> ------------------------------------------------------------------
> Steven C. Timm, Ph.D  (630) 840-8525
> t...@fnal.gov  http://home.fnal.gov/~timm/
> Office:  Wilson Hall room 804
> Fermilab Scientific Computing Division,
> Currently transitioning from:
> Scientific Computing Services Quadrant
> Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing
>
> To:
> Scientific Computing Facilities Quadrant.,
> Experimental Computing Facilities Dept.,
> Project Lead for Virtual Facility Project.
>
>
> _______________________________________________
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | jme...@opennebula.org
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to