Re: [one-users] Source image stuck in state CLONE and target image stuck in state LOCKED

2015-02-03 Thread Daniel Dehennin
Gerry O'Brien ge...@scss.tcd.ie writes:

 Hi,

Hello,

 The oned (4.6.2) daemon was restarted during a clone and now the
 source image is stuck in state CLONE and target image is stuck in state
 LOCKED. The actual Linux copy completed so both images are OK.

 How to I reset them to the READY state? Is there an oneimage command
 or does the database have to be modified. If the database has to be
 modified are there maintenance commands to do this?

I got this one time, I tried to disable then enable the images and then
everything was OK.

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF


signature.asc
Description: PGP signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Source image stuck in state CLONE and target image stuck in state LOCKED

2015-02-03 Thread Gerry O'Brien
Hi Daniel,

  Thanks for the reply. Sorry, but that didn't work. It won't let me
change state while an IMAGE is in CLONE or LOCKED.

  I have an image which is unusable because I cannot change its state.

Regards,
Gerry

On 04/02/2015 06:56, Daniel Dehennin wrote:
 Gerry O'Brien ge...@scss.tcd.ie writes:

 Hi,
 Hello,

 The oned (4.6.2) daemon was restarted during a clone and now the
 source image is stuck in state CLONE and target image is stuck in state
 LOCKED. The actual Linux copy completed so both images are OK.

 How to I reset them to the READY state? Is there an oneimage command
 or does the database have to be modified. If the database has to be
 modified are there maintenance commands to do this?
 I got this one time, I tried to disable then enable the images and then
 everything was OK.

 Regards.


 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


-- 
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@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Editor not defined

2015-02-03 Thread barbieri vincenzo
Hi

when launching the command onedatastore update me the message

Editor not defined

thanks
Vincenzo
Le comunicazioni Internet non sono sicure e quindi Vbarbieri non accetta alcuna 
responsabilita' per il contenuto di questo messaggio. Sebbene vbarbieri abbia 
attivato programmi anti-virus, non accetta responsabilita' per qualsiasi tipo 
di danno che possa derivare dal trasferimento di virus.Qualsiasi punto di vista 
od opinione espressa sono esclusivamente quelli dell'autore e non rappresentano 
necessariamente quelli di Vbarbieri . Le risposte a questo messaggio 
elettronico possono essere controllate da Vbarbieri per ragioni di sicurezza, 
operative o aziendali. Nel rispetto delle disposizioni di legge e regolamento 
applicabili, Vbarbieri si riserva il diritto di monitorare le comunicazioni 
elettroniche attraverso apposite attivita' di monitoraggio finalizzate 
all'identificazione e alla prevenzione della diffusione accidentale e/o 
fraudolenta di informazioni. Qualsiasi uso non autorizzato di questo messaggio 
elettronico o dei suoi allegati e' proibito e potrebbe costituire un reato. Se 
non siete il destinatario desiderato di questa mail, qualunque comunicazione, 
copia, distribuzione oqualunque azione od omissione in relazione ai dati in 
essa contenuti e' illecita, e siete pregato di informare immediatamente il 
mittente utilizzando l'opzione Rispondi nel vostro software di 
postaelettronica e di distruggere il messaggio e tutti i suoi allegati.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Introducing the new vOneCloud Community Support Portal

2015-02-03 Thread Tino Vazquez
Dear OpenNebula users,


OpenNebula Systems proudly announces the new vOneCloud Community Support
Portal and Forum:


  https://support.vonecloud.com/hc/communities/public/topics


Hence, from this moment on we encourage vOneCloud users to register in the
above portal and submit their support questions and feature requests
through the forum, in order to keep support separated from OpenNebula and
vOneCloud.


This will make our life much easier, we appreciate it!


The OpenNebula Systems Team


--

OpenNebula - Flexible Enterprise Cloud Made Simple


--

Constantino Vázquez Blanco, PhD, MSc

VP of Engineering | Head of Research at OpenNebula Systems

cvazquez@OpenNebula.Systems | @OpenNebula


--

Confidentiality Warning: The information contained in this e-mail and any
accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person and/or
entity to whom it is addressed (i.e. those identified in the To and cc
box). They are the property of OpenNebula.Systems S.L.. Unauthorized
distribution, review, use, disclosure, or copying of this communication, or
any part thereof, is strictly prohibited and may be unlawful. If you have
received this e-mail in error, please notify us immediately by e-mail at
abuse@opennebula.systems and delete the e-mail and attachments and any copy
from your system. OpenNebula's thanks you for your cooperation.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Source image stuck in state CLONE and target image stuck in state LOCKED

2015-02-03 Thread Gerry O'Brien
Hi,

The oned (4.6.2) daemon was restarted during a clone and now the
source image is stuck in state CLONE and target image is stuck in state
LOCKED. The actual Linux copy completed so both images are OK.

How to I reset them to the READY state? Is there an oneimage command
or does the database have to be modified. If the database has to be
modified are there maintenance commands to do this?

I could recreate the image form the Linux file but there are
template references to the existing OpenNebula image. Also the image is
100GB (Windows!).

Any help would be appreciated.

Regards,
Gerry

-- 
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@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] How to add iotune option to VM template

2015-02-03 Thread Carlos Martín Sánchez
Hi,

On Tue, Feb 3, 2015 at 12:05 PM, Pedro Pereira 
pmepere...@reitoria.ulisboa.pt wrote:

 It would be nice to have a way to add this info directly in the template
 wizard, under the disk's Advanced Options.


That's true, I've opened a ticket for that [1].
Regards.

[1] http://dev.opennebula.org/issues/3555

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
http://twitter.com/opennebula cmar...@opennebula.org

On Tue, Feb 3, 2015 at 12:05 PM, Pedro Pereira 
pmepere...@reitoria.ulisboa.pt wrote:

 That is exactly it!!!
 I don't know how I missed that...

 My Results:

 Original Disk declatation in Advanced Tab of the template editor:
 DISK=[DEV_PREFIX=vd,DRIVER=qcow2,IMAGE=v3b3,IMAGE_UNAME=admin]

 Adding the TOTAL_BYTES_SEC:

 DISK=[DEV_PREFIX=vd,DRIVER=qcow2,IMAGE=v3b3,IMAGE_UNAME=admin,TOTAL_BYTES_SEC=100]


 Snippet of generated deployment.0 file:
 ***
 disk type='file' device='disk'
 source file='/var/lib/one//datastores/100/999/disk.0'/
 target dev='vda'/
 driver name='qemu' type='qcow2' cache='none'/
 iotune
 total_bytes_sec100/total_bytes_sec
 /iotune
 /disk
 ***

 It would be nice to have a way to add this info directly in the template
 wizard, under the disk's Advanced Options.

 Thanks again for your help.

 Pedro Pereira

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] a question about automatic machine migration when hypervisor down

2015-02-03 Thread 12navi...@gmail.com
Hello

i want to  know if my hypervisor has problem and goes down
can i choose some machines automatically boot again from other hypervisors
??
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Source image stuck in state CLONE and target image stuck in state LOCKED

2015-02-03 Thread Gerry O'Brien
Hi,

Below is the XML of the source image database entry. If I change
STATE to 1, CLONING_OPS to 0 and set CLONES/, will this fix the
problem? If so, is there any utility that will allow me edit the XML and
then update the database or will I have to update the database manually?

Gerry



IMAGE
  ID446/ID
  UID0/UID
  GID0/GID
  UNAMEoneadmin/UNAME
  GNAMEoneadmin/GNAME
  NAMEW7-VLab-BASE [No 3DSmax]/NAME
  PERMISSIONS
OWNER_U1/OWNER_U
OWNER_M1/OWNER_M
OWNER_A0/OWNER_A
GROUP_U0/GROUP_U
GROUP_M0/GROUP_M
GROUP_A0/GROUP_A
OTHER_U0/OTHER_U
OTHER_M0/OTHER_M
OTHER_A0/OTHER_A
  /PERMISSIONS
  TYPE0/TYPE
  DISK_TYPE0/DISK_TYPE
  PERSISTENT1/PERSISTENT
  REGTIME1411742280/REGTIME
 
SOURCE![CDATA[/var/lib/one/datastores/1/1bec29452ead3d88c626f9c66aa849e1]]/SOURCE
 
PATH![CDATA[/var/lib/one/datastores/1/a1637afc98e4be57bb30fa87e6ee5694]]/PATH
  FSTYPE![CDATA[]]/FSTYPE
  SIZE1/SIZE
  STATE6/STATE
  RUNNING_VMS0/RUNNING_VMS
  CLONING_OPS1/CLONING_OPS
  CLONING_ID-1/CLONING_ID
  DATASTORE_ID1/DATASTORE_ID
  DATASTOREdefault/DATASTORE
  VMS/
  CLONES
ID756/ID
  /CLONES
  TEMPLATE
DEV_PREFIX![CDATA[hd]]/DEV_PREFIX
DRIVER![CDATA[qcow2]]/DRIVER
FSTYPE![CDATA[]]/FSTYPE
  /TEMPLATE
/IMAGE




On 03/02/2015 15:45, Gerry O'Brien wrote:
 Hi,

 The oned (4.6.2) daemon was restarted during a clone and now the
 source image is stuck in state CLONE and target image is stuck in state
 LOCKED. The actual Linux copy completed so both images are OK.

 How to I reset them to the READY state? Is there an oneimage command
 or does the database have to be modified. If the database has to be
 modified are there maintenance commands to do this?

 I could recreate the image form the Linux file but there are
 template references to the existing OpenNebula image. Also the image is
 100GB (Windows!).

 Any help would be appreciated.

 Regards,
 Gerry



-- 
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@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Editor not defined

2015-02-03 Thread Damon (Albino Geek)

Hello,

EDITOR=vi onedatastore update 0

That's how you do it, replace vi with nano, pico, vim, whatever you want.

On Tue, 03 Feb 2015 14:18:19 -0800, barbieri vincenzo  
vincenzo.barbi...@vbarbieri.com wrote:

Hi
when launching the command onedatastore update me the message

Editor not defined

thanks
Vincenzo___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org