Hi,
oneimage list show the image name(the one I gave during the saveas ) and its
ID
oneimage show 32 -
ID : 32
NAME : NewTTyimage
TYPE : OS
REGISTER TIME : 09/10 16:14:03
PUBLIC : No
PERSISTENT : No
SOURCE :
/srv/cloud/var/images/1848ed1a68e486136993479d37bea2cbfb43462c
STATE : disa
RUNNING_VMS: 0
The image path location has set to default location only . i.e
/srv/cloud/one/var/images , but I could not see any image after executing
the saveas and shutdown commands ,.
And also there are no errors in the log file .
why this cant save the VM ..?
Note: I use nfs for transferring the image . yes I'm running oneadmin has a
sudo user .
On Fri, Sep 16, 2011 at 12:40 AM, users-requ...@lists.opennebula.orgwrote:
Send Users mailing list submissions to
users@lists.opennebula.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
or, via email, send a message with subject or body 'help' to
users-requ...@lists.opennebula.org
You can reach the person managing the list at
users-ow...@lists.opennebula.org
When replying, please edit your Subject line so it is more specific
than Re: Contents of Users digest...
Today's Topics:
1. Re: OpenNebula 3.0b2 after onevm saveas VM gone (Fabian Wenk)
2. Re: OpenNebula 3.0b2 after onevm saveas VM gone (Zeeshan Ali Shah)
3. IMAGE_REPOSITORY_PATH and OpenNebula 3 (Robert Parrott)
4. Re: onevm saveas error (Fabian Wenk)
--
Message: 1
Date: Thu, 15 Sep 2011 16:58:42 +0200
From: Fabian Wenk fab...@wenks.ch
To: users@lists.opennebula.org
Subject: Re: [one-users] OpenNebula 3.0b2 after onevm saveas VM gone
Message-ID: 4e7212a2.7040...@wenks.ch
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hello Valentin
I did not yet play around with ONE 3.x, but I guess this behavior
is the same as in 2.2.1.
On 15.09.2011 15:36, Valentin Bud wrote:
# onevm saveas 5 0 debian-upd1
I mention that I ran the above command while the Debian VM was on. As far
as
I understand from documentation this is not a problem but
the contents of the image are only created after the VM is shutdown
gracefully (using onevm shutdown). So I did just that.
The problem. The Debian VM is gone, it is not listed anymore. onevm
returns
empty list. The Debian VM was the only
one active. Is this normal behavior if you save the only disk the VM has?
This is normal behavior, see the Virtual Machine Life-cycle at
[1]. The only workaround I know is to recreate the VM with 'onevm
create template'. This will give an new VID for the VM. If you
want to boot it with the just freshly saved image, you need to
adjust your template so it will use the newly created image.
[1] http://www.opennebula.org/documentation:rel2.2:vm_guide
As far as I have understood, if you want to have an VM which
should run (or exists) forever do not use 'onevm shutdown vm_id'
at any time, or you need to recreate the VM. Only use 'onevm stop
vm_id' and 'onevm resume vm_id', which will just pause the VM
(no processes are stopped inside the VM). Reboot or shutdown of
the OS in the VM is possible. With using shutdown inside the VM, I
had to recover (eg. boot again) the VM with waiting until 'onevm
list' (or 'onevm top') shows the state as unkn and then use
'onevm restart vm_id' to boot the VM again.
Hope this helps.
bye
Fabian
--
Message: 2
Date: Thu, 15 Sep 2011 16:57:08 +0200
From: Zeeshan Ali Shah zas...@pdc.kth.se
To: Valentin Bud valentin@gmail.com
Cc: users@lists.opennebula.org
Subject: Re: [one-users] OpenNebula 3.0b2 after onevm saveas VM gone
Message-ID:
CABjmtXO=zaoecm9g0d8uflpwycxfntyso553garo8cso3j0...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1
onevm shutdown terminate the vm that is why it is not appear in list
/Zee
On Thu, Sep 15, 2011 at 3:36 PM, Valentin Bud valentin@gmail.com
wrote:
Hello Community,
I have installed OpenNebula 3.0 beta 2 from source on Ubuntu Lucid
(10.04-amd64). I have built OpenNebula with MySQL
support because I want a MySQL backend. After building it I have
installed
it using install.sh as follows:
# ./install.sh -u oneadmin -g cloud
Everything went well and I ended up with a fresh OpenNebula install. I
have configured the MySQL databases credentials in /etc/oned.conf
and started oned. Next step was to register one Debian Squeeze image.
# oneimage show 0
IMAGE 0 INFORMATION
ID : 0
NAME : debian-squeeze
USER : oneadmin
GROUP : oneadmin
TYPE : OS
REGISTER TIME : 09/15 15:13:44
PUBLIC : Yes
PERSISTENT : No
SOURCE : /var/lib/one/images/5c55b64e99e37b5b8b0d7dde918a91f1
SIZE : 612