Bug #540
Numeric context variable causes undefined template
Status: | Closed | Start date: | 03/22/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Ruben S. Montero | % Done: | 0% | |
Category: | Core & System | |||
Target version: | Release 3.0 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: |
Description
Creating a Virtual Machine with a context containing a numeric variable causes that the VM template is not shown in 'onevm show id'. Sunstone breaks in this case with 'bytesize method not found' exception.
onedummy@hector:~/lib/mads> onevm show 66
VIRTUAL MACHINE 66 INFORMATION
ID : 66
NAME : mi2
STATE : PENDING
LCM_STATE : LCM_INIT
START TIME : 03/21 18:03:16
END TIME : -
DEPLOY ID: : -
VIRTUAL MACHINE MONITORING
NET_TX : 0
NET_RX : 0
USED MEMORY : 0
USED CPU : 0
VIRTUAL MACHINE TEMPLATE
onedummy@hector:~/lib/mads> onevm show 66 -x
<VM>
<ID>66</ID>
<UID>0</UID>
<NAME>mi2</NAME>
<LAST_POLL>0</LAST_POLL>
<STATE>1</STATE>
<LCM_STATE>0</LCM_STATE>
<STIME>1300726996</STIME>
<ETIME>0</ETIME>
<DEPLOY_ID/>
<MEMORY>0</MEMORY>
<CPU>0</CPU>
<NET_TX>0</NET_TX>
<NET_RX>0</NET_RX>
<LAST_SEQ>-1</LAST_SEQ>
<TEMPLATE/>
</VM>
Associated revisions
History
#1 Updated by Ruben S. Montero over 10 years ago
- Category set to Core & System
- Assignee set to Ruben S. Montero
- Target version set to Release 3.0
#2 Updated by Ruben S. Montero about 10 years ago
- Status changed from New to Closed
- Resolution set to fixed
This has been fixed as part of bug #576