Continuing with my tests, now using VMware environment, that I already have running several production services, if possible I would like to check some points.
Could some please could clarify me about the following points!?
Is not possible resize the SO disk (based on template) ?
How can I add new disks to instance/vm and is it possible resize it?
Should I create an “Image” type “Generic Storage DataBlock” using the Vcenter Datastore previously imported ? Or need execute other procedure?
It seems Opennebula contextualization does not working, if I undertood correctly.
I have created a ubuntu template in Vmware and imported it using Sunstone, and I did the same with VM Virtual Network.
When I start the ubuntu machine the system does not apply the hostname, ip address config. remebering that I have instaled the https://github.com/OpenNebula/addon-context-linux/releases/download/v5.0.2/one-context-ec2_5.0.2.deb.
When I do a shutdown by Sytem SSH/Console the SunStone show me that VM still in “Running” state, is it normal!?
There are other points that I would check, but I 'm executing several tests before ask.
1 Is not possible resize the SO disk (based on template) ?
Not currently, we are working to add this feature for next OpenNebula releases
2 How can I add new disks to instance/vm and is it possible resize it? (Should I create an “Image” type “Generic Storage DataBlock” using the Vcenter Datastore previously imported ? Or need execute other procedure?)
You can import Datastores and VMDKs as images. Once imported, you can go to the Storage tab of a running VM and click on Attach Disk button. Currently it is not possible to resize it.
3 It seems Opennebula contextualization does not working, if I undertood correctly. I have created a ubuntu template in Vmware and imported it using Sunstone, and I did the same with VM Virtual Network. When I start the ubuntu machine the system does not apply the hostname, ip address config. remebering that I have instaled the https://github.com/OpenNebula/addon-context-linux/releases/download/v5.0.2/one-context-ec2_5.0.2.deb.
This is the correct workflow, although you are probably missing adding a new NIC to the VM Template before instantiating it, is this step also covered?
4 When I do a shutdown by Sytem SSH/Console the SunStone show me that VM still in “Running” state, is it normal!?
No, it should go to poweroff state in OpenNebula. What is the state of the VM in vCenter?
In case of, the end user using the “Sunstone GUI”, all process need to be done by Sunstone.
The correct way is, instanciate new vm, and after that create new datablock disk and attach it on Vm previously instantiated?
Yes, that would be the correct workflow.
What is the correct/indicated network type when imported by Sunstone Ethernet or IPv4 ?
With type Ethernet, OpenNebula won’t assign IP addresses to VMs, only MAC addresses. With type IP4, OpenNebula will assign IP addresses.
The current state in vCenter is powerd off. look the images attached.
Odd, could you send through the output of the following command executed in the OpenNebula front-end
/var/lib/one/remotes/im/vcenter.d/vcenter.rb x x x x ClusterCloud
where HID is the id of the ClusterCloud as seen in the ID column of the Host tab in Sunstone.
Look this other log attached pls.
As I told, I’ve deleted the VM with ID 11 days ago. But onevm show -x 11 show me information about that VM and any other that I already deleted.
It is the normal behaviour, OpenNebula maintains the VM in the DB after its lifecycle ends. Please note that the state is DONE (6 is the internal number for state DONE).
Since the ID has changed, I would need the test again:
/var/lib/one/remotes/im/vcenter.d/vcenter.rb x x x x ClusterCloud
as well as the log VM 11 and the last 500 lines of oned.log