4.12.1 VNC capabilities for imported VMs from vCenter

I updated the release from 4:12 to 4.12.1, I did a refresh of vm but I do not see the possibility of using the vnc.
I have to remove all or is there a procedure to follow?

This new feature will only apply to newly imported VMs, you will need to reimport these VMs.

Hi

thanks for response but if I try to import the command onevcenter vms --vcenter srv004it --vuser administrator --vpass xxxxxx , tells me that there are no vm import.
there is a command to re-import

Since the VMs are already imported, OpenNebula won’t offer to reimport them again. There are various ways to work around this, probably the easier would be to erase OpenNebula DB (by default in /var/lib/one/one.db), although you’d lose all the infomration of the VMs in OpenNebula.

Hi

It’s possible to have the procedure to delete one.db ?
I try following procedure without success
Stop opennebula service
cp one.db one.orig
cat /dev/null > one.db
start opennebula service
Serivce opennebula failed to start

Could you share the log file (/var/log/one/oned.log)?

the server failed to start below the error in the log

Mon Apr 13 06:17:05 2015 [Z0][ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG]
Mon Apr 13 06:17:05 2015 [Z0][ONE][I]: Support for xmlrpc-c > 1.31: yes
Mon Apr 13 06:17:05 2015 [Z0][ONE][I]: Checking database version.
Mon Apr 13 06:17:05 2015 [Z0][ONE][I]: oned is using version 4.11.80 for local_db_versioning
Mon Apr 13 06:17:05 2015 [Z0][ONE][I]: oned is using version 4.11.80 for db_versioning
Mon Apr 13 06:17:05 2015 [Z0][ACL][I]: Starting ACL Manager…
Mon Apr 13 06:17:05 2015 [Z0][ACL][I]: ACL Manager started.
Mon Apr 13 06:17:05 2015 [Z0][ONE][E]: Password file /var/lib/one//.one/sunstone_auth already exists but OpenNebula is boostraping the database. Check your database configuration in oned.conf.

Please erase the contents of /var/lib/one/.one/ and try again.

below the error
Mon Apr 13 06:34:58 2015 [Z0][ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG]
Mon Apr 13 06:34:58 2015 [Z0][ONE][I]: Support for xmlrpc-c > 1.31: yes
Mon Apr 13 06:34:58 2015 [Z0][ONE][I]: Checking database version.
Mon Apr 13 06:34:58 2015 [Z0][ONE][I]: oned is using version 4.11.80 for local_db_versioning
Mon Apr 13 06:34:58 2015 [Z0][ONE][I]: oned is using version 4.11.80 for db_versioning
Mon Apr 13 06:34:58 2015 [Z0][ACL][I]: Starting ACL Manager…
Mon Apr 13 06:34:58 2015 [Z0][ACL][I]: ACL Manager started.
Mon Apr 13 06:34:58 2015 [Z0][ONE][E]: Could not open file: /var/lib/one/.one/one_auth

Apologies, forgot to mention to erase both:

/var/lib/one/one.db
/var/lib/one/.one/*

and try again

ok now working , but I do not see the possibility of controlling the vm via vnc. I need to enable something?

The vCenter VM needs to have enabled the VNC in the .vmx file:

remoteDisplay.vnc.enabled = “TRUE”
remoteDisplay.vnc.password = “password”
remoteDisplay.vnc.port = “59xx”

Hi

for each VM?

Thanks

Yes, you need that for each VM that needs VNC access, before importing it to OpenNebula