[one-users] Stuck in PENDING after upgrade to 3.8

Ruben S. Montero rsmontero at opennebula.org
Tue Nov 13 13:09:09 PST 2012


Hi,

Just for the records. This problem was caused by a http proxy, using the
http_proxy environment variable, makes the
scheduler impossible to communicate to oned.

Errors in sched.log, are:

Tue Nov 13 14:43:13 2012 [HOST][E]: Exception raised: Unable to transport
XML to server and get XML response back.  HTTP response: 403
Tue Nov 13 14:43:13 2012 [POOL][E]: Could not retrieve pool info from ONE


Cheers

Ruben


On Tue, Nov 13, 2012 at 2:22 PM, Gerry O'Brien <gerry at scss.tcd.ie> wrote:

> Hi,
>
>     I recently upgraded to 3.8 and everything went find except when I now
> instantiate a template (using either onetemplate or Sunstone) the VM is
> stuck in pending. If I then "onevm deploy" the VM everything works fine.
> There are no error messages. The output from "onevm show" and "onevm show
> -x" is below after I have nudged it out of Pending with "onevm deploy".
>
>     The Requirements are <REQUIREMENTS><![CDATA[**CLUSTER_ID =
> 100]]></REQUIREMENTS> and that cluster exists
>
>
>     Any ideas?
>
>         Regards,
>             Gerry
>
>
>
> oneadmin at scsscloudmgr:~$ onevm show 210
> VIRTUAL MACHINE 210 INFORMATION
> ID                  : 210
> NAME                : xxx
> USER                : oneadmin
> GROUP               : oneadmin
> STATE               : ACTIVE
> LCM_STATE           : PROLOG
> RESCHED             : No
> HOST                : host004.scss.tcd.ie
> START TIME          : 11/13 12:48:52
> END TIME            : -
> DEPLOY ID           : -
>
> VIRTUAL MACHINE MONITORING
> NET_TX              : 0K
> NET_RX              : 0K
> USED MEMORY         : 0K
> USED CPU            : 0
>
> PERMISSIONS
> OWNER               : um-
> GROUP               : ---
> OTHER               : ---
>
> VIRTUAL MACHINE TEMPLATE
> CPU=".5"
> DISK=[
>   CLONE="YES",
>   CLUSTER_ID="100",
>   DATASTORE="default",
>   DATASTORE_ID="1",
>   DEV_PREFIX="hd",
>   DISK_ID="0",
>   IMAGE="System Disk [Big Network]",
>   IMAGE_ID="25",
>   IMAGE_UNAME="oneadmin",
>   READONLY="NO",
>   SAVE="NO",
> SOURCE="/var/lib/one/**datastores/1/**2d035d5f33c34bb402e3bf146a4347**ac",
>   TARGET="hda",
>   TM_MAD="shared",
>   TYPE="FILE" ]
> GRAPHICS=[
>   LISTEN="0.0.0.0",
>   PORT="6110",
>   TYPE="vnc" ]
> MEMORY="1024"
> NAME="xxx"
> NIC=[
>   BRIDGE="br0",
>   IP="10.59.0.15",
>   MAC="02:00:0a:3b:00:0f",
>   NETWORK="BigNetwork",
>   NETWORK_ID="7",
>   NETWORK_UNAME="oneadmin",
>   VLAN="NO" ]
> OS=[
>   ARCH="x86_64",
>   BOOT="hd" ]
> RAW=[
>   TYPE="kvm" ]
> REQUIREMENTS="CLUSTER_ID = 100"
> TEMPLATE_ID="26"
> VMID="210"
>
> VIRTUAL MACHINE HISTORY
>  SEQ HOST            REASON           START            TIME PROLOG_TIME
>    0 host004.scss.tc none    11/13 12:51:42    0d 00h00m31s    0d
> 00h00m31s
>
>
>
>
> oneadmin at scsscloudmgr:~$ onevm show 210 -x
> <VM>
>   <ID>210</ID>
>   <UID>0</UID>
>   <GID>0</GID>
>   <UNAME>oneadmin</UNAME>
>   <GNAME>oneadmin</GNAME>
>   <NAME>xxx</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>0</LAST_POLL>
>   <STATE>3</STATE>
>   <LCM_STATE>1</LCM_STATE>
>   <RESCHED>0</RESCHED>
>   <STIME>1352810932</STIME>
>   <ETIME>0</ETIME>
>   <DEPLOY_ID/>
>   <MEMORY>0</MEMORY>
>   <CPU>0</CPU>
>   <NET_TX>0</NET_TX>
>   <NET_RX>0</NET_RX>
>   <TEMPLATE>
>     <CPU><![CDATA[.5]]></CPU>
>     <DISK>
>       <CLONE><![CDATA[YES]]></CLONE>
>       <CLUSTER_ID><![CDATA[100]]></**CLUSTER_ID>
>       <DATASTORE><![CDATA[default]]>**</DATASTORE>
>       <DATASTORE_ID><![CDATA[1]]></**DATASTORE_ID>
>       <DEV_PREFIX><![CDATA[hd]]></**DEV_PREFIX>
>       <DISK_ID><![CDATA[0]]></DISK_**ID>
>       <IMAGE><![CDATA[System Disk [Big Network]]]></IMAGE>
>       <IMAGE_ID><![CDATA[25]]></**IMAGE_ID>
> <IMAGE_UNAME><![CDATA[**oneadmin]]></IMAGE_UNAME>
>       <READONLY><![CDATA[NO]]></**READONLY>
>       <SAVE><![CDATA[NO]]></SAVE>
> <SOURCE><![CDATA[/var/lib/one/**datastores/1/**
> 2d035d5f33c34bb402e3bf146a4347**ac]]></SOURCE>
>       <TARGET><![CDATA[hda]]></**TARGET>
>       <TM_MAD><![CDATA[shared]]></**TM_MAD>
>       <TYPE><![CDATA[FILE]]></TYPE>
>     </DISK>
>     <GRAPHICS>
>       <LISTEN><![CDATA[0.0.0.0]]></**LISTEN>
>       <PORT><![CDATA[6110]]></PORT>
>       <TYPE><![CDATA[vnc]]></TYPE>
>     </GRAPHICS>
>     <MEMORY><![CDATA[1024]]></**MEMORY>
>     <NAME><![CDATA[xxx]]></NAME>
>     <NIC>
>       <BRIDGE><![CDATA[br0]]></**BRIDGE>
>       <IP><![CDATA[10.59.0.15]]></**IP>
>       <MAC><![CDATA[02:00:0a:3b:00:**0f]]></MAC>
>       <NETWORK><![CDATA[BigNetwork]]**></NETWORK>
>       <NETWORK_ID><![CDATA[7]]></**NETWORK_ID>
> <NETWORK_UNAME><![CDATA[**oneadmin]]></NETWORK_UNAME>
>       <VLAN><![CDATA[NO]]></VLAN>
>     </NIC>
>     <OS>
>       <ARCH><![CDATA[x86_64]]></**ARCH>
>       <BOOT><![CDATA[hd]]></BOOT>
>     </OS>
>     <RAW>
>       <TYPE><![CDATA[kvm]]></TYPE>
>     </RAW>
>     <REQUIREMENTS><![CDATA[**CLUSTER_ID = 100]]></REQUIREMENTS>
>     <TEMPLATE_ID><![CDATA[26]]></**TEMPLATE_ID>
>     <VMID><![CDATA[210]]></VMID>
>   </TEMPLATE>
>   <HISTORY_RECORDS>
>     <HISTORY>
>       <OID>210</OID>
>       <SEQ>0</SEQ>
>       <HOSTNAME>host004.scss.tcd.ie<**/HOSTNAME>
>       <HID>45</HID>
>       <STIME>1352811102</STIME>
>       <ETIME>0</ETIME>
>       <VMMMAD>vmm_kvm</VMMMAD>
>       <VNMMAD>dummy</VNMMAD>
>       <TMMAD>shared</TMMAD>
> <DS_LOCATION>/var/lib/one//**datastores</DS_LOCATION>
>       <DS_ID>0</DS_ID>
>       <PSTIME>1352811102</PSTIME>
>       <PETIME>0</PETIME>
>       <RSTIME>0</RSTIME>
>       <RETIME>0</RETIME>
>       <ESTIME>0</ESTIME>
>       <EETIME>0</EETIME>
>       <REASON>0</REASON>
>     </HISTORY>
>   </HISTORY_RECORDS>
> </VM>
>
>
>
> oneadmin at scsscloudmgr:~$ onevm show 210 -x | grep -i requirements
>     <REQUIREMENTS><![CDATA[**CLUSTER_ID = 100]]></REQUIREMENTS>
>
>
>
>
> --
> Gerry O'Brien
>
> Systems Manager
> School of Computer Science and Statistics
> Trinity College Dublin
> Dublin 2
> IRELAND
>
> 00 353 1 896 1341
>
> ______________________________**_________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>



-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121113/f95136d3/attachment-0002.htm>


More information about the Users mailing list