frdmn
(Jonas Friedmann)
September 4, 2017, 10:48am
1
Versions of the related components and OS (frontend, hypervisors, VMs):
OpenNebula 5.4.0
vOneCloud 3.0.1
ESXi 5.5
Current results:
Frontend is missing a HDD resize slider.
Expected results:
Since version 3.0 - disk resize seems to be available through the UI (as stated in http://docs.vonecloud.today/pdf/vOneCloud-3.0.0.pdf ). Any ideas what I’m doing wrong that I don’t even see the option to resize?
tinova
(Tino Vázquez)
September 5, 2017, 10:44am
2
Can you share the output of the following:
onevm show -x
where vid is the id of the VM with a disk that cannot be resized?
frdmn
(Jonas Friedmann)
September 6, 2017, 8:51am
3
Hi Tino,
here’s the requested terminal output:
[root@vonecloud ~]# onevm show -x 60
<VM>
<ID>60</ID>
<UID>6</UID>
<GID>100</GID>
<UNAME>customerA-user1</UNAME>
<GNAME>customerA</GNAME>
<NAME>1</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>1503997628</LAST_POLL>
<STATE>8</STATE>
<LCM_STATE>0</LCM_STATE>
<PREV_STATE>8</PREV_STATE>
<PREV_LCM_STATE>0</PREV_LCM_STATE>
<RESCHED>0</RESCHED>
<STIME>1503997488</STIME>
<ETIME>0</ETIME>
<DEPLOY_ID>vm-152</DEPLOY_ID>
<MONITORING>
<CPU><![CDATA[0.0]]></CPU>
<DISKRDBYTES><![CDATA[0]]></DISKRDBYTES>
<DISKRDIOPS><![CDATA[0]]></DISKRDIOPS>
<DISKWRBYTES><![CDATA[0]]></DISKWRBYTES>
<DISKWRIOPS><![CDATA[0]]></DISKWRIOPS>
<MEMORY><![CDATA[0]]></MEMORY>
<NETRX><![CDATA[0]]></NETRX>
<NETTX><![CDATA[0]]></NETTX>
<STATE><![CDATA[a]]></STATE>
<VCENTER_ESX_HOST><![CDATA[172.16.16.1]]></VCENTER_ESX_HOST>
<VCENTER_GUEST_STATE><![CDATA[running]]></VCENTER_GUEST_STATE>
<VCENTER_RP_NAME><![CDATA[Resources]]></VCENTER_RP_NAME>
<VCENTER_VMWARETOOLS_RUNNING_STATUS><![CDATA[guestToolsNotRunning]]></VCENTER_VMWARETOOLS_RUNNING_STATUS>
<VCENTER_VMWARETOOLS_VERSION><![CDATA[2147483647]]></VCENTER_VMWARETOOLS_VERSION>
<VCENTER_VMWARETOOLS_VERSION_STATUS><![CDATA[guestToolsUnmanaged]]></VCENTER_VMWARETOOLS_VERSION_STATUS>
</MONITORING>
<TEMPLATE>
<AUTOMATIC_DS_REQUIREMENTS><![CDATA["CLUSTERS/ID" @> 101]]></AUTOMATIC_DS_REQUIREMENTS>
<AUTOMATIC_REQUIREMENTS><![CDATA[(CLUSTER_ID = 101) & !(PUBLIC_CLOUD = YES)]]></AUTOMATIC_REQUIREMENTS>
<CONTEXT>
<DISK_ID><![CDATA[1]]></DISK_ID>
<ETH0_CONTEXT_FORCE_IPV4><![CDATA[]]></ETH0_CONTEXT_FORCE_IPV4>
<ETH0_DNS><![CDATA[172.16.16.2]]></ETH0_DNS>
<ETH0_GATEWAY><![CDATA[172.16.16.254]]></ETH0_GATEWAY>
<ETH0_GATEWAY6><![CDATA[]]></ETH0_GATEWAY6>
<ETH0_IP><![CDATA[172.16.16.200]]></ETH0_IP>
<ETH0_IP6><![CDATA[]]></ETH0_IP6>
<ETH0_IP6_PREFIX_LENGTH><![CDATA[]]></ETH0_IP6_PREFIX_LENGTH>
<ETH0_IP6_ULA><![CDATA[]]></ETH0_IP6_ULA>
<ETH0_MAC><![CDATA[02:00:ac:10:10:c8]]></ETH0_MAC>
<ETH0_MASK><![CDATA[255.255.255.0]]></ETH0_MASK>
<ETH0_MTU><![CDATA[]]></ETH0_MTU>
<ETH0_NETWORK><![CDATA[172.16.16.0]]></ETH0_NETWORK>
<ETH0_SEARCH_DOMAIN><![CDATA[]]></ETH0_SEARCH_DOMAIN>
<ETH0_VLAN_ID><![CDATA[]]></ETH0_VLAN_ID>
<ETH0_VROUTER_IP><![CDATA[]]></ETH0_VROUTER_IP>
<ETH0_VROUTER_IP6><![CDATA[]]></ETH0_VROUTER_IP6>
<ETH0_VROUTER_MANAGEMENT><![CDATA[]]></ETH0_VROUTER_MANAGEMENT>
<NETWORK><![CDATA[YES]]></NETWORK>
<SET_HOSTNAME><![CDATA[1]]></SET_HOSTNAME>
<SSH_PUBLIC_KEY><![CDATA[]]></SSH_PUBLIC_KEY>
<START_SCRIPT_BASE64><![CDATA[ZWNobyAkKGRhdGUpID4gL3RtcC90ZXN0ZmlsZQ==]]></START_SCRIPT_BASE64>
<TARGET><![CDATA[hda]]></TARGET>
</CONTEXT>
<CPU><![CDATA[1]]></CPU>
<DISK>
<ALLOW_ORPHANS><![CDATA[NO]]></ALLOW_ORPHANS>
<CLONE><![CDATA[YES]]></CLONE>
<CLONE_TARGET><![CDATA[SYSTEM]]></CLONE_TARGET>
<CLUSTER_ID><![CDATA[101]]></CLUSTER_ID>
<DATASTORE><![CDATA[datastore1 [172.16.16.2 - Company.cloud] (IMG)]]></DATASTORE>
<DATASTORE_ID><![CDATA[101]]></DATASTORE_ID>
<DEV_PREFIX><![CDATA[sd]]></DEV_PREFIX>
<DISK_ID><![CDATA[0]]></DISK_ID>
<DISK_SNAPSHOT_TOTAL_SIZE><![CDATA[0]]></DISK_SNAPSHOT_TOTAL_SIZE>
<DISK_TYPE><![CDATA[FILE]]></DISK_TYPE>
<IMAGE><![CDATA[Ubuntu 16.04 LTS - Basisinstallation]]></IMAGE>
<IMAGE_ID><![CDATA[12]]></IMAGE_ID>
<IMAGE_STATE><![CDATA[2]]></IMAGE_STATE>
<LN_TARGET><![CDATA[NONE]]></LN_TARGET>
<OPENNEBULA_MANAGED><![CDATA[NO]]></OPENNEBULA_MANAGED>
<ORIGINAL_SIZE><![CDATA[5120]]></ORIGINAL_SIZE>
<READONLY><![CDATA[NO]]></READONLY>
<SAVE><![CDATA[NO]]></SAVE>
<SIZE><![CDATA[5120]]></SIZE>
<SOURCE><![CDATA[Ubuntu-16.04-LTS-base_tpl/Ubuntu-16.04-LTS-base_tpl.vmdk]]></SOURCE>
<TARGET><![CDATA[sda]]></TARGET>
<TM_MAD><![CDATA[vcenter]]></TM_MAD>
<TYPE><![CDATA[FILE]]></TYPE>
<VCENTER_DS_REF><![CDATA[datastore-25]]></VCENTER_DS_REF>
<VCENTER_INSTANCE_ID><![CDATA[36649022-8FB8-432E-A223-720AAA53C0ED]]></VCENTER_INSTANCE_ID>
</DISK>
<GRAPHICS>
<LISTEN><![CDATA[0.0.0.0]]></LISTEN>
<PORT><![CDATA[5960]]></PORT>
<TYPE><![CDATA[VNC]]></TYPE>
</GRAPHICS>
<MEMORY><![CDATA[512]]></MEMORY>
<NIC>
<AR_ID><![CDATA[0]]></AR_ID>
<BRIDGE><![CDATA[VM Network]]></BRIDGE>
<CLUSTER_ID><![CDATA[0,101]]></CLUSTER_ID>
<IP><![CDATA[172.16.16.200]]></IP>
<MAC><![CDATA[02:00:ac:10:10:c8]]></MAC>
<NETWORK><![CDATA[Company Cloud]]></NETWORK>
<NETWORK_ID><![CDATA[10]]></NETWORK_ID>
<NETWORK_UNAME><![CDATA[CloudAdmin]]></NETWORK_UNAME>
<NIC_ID><![CDATA[0]]></NIC_ID>
<OPENNEBULA_MANAGED><![CDATA[NO]]></OPENNEBULA_MANAGED>
<SECURITY_GROUPS><![CDATA[0]]></SECURITY_GROUPS>
<TARGET><![CDATA[one-60-0]]></TARGET>
<VCENTER_CCR_REF><![CDATA[domain-c21]]></VCENTER_CCR_REF>
<VCENTER_INSTANCE_ID><![CDATA[36649022-8FB8-432E-A223-720AAA53C0ED]]></VCENTER_INSTANCE_ID>
<VCENTER_NET_REF><![CDATA[network-26]]></VCENTER_NET_REF>
<VN_MAD><![CDATA[dummy]]></VN_MAD>
</NIC>
<OS>
<BOOT><![CDATA[]]></BOOT>
</OS>
<SECURITY_GROUP_RULE>
<PROTOCOL><![CDATA[ALL]]></PROTOCOL>
<RULE_TYPE><![CDATA[OUTBOUND]]></RULE_TYPE>
<SECURITY_GROUP_ID><![CDATA[0]]></SECURITY_GROUP_ID>
<SECURITY_GROUP_NAME><![CDATA[default]]></SECURITY_GROUP_NAME>
</SECURITY_GROUP_RULE>
<SECURITY_GROUP_RULE>
<PROTOCOL><![CDATA[ALL]]></PROTOCOL>
<RULE_TYPE><![CDATA[INBOUND]]></RULE_TYPE>
<SECURITY_GROUP_ID><![CDATA[0]]></SECURITY_GROUP_ID>
<SECURITY_GROUP_NAME><![CDATA[default]]></SECURITY_GROUP_NAME>
</SECURITY_GROUP_RULE>
<TEMPLATE_ID><![CDATA[10]]></TEMPLATE_ID>
<VCPU><![CDATA[1]]></VCPU>
<VMID><![CDATA[60]]></VMID>
</TEMPLATE>
<USER_TEMPLATE>
<DESCRIPTION><![CDATA[Basisinstallation Ubuntu 16.04 Long Term Support]]></DESCRIPTION>
<HYPERVISOR><![CDATA[vcenter]]></HYPERVISOR>
<INPUTS_ORDER><![CDATA[SET_HOSTNAME]]></INPUTS_ORDER>
<LOGO><![CDATA[images/logos/ubuntu.png]]></LOGO>
<SET_HOSTNAME><![CDATA[1]]></SET_HOSTNAME>
<SUNSTONE>
<NETWORK_SELECT><![CDATA[NO]]></NETWORK_SELECT>
</SUNSTONE>
<USER_INPUTS>
<CPU><![CDATA[O|fixed|| |1]]></CPU>
<MEMORY><![CDATA[M|range||512..2048|512]]></MEMORY>
<SET_HOSTNAME><![CDATA[M|text|Server Hostname:]]></SET_HOSTNAME>
<VCPU><![CDATA[O|range||1..4|1]]></VCPU>
</USER_INPUTS>
<VCENTER_CCR_REF><![CDATA[domain-c21]]></VCENTER_CCR_REF>
<VCENTER_INSTANCE_ID><![CDATA[36649022-8FB8-432E-A223-720AAA53C0ED]]></VCENTER_INSTANCE_ID>
<VCENTER_TEMPLATE_REF><![CDATA[vm-130]]></VCENTER_TEMPLATE_REF>
<VCENTER_VM_FOLDER><![CDATA[vOneCloud]]></VCENTER_VM_FOLDER>
</USER_TEMPLATE>
<HISTORY_RECORDS>
<HISTORY>
<OID>60</OID>
<SEQ>0</SEQ>
<HOSTNAME>vcloud_[172.16.16.2-Company.cloud]_8c17cd14414f</HOSTNAME>
<HID>1</HID>
<CID>101</CID>
<STIME>1503997497</STIME>
<ETIME>1503997628</ETIME>
<VM_MAD><![CDATA[vcenter]]></VM_MAD>
<TM_MAD><![CDATA[vcenter]]></TM_MAD>
<DS_ID>102</DS_ID>
<PSTIME>1503997497</PSTIME>
<PETIME>1503997498</PETIME>
<RSTIME>1503997498</RSTIME>
<RETIME>1503997628</RETIME>
<ESTIME>0</ESTIME>
<EETIME>0</EETIME>
<ACTION>20</ACTION>
<UID>6</UID>
<GID>100</GID>
<REQUEST_ID>8128</REQUEST_ID>
</HISTORY>
</HISTORY_RECORDS>
</VM>
tinova
(Tino Vázquez)
September 8, 2017, 8:58am
4
Not sure why is not showing. Can you send a screenshot of the Storage tab? The resize icon is pointed in the attached screenshot.
frdmn
(Jonas Friedmann)
September 29, 2017, 7:41am
5
Hi Tino,
here’s a screenshot of my storage tab:
Any idea why I don’t even see the appropriate actions?
Thanks,
Jonas
tinova
(Tino Vázquez)
October 6, 2017, 11:04am
6
The machine is in UNKNOWN state, that is why the interface is not showing the actions. Is the VM running in vCenter?
frdmn
(Jonas Friedmann)
October 9, 2017, 6:33am
7
Hi, Tino -
yeah it’s running in vCenter. Any idea why exactly it’s set to Unknown state?
Thanks
Jonas
tinova
(Tino Vázquez)
October 11, 2017, 8:32am
8
Let’s see what the monitoring probes are reporting. Please send us the output of the following command:
$ /var/lib/one/remotes/im/vcenter.d/poll x x x x
where HID is the Id of the host in OpenNebula where the VM is running.