Re: [one-users] Missing log when no error happens

2013-11-04 Thread Ruben S. Montero
So, your proposal is to have, all messages as in:

[TM][I]: clone: Cloning
/var/lib/one/datastores/1/e72972d1dc14203d83520f9ae6395d94 in
yggdrasil:/var/lib/one//datastores/0/15/disk.1

This is pre-pend with the "clone:" string, right? If this is the case, this
could be done in the core as:

   [TM][I]: << ERROR IN CLONE >
   [TM][I]: Command execution fail: /var/lib/one/remotes/tm/qcow2/clone
yggdrasil:/var/lib/one/datastores/1/e72972d1dc14203d83520f9ae6395d94
yggdrasil:/var/lib/one//datastores/0/15/disk.1 15 1
[TM][I]: clone: Cloning
/var/lib/one/datastores/1/e72972d1dc14203d83520f9ae6395d94 in
yggdrasil:/var/lib/one//datastores/0/15/disk.1
...
   [TM][I]: << ERROR IN CLONE >


What do you think?

Ruben

On Wed, Oct 30, 2013 at 9:31 PM, Daniel Dehennin <
daniel.dehen...@baby-gnu.org> wrote:

> Hello,
>
> I made some search without success, I'm asking here before creating any
> redmine issue.
>
> Using OpenNebula 4.2, I just see that there is no TM log on successful
> VMs setup:
>
> oneadmin@yggdrasil:~$ cut -d' ' -f6- /var/log/one/16.log
> [DiM][I]: New VM state is ACTIVE.
> [LCM][I]: New VM state is PROLOG.
> [LCM][I]: New VM state is BOOT
> [VMM][I]: Generating deployment file: /var/lib/one/vms/16/deployment.0
> [VMM][I]: ExitCode: 0
> [VMM][I]: Successfully execute network driver operation: pre.
> [VMM][I]: ExitCode: 0
> [VMM][I]: Successfully execute virtualization driver operation: deploy.
> [VMM][I]: post: Executed "sudo /usr/bin/ovs-vsctl set Port vnet0
> tag=20".
> [VMM][I]: post: Executed "sudo /usr/bin/ovs-ofctl add-flow baby-gnu
> in_port=5,dl_src=02:00:0a:02:00:00,priority=4,actions=normal".
> [VMM][I]: post: Executed "sudo /usr/bin/ovs-ofctl add-flow baby-gnu
> in_port=5,priority=39000,actions=drop".
> [VMM][I]: ExitCode: 0
> [VMM][I]: Successfully execute network driver operation: post.
> [LCM][I]: New VM state is RUNNING
>
> I generate an error to see what's comming in the logs:
>
> oneadmin@yggdrasil:~$ cut -d' ' -f6- /var/log/one/15.log
> [DiM][I]: New VM state is ACTIVE.
> [LCM][I]: New VM state is PROLOG.
> [TM][I]: Command execution fail: /var/lib/one/remotes/tm/qcow2/clone
> yggdrasil:/var/lib/one/datastores/1/e72972d1dc14203d83520f9ae6395d94
> yggdrasil:/var/lib/one//datastores/0/15/disk.1 15 1
> [TM][I]: clone: Cloning
> /var/lib/one/datastores/1/e72972d1dc14203d83520f9ae6395d94 in
> yggdrasil:/var/lib/one//datastores/0/15/disk.1
> [TM][E]: clone: Command "cd /var/lib/one/datastores/0/15; qemu-img
> create -b /var/lib/one/datastores/1/e72972d1dc14203d83520f9ae6395d94 -f
> qcow2 /var/lib/one/datastores/0/15/disk.1" failed: qemu-img: Could not open
> '/var/lib/one/datastores/1/e72972d1dc14203d83520f9ae6395d94'
> [TM][E]: Error copying
> yggdrasil:/var/lib/one/datastores/1/e72972d1dc14203d83520f9ae6395d94 to
> yggdrasil:/var/lib/one//datastores/0/15/disk.1
> [TM][I]: ExitCode: 1
> [TM][E]: Error executing image transfer script: Error copying
> yggdrasil:/var/lib/one/datastores/1/e72972d1dc14203d83520f9ae6395d94 to
> yggdrasil:/var/lib/one//datastores/0/15/disk.1
> [DiM][I]: New VM state is FAILED
> [DiM][I]: New VM state is DONE.
> [TM][W]: Ignored: TRANSFER SUCCESS 15 -
>
> My log configuration is:
>
> LOG = [
>   system  = "file",
>   debug_level = 3
> ]
>
> I think it's a problem, each step should be clearly identified with the
> command it runs.
>
> It can be hard to reproduce an error, specially when the user delete the
> VM in “FAILED” state and try 2 or 3 times before asking the ONE admin.
>
> For the logs above, I don't know why the clone log[1] are not reported.
>
> Regards.
>
> Footnotes:
> [1]
> http://dev.opennebula.org/projects/opennebula/repository/revisions/release-4.2/entry/src/tm_mad/qcow2/clone#L69
>
> --
> Daniel Dehennin
> Récupérer ma clef GPG:
> gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
> --
> 
> --
> Ruben S. Montero, PhD
> Project co-Lead and Chief 
> Architect
> OpenNebula - Flexible Enterprise Cloud Made Simple
>  
> www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Users Digest, Vol 68, Issue 116

2013-11-04 Thread Documented Facts
No, Still I' m searching how to do it in Ubuntu.


On Tue, Oct 29, 2013 at 12:38 AM, wrote:

> 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: XEN Assigned IP is not available in VM (Ionut Popovici)
>
>
> --
>
> Message: 1
> Date: Mon, 28 Oct 2013 19:58:52 +0200
> From: Ionut Popovici 
> To: users@lists.opennebula.org
> Subject: Re: [one-users] XEN Assigned IP is not available in VM
> Message-ID: <526ea5dc.6060...@hackaserver.com>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>
> Yes but you start contextualization on startup ? If your are on debina
> just install rcconf and put'it on startup the contextualization daemon.
> On 10/28/2013 7:27 PM, Documented Facts wrote:
> > But I have already installed Context DEB packages and
> > contextualization ISO through the template by using sun stone. disk.2
> > is the Contexulization ISO
> >
> > disk = [
> > 'file:/var/lib/one//datastores/0/36/disk.0,xvda,w',
> >   'file:/var/lib/one//datastores/0/36/disk.1,xvdc,w',
> > 'file:/var/lib/one//datastores/0/36/disk.2,xvdb,r',
> > ]
> >
> >
> >
> > On Mon, Oct 28, 2013 at 10:32 PM, Carlos Mart?n S?nchez
> > mailto:cmar...@opennebula.org>> wrote:
> >
> > Hi,
> >
> > In OpenNebula the guests can configure their IP via
> > contextualization, or deploying the virtual router dhcp appliance.
> > The previous links should get you started.
> >
> > Cheers
> > --
> > Carlos Mart?n, MSc
> > Project Engineer
> > OpenNebula - Flexible Enterprise Cloud Made Simple
> > www.OpenNebula.org  |
> > cmar...@opennebula.org  |
> > @OpenNebula 
> >
> >
> > On Mon, Oct 28, 2013 at 5:13 PM, Documented Facts
> > mailto:documentedfa...@gmail.com>>
> wrote:
> >
> > Can I get a solution to my problem or any path to find
> > solution for that ?
> >
> >
> > On Mon, Oct 28, 2013 at 4:50 PM, Carlos Mart?n S?nchez
> > mailto:cmar...@opennebula.org>> wrote:
> >
> > Hi,
> >
> > On Sun, Oct 27, 2013 at 11:10 AM, Ionut Popovici
> > mailto:io...@hackaserver.com>>
> wrote:
> >
> > Use contextualization .. if not make and dhcp server
> > that will use the mac address as opennebula use ..
> > the end of max is the ip adress in hexa
> > 10.0.0.1
> > is like 02:00:0a:00:00:01 so u can make your own lesses
> :D
> >
> > I want to add to Ionut's answer that contextualization is
> > explained here:
> > http://opennebula.org/documentation:rel4.2:context_overview
> >
> > And that we already provide a dhcp server appliance, you
> > don't need to make your own:
> > http://opennebula.org/documentation:rel4.2:router
> >
> > Best regards
> > --
> > Carlos Mart?n, MSc
> > Project Engineer
> > OpenNebula - Flexible Enterprise Cloud Made Simple
> > www.OpenNebula.org  |
> > cmar...@opennebula.org  |
> > @OpenNebula 
> >
> >
> > On Sun, Oct 27, 2013 at 11:10 AM, Ionut Popovici
> > mailto:io...@hackaserver.com>>
> wrote:
> >
> > Use contextualization .. if not  make and dhcp server
> > that will use the mac address as opennebula use ..
> > the end of max is the ip adress in hexa
> > 10.0.0.1
> > is like 02:00:0a:00:00:01 so u can make your own
> > lesses :D
> >
> > On 10/27/2013 11:58 AM, Documented Facts wrote:
> >> Hi
> >>
> >> I have assigned vm a IP address with this form
> >> 10.*.*.163. But when I see ip by using ifconfig
> >> totally different IP is displayed.
> >>
> >> The deployment.0 file show the correct ip which I
> >> want in vif session. if I run same image through xen
> >> by using .xen file with the bellow vif. It show the
> >> ip for that VM and it let ping from outside. Can you
> >> give me advice to overcome this problem. I don't have
> >>   

Re: [one-users] Shutting down a VM from within the VM

2013-11-04 Thread Nistor Andrei
On Tue, Oct 29, 2013 at 7:04 PM, Simon Boulet  wrote:
>
> Oh, yes, I get your point. The Core uses "disappear" for setting the
> VM as UNKNOWN. I think we need to keep "disappear" as it is, or at
> least keep the current UNKNOWN behaviour. If the VM can't be monitored
> for some reason (the host is down, network issues, timeout, etc.), it
> enters UNKNOWN state and keeps monitoring the VM every interval until
> is is reported as RUNNING (or STOPPED or what ever other state
> change).

I agree, UNKNOWN should mean "I don't know what happened to it"

> What we need is a way to let the Core know that the VM was
> "successfully" monitored, but that the hypervisor reported the VM is
> not running.
>
> Have you investigated Libvirt "defined" VMs list? Libvirt maintains
> two different lists of VM: The "active" VMs and the "defined" VM. I'm
> thinking a VM that is NOT active but that is defined is a VM that was
> shutdown... If OpenNebula finds a VM is "defined" but inactive, and it
> expected the VM to be active, then it knowns the VM was unexpectedly
> shutdown (by the user from inside the VM, or by some admin accessing
> the hypervisor directly - not through OpenNebula).

You hit the nail in the head here, OpenNebula is currently using
libvirt's transient domain feature -
http://wiki.libvirt.org/page/VM_lifecycle#Transient_guest_domains_vs_Persistent_guest_domains

I think we can modify the vmm_mad to register the deploymen.x file in
libvirt before starting the VM, unregister it when the VM enters DONE
state and also move the domain around when the VM is migrated. This
will give us a clear picture of the state a VM is in, if it was
shutdown from outside opennebula the domain would remain in the
defined/stopped state. With transient domains once the VM is shut down
it completely disappears.

(I feel I've repeated almost everything Simon said, but I just wanted
to avoid a simple +1 post :)

> One thing to keep in mind as well for implementing this is when a Host
> is rebooted it may take sometime for the hypervisor to restart all
> VMs. During that time Libvirt may report a VM as "defined" but not
> "active". I am not sure if that's an issue or not, perhaps it depends
> of your hypervisor, and the order in which services are started at
> boot (are the VMs being restarted before Libvirtd is started, etc.)

There is an init script in CentOS and Debian at least that takes care
of guests restarting after a reboot (it honors the autostart setting
in the guest's domain.xml). Our domain.xmls should not have the
autostart flag set, since OpenNebula should handle host failures
according to the hooks enabled in oned.conf.
It should also check the defined templates on the host the first time
it monitors it after a failure and undefine the unneeded domains
(domains redeployed on other hosts, for example).

Looking forward for your feedback,
Andrei
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Specify IP:MAC from command line

2013-11-04 Thread Mark Kusch
|16:46:05| < kraM> Hi, what do I need to tell onetemplate instantiate when I 
want to force a MAC:IP pair from 
   virtual network on the command line?

# kraM

-- 
Mark Kusch
Silpion IT-Solutions GmbH: Systems Engineer

Tel.: +49 (40) 399976-51
Fax.: +49 (40) 399976-40
Mail: mark.ku...@silpion.de

Firmensitz: Brandshofer Deich 48, 20539 Hamburg
Geschäftsführer: Dipl.-Ing. (FH) Patrick Postel
Registergericht: Amtsgericht Hamburg HRB 78585
Finanzbehörde: Hamburg
USt.-Ident.-Nr.: DE213610768


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


Re: [one-users] VM in Opennebula for Esxi 5.1 failed

2013-11-04 Thread Tino Vazquez
Hi,

Ok, so then you need to create a VMFS datastore in order to register
VMDK images that can be used with VMware ESX. More info here:

http://opennebula.org/documentation:rel4.2:vmware_ds

Regards,

-Tino
--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
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 C12G Labs 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 ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On Mon, Nov 4, 2013 at 4:04 PM, Catalina Quinde
 wrote:
> Hi, Tino thanks for reply,
>
> In Opennebula-sunstone in the bottom, says  "Opennebula 4.2.0 by C12G Labs",
> the commands "one -v" or "one -version" not working, Is this version for
> opennebula?,  I did the installation with command "apt-get install
> opennebula".
>
> Please,  guide me more clearly, because I have the others hypervisors
> working with opennebula too.
>
> Thanks Tino,
>
> Caty.
>
>
> 2013/11/4 Tino Vazquez 
>>
>> Hi Catalina,
>>
>> Which OpenNebula version are you using? If you are in 4.2, be aware
>> that the only datastore drivers for VMware are the 'vmfs', not
>> 'shared'.
>>
>> Regards,
>>
>> -Tino
>> --
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>>
>> --
>> Constantino Vázquez Blanco, PhD, MSc
>> Senior Infrastructure Architect at C12G Labs
>> www.c12g.com | @C12G | es.linkedin.com/in/tinova
>>
>> --
>> 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 C12G Labs 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 ab...@c12g.com and delete the e-mail and
>> attachments and any copy from your system. C12G thanks you for your
>> cooperation.
>>
>>
>> On Mon, Nov 4, 2013 at 5:40 AM, Catalina Quinde
>>  wrote:
>> > Hi friends, please help me in this problem
>> >
>> > I have opennebula working with nodes kvm, xen, Esxi 5.1 and OpenVZ, I
>> > did VM
>> > in Opennebula for KVM and Xen, VM states RUNN, but when I made a VM in
>> > Opennebula for Esxi 5.1, I have this error:
>> >
>> > 
>> > oneadmin@ubuntuOpNeb:~$ cat /var/log/one/36.log
>> > Thu Oct 31 11:18:02 2013 [DiM][I]: New VM state is ACTIVE.
>> > Thu Oct 31 11:18:02 2013 [LCM][I]: New VM state is PROLOG.
>> > Thu Oct 31 11:18:03 2013 [TM][I]: Command execution fail:
>> > /var/lib/one/remotes/tm/shared/clone
>> > ubuntuOpNeb:/var/lib/one/datastores/1/02e8c67d4f59826e9fb12ccb48f77557
>> > demos:/var/lib/one/datastores/0/36/disk.0 36 1
>> > Thu Oct 31 11:18:03 2013 [TM][I]: clone: Cloning
>> > /var/lib/one/datastores/1/02e8c67d4f59826e9fb12ccb48f77557 in
>> > demos:/var/lib/one/datastores/0/36/disk.0
>> > Thu Oct 31 11:18:03 2013 [TM][E]: clone: Command "cd
>> > /var/lib/one/datastores/0/36; cp
>> > /var/lib/one/datastores/1/02e8c67d4f59826e9fb12ccb48f77557
>> > /var/lib/one/datastores/0/36/disk.0" failed: cp: can't stat
>> > '/var/lib/one/datastores/1/02e8c67d4f59826e9fb12ccb48f77557': No such
>> > file
>> > or directory
>> > Thu Oct 31 11:18:03 2013 [TM][E]: Error copying
>> > ubuntuOpNeb:/var/lib/one/datastores/1/02e8c67d4f59826e9fb12ccb48f77557
>> > to
>> > demos:/var/lib/one/datastores/0/36/disk.0
>> > Thu Oct 31 11:18:03 2013 [TM][I]: ExitCode: 1
>> > Thu Oct 31 11:18:03 2013 [TM][E]: Error executing image transfer script:
>> > Error copying
>> > ubuntuOpNeb:/var/lib/one/datastores/1/02e8c67d4f59826e9fb12ccb48f77557
>> > to
>> > demos:/var/lib/one/datastores/0/36/disk.0
>> > Thu Oct 31 11:18:03 2013 [DiM][I]: New VM state is FAILED
>> > --
>> >
>> > Here I put some features of my settings in opennebula:
>> >
>> > The datastores are: 0, 1 and 2; the 0 and 1 datastores are shared, and 2
>> > is
>> > ssh, Esxi works with 0 and 1 datastores.
>> >
>> > oned.conf file have TM configuration general for all hypervisors.
>> >
>> > Please help me for solved this problem.
>> >
>> > Thanks, Caty.
>> >
>> >
>> > ___

[one-users] VMFS datastore marketplace import image

2013-11-04 Thread cosmin cucu
Hello,

I have a open nebula 4.2 setup with 3 ESX hosts, and 2 vmfs datastores ( image 
and system ) . The issue is that when i try to import a centOS  image from the 
default marketplace i get the following errors : 

Mon
 Nov  4 06:33:53 2013 : Error copying image in the datastore: Error 
renaming file /tmp/65d9c81c5059f6f39c1cd8a63ec3f806/ to 
/tmp/65d9c81c5059f6f39c1cd8a63ec3f806/disk.vmdk 
In /var/log/one/oned.log i found the following lines


Mon Nov  4 07:05:36 2013 [ImM][I]: Command execution fail: 
/var/lib/one/remotes/datastore/vmfs/cp
 
PERTX0RSSVZFUl9BQ1RJT05fREFUQT48SU1BR0U+PElEPjM1PC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+b25lYWRtaW48L1VOQU1FPjxHTkFNRT5vbmVhZG1pbjwvR05BTUU+PE5BTUU+Q2VudE9TIFNlcnZlciA2LjIgLSBWTXdhcmU8L05BTUU+PFBFUk1JU1NJT05TPjxPV05FUl9VPjE8L09XTkVSX1U+PE9XTkVSX00+MTwvT1dORVJfTT48T1dORVJfQT4wPC9PV05FUl9BPjxHUk9VUF9VPjA8L0dST1VQX1U+PEdST1VQX00+MDwvR1JPVVBfTT48R1JPVVBfQT4wPC9HUk9VUF9BPjxPVEhFUl9VPjA8L09USEVSX1U+PE9USEVSX00+MDwvT1RIRVJfTT48T1RIRVJfQT4wPC9PVEhFUl9BPjwvUEVSTUlTU0lPTlM+PFRZUEU+MDwvVFlQRT48RElTS19UWVBFPjA8L0RJU0tfVFlQRT48UEVSU0lTVEVOVD4wPC9QRVJTSVNURU5UPjxSRUdUSU1FPjEzODM1NjYzODM8L1JFR1RJTUU+PFNPVVJDRT48L1NPVVJDRT48UEFUSD5odHRwOi8vbWFya2V0cGxhY2UuYzEyZy5jb20vYXBwbGlhbmNlLzRmZjJjZTM0OGZiODFkNDQwNjAwMDAwMy9kb3dubG9hZDwvUEFUSD48RlNUWVBFPjwvRlNUWVBFPjxTSVpFPjgxOTI8L1NJWkU+PFNUQVRFPjQ8L1NUQVRFPjxSVU5OSU5HX1ZNUz4wPC9SVU5OSU5HX1ZNUz48Q0xPTklOR19PUFM+MDwvQ0xPTklOR19PUFM+PENMT05JTkdfSUQ+LTE8L0NMT05JTkdfSUQ+PERBVEFTVE9SRV9JRD4xMDE8L0RBVEFTVE9SRV9JRD48REFUQVNUT1
JFPlZNd2FyZS1JbWFnZXM8L0RBVEFTVE9SRT48Vk1TPjwvVk1TPjxDTE9ORVM+PC9DTE9ORVM+PFRFTVBMQVRFPjxERVZfUFJFRklYPjwhW0NEQVRBW2hkXV0+PC9ERVZfUFJFRklYPjxNRDU+PCFbQ0RBVEFbMTdhNjg5YmFhMWI0NTJjZTQxYWZkYTM0YWFiMTU2MjNdXT48L01ENT48L1RFTVBMQVRFPjwvSU1BR0U+PERBVEFTVE9SRT48SUQ+MTAxPC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+b25lYWRtaW48L1VOQU1FPjxHTkFNRT5vbmVhZG1pbjwvR05BTUU+PE5BTUU+Vk13YXJlLUltYWdlczwvTkFNRT48UEVSTUlTU0lPTlM+PE9XTkVSX1U+MTwvT1dORVJfVT48T1dORVJfTT4xPC9PV05FUl9NPjxPV05FUl9BPjA8L09XTkVSX0E+PEdST1VQX1U+MTwvR1JPVVBfVT48R1JPVVBfTT4wPC9HUk9VUF9NPjxHUk9VUF9BPjA8L0dST1VQX0E+PE9USEVSX1U+MDwvT1RIRVJfVT48T1RIRVJfTT4wPC9PVEhFUl9NPjxPVEhFUl9BPjA8L09USEVSX0E+PC9QRVJNSVNTSU9OUz48RFNfTUFEPnZtZnM8L0RTX01BRD48VE1fTUFEPnZtZnM8L1RNX01BRD48QkFTRV9QQVRIPi92bWZzL3ZvbHVtZXMvMTAxPC9CQVNFX1BBVEg+PFRZUEU+MDwvVFlQRT48RElTS19UWVBFPjA8L0RJU0tfVFlQRT48Q0xVU1RFUl9JRD4xMDA8L0NMVVNURVJfSUQ+PENMVVNURVI+Y29zbWktY2xvdWQ8L0NMVVNURVI+PFRPVEFMX01CPjIwNDQ2NzI8L1RPVEFMX01CPjxGUkVFX01CPjIwNDM1O
DY8L0ZSRUVfTUI+PFVTRURfTUI+ODgzPC9VU0VEX01CPjxJTUFHRVM+PElEPjU8L0lEPjwvSU1BR0VTPjxURU1QTEFURT48QlJJREdFX0xJU1Q+PCFbQ0RBVEFbMTkyLjE2OC4xMC4xMCAxOTIuMTY4LjEwLjMwIDE5Mi4xNjguMTAuNDBdXT48L0JSSURHRV9MSVNUPjxEU19NQUQ+PCFbQ0RBVEFbdm1mc11dPjwvRFNfTUFEPjxEU19UTVBfRElSPjwhW0NEQVRBWy90bXBdXT48L0RTX1RNUF9ESVI+PERTX1VTRV9TU0g+PCFbQ0RBVEFbWUVTXV0+PC9EU19VU0VfU1NIPjxUTV9NQUQ+PCFbQ0RBVEFbdm1mc11dPjwvVE1fTUFEPjxUTV9VU0VfU1NIPjwhW0NEQVRBW1lFU11dPjwvVE1fVVNFX1NTSD48VFlQRT48IVtDREFUQVtJTUFHRV9EU11dPjwvVFlQRT48L1RFTVBMQVRFPjwvREFUQVNUT1JFPjwvRFNfRFJJVkVSX0FDVElPTl9EQVRBPg==
 35
Mon Nov  4 07:05:36 2013 [ImM][I]: cp: Downloading 
http://marketplace.c12g.com/appliance/4ff2ce348fb81d440603/download to the 
image repository
Mon Nov  4 07:05:36 2013 [ImM][E]: cp: Command "mv -f 
/tmp/1132bd1ddabaa04ec1a7c1ef6bee389c/ 
/tmp/1132bd1ddabaa04ec1a7c1ef6bee389c/disk.vmdk" failed: mv: cannot move 
`/tmp/1132bd1ddabaa04ec1a7c1ef6bee389c/' to a subdirectory of itself, 
`/tmp/1132bd1ddabaa04ec1a7c1ef6bee389c/disk.vmdk'
Mon Nov  4 07:05:36 2013 [ImM][E]: Error renaming file 
/tmp/1132bd1ddabaa04ec1a7c1ef6bee389c/ to 
/tmp/1132bd1ddabaa04ec1a7c1ef6bee389c/disk.vmdk
Mon Nov  4 07:05:36 2013 [ImM][I]: ExitCode: 1
Mon Nov  4 07:05:36 2013 [ImM][E]: Error copying image in the datastore: Error 
renaming file /tmp/1132bd1ddabaa04ec1a7c1ef6bee389c/ to 
/tmp/1132bd1ddabaa04ec1a7c1ef6bee389c/disk.vmdk

The weird thing is when i try to import the ttyl linux image, the small 100 MB 
one, it works.

Any idea why this is happening?

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


Re: [one-users] esxi windows vms lost NIC dirver

2013-11-04 Thread Tino Vazquez
Hi,

NIC_ID is internally assigned by OpenNebula, the user should not want
or be able to change this.

Regards,

-Tino
--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
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 C12G Labs 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 ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On Mon, Nov 4, 2013 at 10:27 AM, hansz  wrote:
> hi man,
> today i find my windows vms which lost Nic drver the NIC_ID  is 0,where can
> i configure the NIC_ID ?
>
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VM in Opennebula for Esxi 5.1 failed

2013-11-04 Thread Tino Vazquez
Hi Catalina,

Which OpenNebula version are you using? If you are in 4.2, be aware
that the only datastore drivers for VMware are the 'vmfs', not
'shared'.

Regards,

-Tino
--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
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 C12G Labs 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 ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On Mon, Nov 4, 2013 at 5:40 AM, Catalina Quinde
 wrote:
> Hi friends, please help me in this problem
>
> I have opennebula working with nodes kvm, xen, Esxi 5.1 and OpenVZ, I did VM
> in Opennebula for KVM and Xen, VM states RUNN, but when I made a VM in
> Opennebula for Esxi 5.1, I have this error:
>
> 
> oneadmin@ubuntuOpNeb:~$ cat /var/log/one/36.log
> Thu Oct 31 11:18:02 2013 [DiM][I]: New VM state is ACTIVE.
> Thu Oct 31 11:18:02 2013 [LCM][I]: New VM state is PROLOG.
> Thu Oct 31 11:18:03 2013 [TM][I]: Command execution fail:
> /var/lib/one/remotes/tm/shared/clone
> ubuntuOpNeb:/var/lib/one/datastores/1/02e8c67d4f59826e9fb12ccb48f77557
> demos:/var/lib/one/datastores/0/36/disk.0 36 1
> Thu Oct 31 11:18:03 2013 [TM][I]: clone: Cloning
> /var/lib/one/datastores/1/02e8c67d4f59826e9fb12ccb48f77557 in
> demos:/var/lib/one/datastores/0/36/disk.0
> Thu Oct 31 11:18:03 2013 [TM][E]: clone: Command "cd
> /var/lib/one/datastores/0/36; cp
> /var/lib/one/datastores/1/02e8c67d4f59826e9fb12ccb48f77557
> /var/lib/one/datastores/0/36/disk.0" failed: cp: can't stat
> '/var/lib/one/datastores/1/02e8c67d4f59826e9fb12ccb48f77557': No such file
> or directory
> Thu Oct 31 11:18:03 2013 [TM][E]: Error copying
> ubuntuOpNeb:/var/lib/one/datastores/1/02e8c67d4f59826e9fb12ccb48f77557 to
> demos:/var/lib/one/datastores/0/36/disk.0
> Thu Oct 31 11:18:03 2013 [TM][I]: ExitCode: 1
> Thu Oct 31 11:18:03 2013 [TM][E]: Error executing image transfer script:
> Error copying
> ubuntuOpNeb:/var/lib/one/datastores/1/02e8c67d4f59826e9fb12ccb48f77557 to
> demos:/var/lib/one/datastores/0/36/disk.0
> Thu Oct 31 11:18:03 2013 [DiM][I]: New VM state is FAILED
> --
>
> Here I put some features of my settings in opennebula:
>
> The datastores are: 0, 1 and 2; the 0 and 1 datastores are shared, and 2 is
> ssh, Esxi works with 0 and 1 datastores.
>
> oned.conf file have TM configuration general for all hypervisors.
>
> Please help me for solved this problem.
>
> Thanks, Caty.
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] windows vm lose NIC driver

2013-11-04 Thread Tino Vazquez
Hi,

In the dynamic network mode, OpenNebula will create 'one-pg-19' in
vSwitch0 the first time a VM that uses a NIC from the virtual network
19 is booted. So you don't need to create that port group by hand.

Following VMs with a NIC from virtual network 19 will get bound to
that 'one-pg-19' portgroup.

Hope this helps,

-Tino

--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
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 C12G Labs 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 ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On Mon, Nov 4, 2013 at 3:22 AM, hansz  wrote:
> hi,
>now i am sure i have created the one-pg-19,but when i create vm on
> sunstone the  ESX's vSwitch0 would create another one-pg-vnid,then the nic
> dirver faild,how can i configure the new vms use one-pg-19?
>
>
>
>
>
>
> At 2013-10-31 18:13:50,"Tino Vazquez"  wrote:
>>Hi,
>>
>>Ok, now that we know that you are using the dynamic network node let's
>>see if everything is in place.
>>
>>Could you please check that a port group "one-pg-" is created in
>>the ESX's vSwitch0, where vnid is the id of the virtual network that
>>uses vSwitch0 as a bridge.
>>
>>If that port group is created, the next step would be to check if the
>>VM is really attached to that port group. You can do that by
>>inspecting the settings of the VM through the VMware VI client.
>>
>>If everything is correct and you still don't see the NIC within the
>>guest OS, there is a couple of things that can be tried:
>>
>> * set  E1000 as the NIC model (NIC=[MODEL="E1000",..]) in the VM
>>template and launching the VM again
>> * install the VMware tools in the guestOS
>>
>>Regards,
>>
>>-Tino
>>
>>
>>--
>>OpenNebula - Flexible Enterprise Cloud Made Simple
>>
>>--
>>Constantino Vázquez Blanco, PhD, MSc
>>Senior Infrastructure Architect at C12G Labs
>>www.c12g.com | @C12G | es.linkedin.com/in/tinova
>>
>>--
>>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 C12G Labs 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 ab...@c12g.com and delete the e-mail and
>>attachments and any copy from your system. C12G thanks you for your
>>cooperation.
>>
>>
>>On Thu, Oct 31, 2013 at 7:53 AM, hansz  wrote:
>>> hi,
>>> i am sure now i use  onehost create -v vmware -i vmware -n vmware.
>>> and when i create virtual network ,and the Network model:VMware  and the
>>> bridge:vSwitch0。
>>> but when i create windows vms it lost nic dirver too.
>>> the vm i do not configure AIK
>>>
>>>
>>>
>>>
>>>
>>> At 2013-10-30 18:03:53,"Tino Vazquez"  wrote:
Hi,

Not really, you can use both. Just wondering which one did you chose
so I can provide support. How did you add the host (ie onehost create
-v ... -i --- -n ...). It is the "-n" which will tell OpenNebula to
use dynamic (vmware) or pre-defined (dummy) network mode.

Regards,

-Tino
--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
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 C12G Labs 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 ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On Wed, Oct 30, 2013 at 

[one-users] esxi windows vms lost NIC dirver

2013-11-04 Thread hansz
hi man,
today i find my windows vms which lost Nic drver the NIC_ID  is 0,where can i 
configure the NIC_ID ?___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org