[one-users] problem with vifs

Tino Vazquez tinova at opennebula.org
Wed Mar 20 03:17:11 PDT 2013


Hi,

Sorry for the delay answering, 4.0 is taking a lot of resources (but
it will be worth it ;))

Are you still experiencing this? If so, it may have to do with
permissions in the datastore. As "oneadmin" in the ESX host, can you
create a file under /vmfs/volumes/0 ?

Regards,

-Tino

--
Constantino Vázquez Blanco, PhD, MSc
Project Engineer
OpenNebula - The Open-Source Solution for Data Center Virtualization
www.OpenNebula.org | @tinova79 | @OpenNebula


On Fri, Mar 8, 2013 at 5:00 PM,  <ahernandez at tesla.cujae.edu.cu> wrote:
> Thank for you answer, you are Ok, sorry for my error.
>
> But in this moment I present a problem with this error:
>
> error: internal error HTTP response code 500 for upload to
> 'https://das-vsilo23.cimex.com.cu:443/folder/28%2fdisk%2e0/one%2d28.vmx?dcPath=ha%2ddatacenter&dsName=0
> [4]'
>
> I see you comment in
> http://permalink.gmane.org/gmane.comp.distributed.opennebula.user/1853, but
> I don't understant how you fix this
>
> One idea, because error 500 http is a generic error, I do not how to fix
> ??????
>
>
> El 2013-03-08 11:00, Tino Vazquez escribió:
>>
>> Hi Angel,
>>
>> There are two network models for ESX [1]
>>
>>   1) Pre-defined network model: The BRIDGE of the vnet has to point
>> to a pre-created port group. The VMs with NICs in that vnet, will get
>> their NICs binded to that port group. This solution doesn't isolate
>> one vnet from another
>>
>>   2) Dynamic network model: The BRIDGE of the vnet has to point to a
>> vSwitch. A port group will be created by ONE to channel all the
>> traffic of the VM NICs attached to this vnet. This will effectively
>> isolates one vnet from another. You will need the esxcli installed in
>> the ONE front-end.
>>
>> The difference between this two is that, when you create the host in
>> ONE with "onehost":
>>
>> onehost create esx1 -i im_vmware -v vmm_vmware -n dummy       # for 1)
>>
>> onehost create esx1 -i im_vmware -v vmm_vmware -n vmware       # for 2)
>>
>>
>> Hope it helps,
>>
>> -Tino
>>
>>  [1] http://opennebula.org/documentation:rel3.8:vmwarenet#usage [7]
>>
>>
>> --
>> Constantino Vázquez Blanco, PhD, MSc
>>  Project Engineer
>> OpenNebula - The Open-Source Solution for Data Center Virtualization
>> www.OpenNebula.org [8] | @tinova79 | @OpenNebula
>>
>>
>> On Thu, Mar 7, 2013 at 8:25 PM, <ahernandez at tesla.cujae.edu.cu> wrote:
>>
>>> Tino, I think that I detect a problem with documentation of OpenNebula,
>>> because in the http://opennebula.org/documentation:rel3.8:vmwarenet [1] this
>>> writing
>>>
>>>
>>> he NICs of the VM in this Virtual Network will be attached to the
>>> specified port group in the vSphere host. For example:
>>>
>>> NAME    = "pre-defined_vmware_net"
>>> TYPE    = "fixed"
>>> BRIDGE  = "VM Network"  # This is the port group
>>>
>>> LEASES = ...
>>>
>>> BUT WHEN YOU SETTING A NETWORK, THE BRIGE IS USED HOW VSWITCH, NOT HOW
>>> PORT GROUP, FOR THIS I PRESENTED PROBLEMS WITH NETWORT DRIVERS, BUT I FIX
>>> THIS, USING BRIDGE HOW VSWITCH NOT PORT GROUP.... FOR THIS I THINK THAT
>>> OPENNEBULA NEED CHANGE THE DOCUMENTATION AND WRITE:
>>>
>>> he NICs of the VM in this Virtual Network will be attached to the
>>> specified port group in the vSphere host. For example:
>>>
>>> NAME    = "pre-defined_vmware_net"
>>> TYPE    = "fixed"
>>> BRIDGE  = "VM Network"  # This is the vswitch
>>>
>>> ..... IN ADITION, I FIX THE PROBLEM WITH NETWORK DRIVERS WITH THIS
>>> CHANGE, BUT I PRESENT OTHER PROBLEM:
>>>
>>> THIS IS THE LOG:
>>>
>>> Fri Feb 22 22:30:50 2013 [VMM][D]: Message received: LOG I 28 pre:
>>> Executed "/usr/bin/vicfg-vswitch --username=oneadmin --password=DataCimex
>>> --server=das-vsilo23.cimex.com.cu [2] --check-pg one-pg-4 vSwitch0".
>>>
>>>
>>> Fri Feb 22 22:30:50 2013 [VMM][D]: Message received: LOG I 28 ExitCode: 0
>>>
>>> Fri Feb 22 22:30:50 2013 [VMM][D]: Message received: LOG I 28
>>> Successfully execute network driver operation: pre.
>>>
>>> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28 Command
>>> execution fail: /var/lib/one/remotes/vmm/vmware/deploy
>>> /var/lib/one/28/deployment.2 das-vsilo23.cimex.com.cu [2] 28
>>> das-vsilo23.cimex.com.cu [2]
>>>
>>> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG E 28 deploy:
>>> Error executing: virsh -c
>>> esx://das-vsilo23.cimex.com.cu/?no_verify=1&auto_answer=1 [3] define
>>> /var/lib/one/28/deployment.2 err: ExitCode: 1
>>>
>>>
>>> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28 out:
>>>
>>> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28 error:
>>> Failed to define domain from /var/lib/one/28/deployment.2
>>>
>>> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28 error:
>>> internal error HTTP response code 500 for upload to
>>> 'https://das-vsilo23.cimex.com.cu:443/folder/28%2fdisk%2e0/one%2d28.vmx?dcPath=ha%2ddatacenter&dsName=0
>>> [4]'
>>>
>>>
>>> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28
>>>
>>> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28 ExitCode:
>>> 255
>>>
>>> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28 Failed to
>>> execute virtualization driver operation: deploy.
>>>
>>> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: DEPLOY FAILURE 28 -
>>>
>>> THE MAJOR ERROR IS:
>>> error: internal error HTTP response code 500 for upload to
>>> 'https://das-vsilo23.cimex.com.cu:443/folder/28%2fdisk%2e0/one%2d28.vmx?dcPath=ha%2ddatacenter&dsName=0
>>> [4]'
>>>
>>> ONE IDEA??????
>>>
>>> REGARDS
>>> aNGEL
>>>
>>> 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de
>>> diciembre de 1964 | http://cujae.edu.cu [5]
>>>
>>> Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu [6]
>>
>>
>>
>>
>> Links:
>> ------
>> [1] http://opennebula.org/documentation:rel3.8:vmwarenet
>> [2] http://das-vsilo23.cimex.com.cu
>> [3] http://das-vsilo23.cimex.com.cu/?no_verify=1%5C&auto_answer=1
>> [4]
>>
>>
>> https://das-vsilo23.cimex.com.cu:443/folder/28%2fdisk%2e0/one%2d28.vmx?dcPath=ha%2ddatacenter&dsName=0
>> [5] http://cujae.edu.cu
>> [6] http://www.ecured.cu
>> [7] http://opennebula.org/documentation:rel3.8:vmwarenet#usage
>> [8] http://www.OpenNebula.org
>
>
>
>
> 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de
> diciembre de 1964 | http://cujae.edu.cu
>
> Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu

--
Constantino Vázquez Blanco, PhD, MSc | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula - The Open-Source Solution for Data Center Virtualization
www.OpenNebula.org | @tinova79 | @OpenNebula


On Fri, Mar 8, 2013 at 5:00 PM,  <ahernandez at tesla.cujae.edu.cu> wrote:
> Thank for you answer, you are Ok, sorry for my error.
>
> But in this moment I present a problem with this error:
>
> error: internal error HTTP response code 500 for upload to
> 'https://das-vsilo23.cimex.com.cu:443/folder/28%2fdisk%2e0/one%2d28.vmx?dcPath=ha%2ddatacenter&dsName=0
> [4]'
>
> I see you comment in
> http://permalink.gmane.org/gmane.comp.distributed.opennebula.user/1853, but
> I don't understant how you fix this
>
> One idea, because error 500 http is a generic error, I do not how to fix
> ??????
>
>
> El 2013-03-08 11:00, Tino Vazquez escribió:
>>
>> Hi Angel,
>>
>> There are two network models for ESX [1]
>>
>>   1) Pre-defined network model: The BRIDGE of the vnet has to point
>> to a pre-created port group. The VMs with NICs in that vnet, will get
>> their NICs binded to that port group. This solution doesn't isolate
>> one vnet from another
>>
>>   2) Dynamic network model: The BRIDGE of the vnet has to point to a
>> vSwitch. A port group will be created by ONE to channel all the
>> traffic of the VM NICs attached to this vnet. This will effectively
>> isolates one vnet from another. You will need the esxcli installed in
>> the ONE front-end.
>>
>> The difference between this two is that, when you create the host in
>> ONE with "onehost":
>>
>> onehost create esx1 -i im_vmware -v vmm_vmware -n dummy       # for 1)
>>
>> onehost create esx1 -i im_vmware -v vmm_vmware -n vmware       # for 2)
>>
>>
>> Hope it helps,
>>
>> -Tino
>>
>>  [1] http://opennebula.org/documentation:rel3.8:vmwarenet#usage [7]
>>
>>
>> --
>> Constantino Vázquez Blanco, PhD, MSc
>>  Project Engineer
>> OpenNebula - The Open-Source Solution for Data Center Virtualization
>> www.OpenNebula.org [8] | @tinova79 | @OpenNebula
>>
>>
>> On Thu, Mar 7, 2013 at 8:25 PM, <ahernandez at tesla.cujae.edu.cu> wrote:
>>
>>> Tino, I think that I detect a problem with documentation of OpenNebula,
>>> because in the http://opennebula.org/documentation:rel3.8:vmwarenet [1] this
>>> writing
>>>
>>>
>>> he NICs of the VM in this Virtual Network will be attached to the
>>> specified port group in the vSphere host. For example:
>>>
>>> NAME    = "pre-defined_vmware_net"
>>> TYPE    = "fixed"
>>> BRIDGE  = "VM Network"  # This is the port group
>>>
>>> LEASES = ...
>>>
>>> BUT WHEN YOU SETTING A NETWORK, THE BRIGE IS USED HOW VSWITCH, NOT HOW
>>> PORT GROUP, FOR THIS I PRESENTED PROBLEMS WITH NETWORT DRIVERS, BUT I FIX
>>> THIS, USING BRIDGE HOW VSWITCH NOT PORT GROUP.... FOR THIS I THINK THAT
>>> OPENNEBULA NEED CHANGE THE DOCUMENTATION AND WRITE:
>>>
>>> he NICs of the VM in this Virtual Network will be attached to the
>>> specified port group in the vSphere host. For example:
>>>
>>> NAME    = "pre-defined_vmware_net"
>>> TYPE    = "fixed"
>>> BRIDGE  = "VM Network"  # This is the vswitch
>>>
>>> ..... IN ADITION, I FIX THE PROBLEM WITH NETWORK DRIVERS WITH THIS
>>> CHANGE, BUT I PRESENT OTHER PROBLEM:
>>>
>>> THIS IS THE LOG:
>>>
>>> Fri Feb 22 22:30:50 2013 [VMM][D]: Message received: LOG I 28 pre:
>>> Executed "/usr/bin/vicfg-vswitch --username=oneadmin --password=DataCimex
>>> --server=das-vsilo23.cimex.com.cu [2] --check-pg one-pg-4 vSwitch0".
>>>
>>>
>>> Fri Feb 22 22:30:50 2013 [VMM][D]: Message received: LOG I 28 ExitCode: 0
>>>
>>> Fri Feb 22 22:30:50 2013 [VMM][D]: Message received: LOG I 28
>>> Successfully execute network driver operation: pre.
>>>
>>> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28 Command
>>> execution fail: /var/lib/one/remotes/vmm/vmware/deploy
>>> /var/lib/one/28/deployment.2 das-vsilo23.cimex.com.cu [2] 28
>>> das-vsilo23.cimex.com.cu [2]
>>>
>>> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG E 28 deploy:
>>> Error executing: virsh -c
>>> esx://das-vsilo23.cimex.com.cu/?no_verify=1&auto_answer=1 [3] define
>>> /var/lib/one/28/deployment.2 err: ExitCode: 1
>>>
>>>
>>> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28 out:
>>>
>>> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28 error:
>>> Failed to define domain from /var/lib/one/28/deployment.2
>>>
>>> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28 error:
>>> internal error HTTP response code 500 for upload to
>>> 'https://das-vsilo23.cimex.com.cu:443/folder/28%2fdisk%2e0/one%2d28.vmx?dcPath=ha%2ddatacenter&dsName=0
>>> [4]'
>>>
>>>
>>> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28
>>>
>>> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28 ExitCode:
>>> 255
>>>
>>> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: LOG I 28 Failed to
>>> execute virtualization driver operation: deploy.
>>>
>>> Fri Feb 22 22:30:56 2013 [VMM][D]: Message received: DEPLOY FAILURE 28 -
>>>
>>> THE MAJOR ERROR IS:
>>> error: internal error HTTP response code 500 for upload to
>>> 'https://das-vsilo23.cimex.com.cu:443/folder/28%2fdisk%2e0/one%2d28.vmx?dcPath=ha%2ddatacenter&dsName=0
>>> [4]'
>>>
>>> ONE IDEA??????
>>>
>>> REGARDS
>>> aNGEL
>>>
>>> 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de
>>> diciembre de 1964 | http://cujae.edu.cu [5]
>>>
>>> Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu [6]
>>
>>
>>
>>
>> Links:
>> ------
>> [1] http://opennebula.org/documentation:rel3.8:vmwarenet
>> [2] http://das-vsilo23.cimex.com.cu
>> [3] http://das-vsilo23.cimex.com.cu/?no_verify=1%5C&auto_answer=1
>> [4]
>>
>>
>> https://das-vsilo23.cimex.com.cu:443/folder/28%2fdisk%2e0/one%2d28.vmx?dcPath=ha%2ddatacenter&dsName=0
>> [5] http://cujae.edu.cu
>> [6] http://www.ecured.cu
>> [7] http://opennebula.org/documentation:rel3.8:vmwarenet#usage
>> [8] http://www.OpenNebula.org
>
>
>
>
> 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de
> diciembre de 1964 | http://cujae.edu.cu
>
> Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu



More information about the Users mailing list