[one-users] how can i monitor the vms ?

2013-12-16 Thread hansz
Hi Tino,
  i use  opennebula install (centos6.4)  and esxi 5.1 install vms,

Recently i  want  monitor the vms, on the opennebula4.2 i see there has 
ganglia, and the  oned.conf  has some ganglia message,but when i updata my 
enbula to 4.4  ,i could not find nothing about ganglia at the oned, how could i 
monitor the vms install esxi?







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


Re: [one-users] Cannot run VM, fresh install. Could not create domain from /var/lib/one//datastores/

2013-12-16 Thread Alexander Sibetheros
Ok, problem fixed. Vmware's automatic configuration didn't enable hardware
acceleration. Once that got running the vm boots and runs.
One tiny problem is that I don't know the default username/password for
centOS.. or how to create a vm with username/password..
Nonetheless, thank you all very much.


On Tue, Dec 17, 2013 at 9:11 AM, Alexander Sibetheros
wrote:

> I think I fixed the bridge problem, but now I get a new problem(and again
> googling didn't help).
> I restarted both vm's, restarted sunstone, mounted the nfs, recreated the
> network with correct bridge, deleted old failed vm, and created a new one
> but Im getting kvm problem now:
>
> Mon Dec 16 23:05:04 2013 [VMM][I]: error: Failed to create domain from
> /var/lib/one//datastores/0/2/deployment.0
> Mon Dec 16 23:05:04 2013 [VMM][I]: error: internal error process exited
> while connecting to monitor: Could not access KVM kernel module: No such
> file or directory
> Mon Dec 16 23:05:04 2013 [VMM][I]: failed to initialize KVM: No such file
> or directory
> Mon Dec 16 23:05:04 2013 [VMM][I]: No accelerator found!
> Mon Dec 16 23:05:04 2013 [VMM][I]:
> Mon Dec 16 23:05:04 2013 [VMM][E]: Could not create domain from
> /var/lib/one//datastores/0/2/deployment.0
> Mon Dec 16 23:05:04 2013 [VMM][I]: ExitCode: 255
> Mon Dec 16 23:05:04 2013 [VMM][I]: Failed to execute virtualization driver
> operation: deploy.
> Mon Dec 16 23:05:04 2013 [VMM][E]: Error deploying virtual machine: Could
> not create domain from /var/lib/one//datastores/0/2/deployment.0
>
>
> On Tue, Dec 17, 2013 at 8:41 AM, Alexander Sibetheros <
> alexsib...@gmail.com> wrote:
>
>> Well, ifconfig shows eth0,lo and an extra network virbro(which I haven't
>> physically added to interfaces).
>> I will try the configurations with virbr0 everywhere(in interface files +
>> network file) and update.
>>
>>
>> On Tue, Dec 17, 2013 at 1:49 AM, Jens Hoffmann 
>> wrote:
>>
>>>  Does "ifconfig" on your host list eth0 and the loopback device only?
>>> Does "brctl show" on your host return an empty list? In that case you have
>>> no bridge and you need to setup one to bridge between eth0  and your nebula
>>> vms. The vmware bridge that connects your host-vm to the internet or
>>> wherever acts upon a different layer. vmware won't setup a bridge inside of
>>> your host-vm.
>>>
>>>
>>> Hope this is of some help.
>>>
>>>
>>>
>>> Jens
>>>
>>> --
>>> gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5
>>>
>>>
>>>
>>> On 12/17/2013 12:28 AM, Alexander Sibetheros wrote:
>>>
>>>  In that case it probably is the bridge settings.
>>>  Because I am running host/nodes from vm(vmware, with bridge network) I
>>> have eth0 reserved for that.
>>>  I changed the interface file too:
>>> auto eth0
>>> iface eth0 inet static
>>> address 192.168.0.20
>>> netmask 255.255.255.0
>>> broadcast 192.168.0.255
>>> gateway 192.168.0.1
>>>  But didn't add anything on bridges because I though eth0 was already a
>>> bridge(from vmware).
>>>  (Normally the tutorial mentions: iface br0 inet static
>>> #bridge_ports eth0
>>> #bridge_fd 9
>>> #bridge_hello 2
>>> #bridge_maxage 12
>>> #bridge_stp off).
>>>
>>>  My 1 node(also vm) has similar settings(iface eth0 inet static with no
>>> bridge settings).
>>>
>>>  In my virtual network I changed BRIDGE= eth0(previously br0).
>>>
>>>  If this is not allowed then what should I change?
>>>
>>>
>>> On Tue, Dec 17, 2013 at 1:05 AM, Jens Hoffmann >> > wrote:
>>>
  Hi,

 please double check / post:

  * "brctl show" on your host
  * Network related commands eventually logged in /var/log/auth.log
  * Any related hints in /var/log/syslog
  * /etc/network/interfaces on your host
  * the nebula network template
  * anything else that you might find to be of some help


 From the logs you have posted it seems to be a problem with your bridge
 setup.


 Jens

 --
 gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5



 On 12/16/2013 11:39 PM, Alexander Sibetheros wrote:

I freshly installed 2 12.04.3 Ubuntu VM's and followed the tutorial
 http://www.opennebula.org/documentation:rel4.4:qs_ubuntu_kvm as best
 as possible.
  When I run the vm( onetemplate instantiate "CentOS-6.4" --name "My
 Scratch VM"
  I get failed state and this error:

 Mon Dec 16 13:54:30 2013 [VMM][I]: Command execution fail: cat << EOT |
 /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/0/deployment.0'
 '192.168.0.21' 0 192.168.0.21
 Mon Dec 16 13:54:30 2013 [VMM][I]: error: Failed to create domain from
 /var/lib/one//datastores/0/0/deployment.0
 Mon Dec 16 13:54:30 2013 [VMM][I]: error: Unable to add bridge eth0
 port vnet0: Operation not supported
 Mon Dec 16 13:54:30 2013 [VMM][E]: Could not create domain from
 /var/lib/one//datastores/0/0/deployment.0
 Mon Dec 16 13:54:30 2013 [VMM]

Re: [one-users] Cannot run VM, fresh install. Could not create domain from /var/lib/one//datastores/

2013-12-16 Thread Alexander Sibetheros
I think I fixed the bridge problem, but now I get a new problem(and again
googling didn't help).
I restarted both vm's, restarted sunstone, mounted the nfs, recreated the
network with correct bridge, deleted old failed vm, and created a new one
but Im getting kvm problem now:

Mon Dec 16 23:05:04 2013 [VMM][I]: error: Failed to create domain from
/var/lib/one//datastores/0/2/deployment.0
Mon Dec 16 23:05:04 2013 [VMM][I]: error: internal error process exited
while connecting to monitor: Could not access KVM kernel module: No such
file or directory
Mon Dec 16 23:05:04 2013 [VMM][I]: failed to initialize KVM: No such file
or directory
Mon Dec 16 23:05:04 2013 [VMM][I]: No accelerator found!
Mon Dec 16 23:05:04 2013 [VMM][I]:
Mon Dec 16 23:05:04 2013 [VMM][E]: Could not create domain from
/var/lib/one//datastores/0/2/deployment.0
Mon Dec 16 23:05:04 2013 [VMM][I]: ExitCode: 255
Mon Dec 16 23:05:04 2013 [VMM][I]: Failed to execute virtualization driver
operation: deploy.
Mon Dec 16 23:05:04 2013 [VMM][E]: Error deploying virtual machine: Could
not create domain from /var/lib/one//datastores/0/2/deployment.0


On Tue, Dec 17, 2013 at 8:41 AM, Alexander Sibetheros
wrote:

> Well, ifconfig shows eth0,lo and an extra network virbro(which I haven't
> physically added to interfaces).
> I will try the configurations with virbr0 everywhere(in interface files +
> network file) and update.
>
>
> On Tue, Dec 17, 2013 at 1:49 AM, Jens Hoffmann 
> wrote:
>
>>  Does "ifconfig" on your host list eth0 and the loopback device only?
>> Does "brctl show" on your host return an empty list? In that case you have
>> no bridge and you need to setup one to bridge between eth0  and your nebula
>> vms. The vmware bridge that connects your host-vm to the internet or
>> wherever acts upon a different layer. vmware won't setup a bridge inside of
>> your host-vm.
>>
>>
>> Hope this is of some help.
>>
>>
>>
>> Jens
>>
>> --
>> gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5
>>
>>
>>
>> On 12/17/2013 12:28 AM, Alexander Sibetheros wrote:
>>
>>  In that case it probably is the bridge settings.
>>  Because I am running host/nodes from vm(vmware, with bridge network) I
>> have eth0 reserved for that.
>>  I changed the interface file too:
>> auto eth0
>> iface eth0 inet static
>> address 192.168.0.20
>> netmask 255.255.255.0
>> broadcast 192.168.0.255
>> gateway 192.168.0.1
>>  But didn't add anything on bridges because I though eth0 was already a
>> bridge(from vmware).
>>  (Normally the tutorial mentions: iface br0 inet static
>> #bridge_ports eth0
>> #bridge_fd 9
>> #bridge_hello 2
>> #bridge_maxage 12
>> #bridge_stp off).
>>
>>  My 1 node(also vm) has similar settings(iface eth0 inet static with no
>> bridge settings).
>>
>>  In my virtual network I changed BRIDGE= eth0(previously br0).
>>
>>  If this is not allowed then what should I change?
>>
>>
>> On Tue, Dec 17, 2013 at 1:05 AM, Jens Hoffmann 
>> wrote:
>>
>>>  Hi,
>>>
>>> please double check / post:
>>>
>>>  * "brctl show" on your host
>>>  * Network related commands eventually logged in /var/log/auth.log
>>>  * Any related hints in /var/log/syslog
>>>  * /etc/network/interfaces on your host
>>>  * the nebula network template
>>>  * anything else that you might find to be of some help
>>>
>>>
>>> From the logs you have posted it seems to be a problem with your bridge
>>> setup.
>>>
>>>
>>> Jens
>>>
>>> --
>>> gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5
>>>
>>>
>>>
>>> On 12/16/2013 11:39 PM, Alexander Sibetheros wrote:
>>>
>>>I freshly installed 2 12.04.3 Ubuntu VM's and followed the tutorial
>>> http://www.opennebula.org/documentation:rel4.4:qs_ubuntu_kvm as best as
>>> possible.
>>>  When I run the vm( onetemplate instantiate "CentOS-6.4" --name "My
>>> Scratch VM"
>>>  I get failed state and this error:
>>>
>>> Mon Dec 16 13:54:30 2013 [VMM][I]: Command execution fail: cat << EOT |
>>> /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/0/deployment.0'
>>> '192.168.0.21' 0 192.168.0.21
>>> Mon Dec 16 13:54:30 2013 [VMM][I]: error: Failed to create domain from
>>> /var/lib/one//datastores/0/0/deployment.0
>>> Mon Dec 16 13:54:30 2013 [VMM][I]: error: Unable to add bridge eth0 port
>>> vnet0: Operation not supported
>>> Mon Dec 16 13:54:30 2013 [VMM][E]: Could not create domain from
>>> /var/lib/one//datastores/0/0/deployment.0
>>> Mon Dec 16 13:54:30 2013 [VMM][I]: ExitCode: 255
>>> Mon Dec 16 13:54:30 2013 [VMM][I]: Failed to execute virtualization
>>> driver operation: deploy.
>>> Mon Dec 16 13:54:30 2013 [VMM][E]: Error deploying virtual machine:
>>> Could not create domain from /var/lib/one//datastores/0/0/deployment.0
>>>
>>>  I have checked the mailing list and a few forums but haven't found much
>>> for my case.
>>>  I am running NFS underneath, but only what the tutorial mentions.
>>>
>>>
>>>  ___
>>> Users mailing 
>>> listUsers@lists.ope

Re: [one-users] Cannot run VM, fresh install. Could not create domain from /var/lib/one//datastores/

2013-12-16 Thread Alexander Sibetheros
Well, ifconfig shows eth0,lo and an extra network virbro(which I haven't
physically added to interfaces).
I will try the configurations with virbr0 everywhere(in interface files +
network file) and update.


On Tue, Dec 17, 2013 at 1:49 AM, Jens Hoffmann wrote:

>  Does "ifconfig" on your host list eth0 and the loopback device only?
> Does "brctl show" on your host return an empty list? In that case you have
> no bridge and you need to setup one to bridge between eth0  and your nebula
> vms. The vmware bridge that connects your host-vm to the internet or
> wherever acts upon a different layer. vmware won't setup a bridge inside of
> your host-vm.
>
>
> Hope this is of some help.
>
>
>
> Jens
>
> --
> gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5
>
>
>
> On 12/17/2013 12:28 AM, Alexander Sibetheros wrote:
>
>  In that case it probably is the bridge settings.
>  Because I am running host/nodes from vm(vmware, with bridge network) I
> have eth0 reserved for that.
>  I changed the interface file too:
> auto eth0
> iface eth0 inet static
> address 192.168.0.20
> netmask 255.255.255.0
> broadcast 192.168.0.255
> gateway 192.168.0.1
>  But didn't add anything on bridges because I though eth0 was already a
> bridge(from vmware).
>  (Normally the tutorial mentions: iface br0 inet static
> #bridge_ports eth0
> #bridge_fd 9
> #bridge_hello 2
> #bridge_maxage 12
> #bridge_stp off).
>
>  My 1 node(also vm) has similar settings(iface eth0 inet static with no
> bridge settings).
>
>  In my virtual network I changed BRIDGE= eth0(previously br0).
>
>  If this is not allowed then what should I change?
>
>
> On Tue, Dec 17, 2013 at 1:05 AM, Jens Hoffmann 
> wrote:
>
>>  Hi,
>>
>> please double check / post:
>>
>>  * "brctl show" on your host
>>  * Network related commands eventually logged in /var/log/auth.log
>>  * Any related hints in /var/log/syslog
>>  * /etc/network/interfaces on your host
>>  * the nebula network template
>>  * anything else that you might find to be of some help
>>
>>
>> From the logs you have posted it seems to be a problem with your bridge
>> setup.
>>
>>
>> Jens
>>
>> --
>> gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5
>>
>>
>>
>> On 12/16/2013 11:39 PM, Alexander Sibetheros wrote:
>>
>>I freshly installed 2 12.04.3 Ubuntu VM's and followed the tutorial
>> http://www.opennebula.org/documentation:rel4.4:qs_ubuntu_kvm as best as
>> possible.
>>  When I run the vm( onetemplate instantiate "CentOS-6.4" --name "My
>> Scratch VM"
>>  I get failed state and this error:
>>
>> Mon Dec 16 13:54:30 2013 [VMM][I]: Command execution fail: cat << EOT |
>> /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/0/deployment.0'
>> '192.168.0.21' 0 192.168.0.21
>> Mon Dec 16 13:54:30 2013 [VMM][I]: error: Failed to create domain from
>> /var/lib/one//datastores/0/0/deployment.0
>> Mon Dec 16 13:54:30 2013 [VMM][I]: error: Unable to add bridge eth0 port
>> vnet0: Operation not supported
>> Mon Dec 16 13:54:30 2013 [VMM][E]: Could not create domain from
>> /var/lib/one//datastores/0/0/deployment.0
>> Mon Dec 16 13:54:30 2013 [VMM][I]: ExitCode: 255
>> Mon Dec 16 13:54:30 2013 [VMM][I]: Failed to execute virtualization
>> driver operation: deploy.
>> Mon Dec 16 13:54:30 2013 [VMM][E]: Error deploying virtual machine: Could
>> not create domain from /var/lib/one//datastores/0/0/deployment.0
>>
>>  I have checked the mailing list and a few forums but haven't found much
>> for my case.
>>  I am running NFS underneath, but only what the tutorial mentions.
>>
>>
>>  ___
>> Users mailing 
>> listUsers@lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
> --
>   Alexander Sibetheros
>
>
>
>


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


Re: [one-users] Cannot run VM, fresh install. Could not create domain from /var/lib/one//datastores/

2013-12-16 Thread Jens Hoffmann
Does "ifconfig" on your host list eth0 and the loopback device only?
Does "brctl show" on your host return an empty list? In that case you
have no bridge and you need to setup one to bridge between eth0  and
your nebula vms. The vmware bridge that connects your host-vm to the
internet or wherever acts upon a different layer. vmware won't setup a
bridge inside of your host-vm.


Hope this is of some help.


Jens

-- 
gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5



On 12/17/2013 12:28 AM, Alexander Sibetheros wrote:
> In that case it probably is the bridge settings.
> Because I am running host/nodes from vm(vmware, with bridge network) I
> have eth0 reserved for that.
> I changed the interface file too:
> auto eth0
> iface eth0 inet static
> address 192.168.0.20
> netmask 255.255.255.0
> broadcast 192.168.0.255
> gateway 192.168.0.1
> But didn't add anything on bridges because I though eth0 was already a
> bridge(from vmware).
> (Normally the tutorial mentions: iface br0 inet static
> #bridge_ports eth0
> #bridge_fd 9
> #bridge_hello 2
> #bridge_maxage 12
> #bridge_stp off).
>
> My 1 node(also vm) has similar settings(iface eth0 inet static with no
> bridge settings).
>
> In my virtual network I changed BRIDGE= eth0(previously br0).
>
> If this is not allowed then what should I change?
>
>
> On Tue, Dec 17, 2013 at 1:05 AM, Jens Hoffmann
> mailto:jens.hoffm...@cuesoft.eu>> wrote:
>
> Hi,
>
> please double check / post:
>
>  * "brctl show" on your host
>  * Network related commands eventually logged in /var/log/auth.log
>  * Any related hints in /var/log/syslog
>  * /etc/network/interfaces on your host
>  * the nebula network template
>  * anything else that you might find to be of some help
>
>
> From the logs you have posted it seems to be a problem with your
> bridge setup.
>
>
> Jens
>
> -- 
> gpg --keyserver pgp.mit.edu  --recv-keys 0xDB1CAFB5
>
>
>
> On 12/16/2013 11:39 PM, Alexander Sibetheros wrote:
>> I freshly installed 2 12.04.3 Ubuntu VM's and followed the
>> tutorial
>> http://www.opennebula.org/documentation:rel4.4:qs_ubuntu_kvm as
>> best as possible.
>> When I run the vm( onetemplate instantiate "CentOS-6.4" --name
>> "My Scratch VM"
>> I get failed state and this error:
>>
>> Mon Dec 16 13:54:30 2013 [VMM][I]: Command execution fail: cat <<
>> EOT | /var/tmp/one/vmm/kvm/deploy
>> '/var/lib/one//datastores/0/0/deployment.0' '192.168.0.21' 0
>> 192.168.0.21
>> Mon Dec 16 13:54:30 2013 [VMM][I]: error: Failed to create domain
>> from /var/lib/one//datastores/0/0/deployment.0
>> Mon Dec 16 13:54:30 2013 [VMM][I]: error: Unable to add bridge
>> eth0 port vnet0: Operation not supported
>> Mon Dec 16 13:54:30 2013 [VMM][E]: Could not create domain from
>> /var/lib/one//datastores/0/0/deployment.0
>> Mon Dec 16 13:54:30 2013 [VMM][I]: ExitCode: 255
>> Mon Dec 16 13:54:30 2013 [VMM][I]: Failed to execute
>> virtualization driver operation: deploy.
>> Mon Dec 16 13:54:30 2013 [VMM][E]: Error deploying virtual
>> machine: Could not create domain from
>> /var/lib/one//datastores/0/0/deployment.0
>>
>> I have checked the mailing list and a few forums but haven't
>> found much for my case.
>> I am running NFS underneath, but only what the tutorial mentions.
>>
>>
>> ___
>> 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
>
>
>
>
> -- 
> Alexander Sibetheros




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


Re: [one-users] Cannot run VM, fresh install. Could not create domain from /var/lib/one//datastores/

2013-12-16 Thread Alexander Sibetheros
In that case it probably is the bridge settings.
Because I am running host/nodes from vm(vmware, with bridge network) I have
eth0 reserved for that.
I changed the interface file too:
auto eth0
iface eth0 inet static
address 192.168.0.20
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1
But didn't add anything on bridges because I though eth0 was already a
bridge(from vmware).
(Normally the tutorial mentions: iface br0 inet static
#bridge_ports eth0
#bridge_fd 9
#bridge_hello 2
#bridge_maxage 12
#bridge_stp off).

My 1 node(also vm) has similar settings(iface eth0 inet static with no
bridge settings).

In my virtual network I changed BRIDGE= eth0(previously br0).

If this is not allowed then what should I change?


On Tue, Dec 17, 2013 at 1:05 AM, Jens Hoffmann wrote:

>  Hi,
>
> please double check / post:
>
>  * "brctl show" on your host
>  * Network related commands eventually logged in /var/log/auth.log
>  * Any related hints in /var/log/syslog
>  * /etc/network/interfaces on your host
>  * the nebula network template
>  * anything else that you might find to be of some help
>
>
> From the logs you have posted it seems to be a problem with your bridge
> setup.
>
>
> Jens
>
> --
> gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5
>
>
>
> On 12/16/2013 11:39 PM, Alexander Sibetheros wrote:
>
>   I freshly installed 2 12.04.3 Ubuntu VM's and followed the tutorial
> http://www.opennebula.org/documentation:rel4.4:qs_ubuntu_kvm as best as
> possible.
>  When I run the vm( onetemplate instantiate "CentOS-6.4" --name "My
> Scratch VM"
>  I get failed state and this error:
>
> Mon Dec 16 13:54:30 2013 [VMM][I]: Command execution fail: cat << EOT |
> /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/0/deployment.0'
> '192.168.0.21' 0 192.168.0.21
> Mon Dec 16 13:54:30 2013 [VMM][I]: error: Failed to create domain from
> /var/lib/one//datastores/0/0/deployment.0
> Mon Dec 16 13:54:30 2013 [VMM][I]: error: Unable to add bridge eth0 port
> vnet0: Operation not supported
> Mon Dec 16 13:54:30 2013 [VMM][E]: Could not create domain from
> /var/lib/one//datastores/0/0/deployment.0
> Mon Dec 16 13:54:30 2013 [VMM][I]: ExitCode: 255
> Mon Dec 16 13:54:30 2013 [VMM][I]: Failed to execute virtualization driver
> operation: deploy.
> Mon Dec 16 13:54:30 2013 [VMM][E]: Error deploying virtual machine: Could
> not create domain from /var/lib/one//datastores/0/0/deployment.0
>
>  I have checked the mailing list and a few forums but haven't found much
> for my case.
>  I am running NFS underneath, but only what the tutorial mentions.
>
>
> ___
> Users mailing 
> listUsers@lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


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


Re: [one-users] Cannot run VM, fresh install. Could not create domain from /var/lib/one//datastores/

2013-12-16 Thread Jens Hoffmann
Hi,

please double check / post:

 * "brctl show" on your host
 * Network related commands eventually logged in /var/log/auth.log
 * Any related hints in /var/log/syslog
 * /etc/network/interfaces on your host
 * the nebula network template
 * anything else that you might find to be of some help


From the logs you have posted it seems to be a problem with your bridge
setup.


Jens

-- 
gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5



On 12/16/2013 11:39 PM, Alexander Sibetheros wrote:
> I freshly installed 2 12.04.3 Ubuntu VM's and followed the tutorial
> http://www.opennebula.org/documentation:rel4.4:qs_ubuntu_kvm as best
> as possible.
> When I run the vm( onetemplate instantiate "CentOS-6.4" --name "My
> Scratch VM"
> I get failed state and this error:
>
> Mon Dec 16 13:54:30 2013 [VMM][I]: Command execution fail: cat << EOT
> | /var/tmp/one/vmm/kvm/deploy
> '/var/lib/one//datastores/0/0/deployment.0' '192.168.0.21' 0 192.168.0.21
> Mon Dec 16 13:54:30 2013 [VMM][I]: error: Failed to create domain from
> /var/lib/one//datastores/0/0/deployment.0
> Mon Dec 16 13:54:30 2013 [VMM][I]: error: Unable to add bridge eth0
> port vnet0: Operation not supported
> Mon Dec 16 13:54:30 2013 [VMM][E]: Could not create domain from
> /var/lib/one//datastores/0/0/deployment.0
> Mon Dec 16 13:54:30 2013 [VMM][I]: ExitCode: 255
> Mon Dec 16 13:54:30 2013 [VMM][I]: Failed to execute virtualization
> driver operation: deploy.
> Mon Dec 16 13:54:30 2013 [VMM][E]: Error deploying virtual machine:
> Could not create domain from /var/lib/one//datastores/0/0/deployment.0
>
> I have checked the mailing list and a few forums but haven't found
> much for my case.
> I am running NFS underneath, but only what the tutorial mentions.
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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


[one-users] Cannot run VM, fresh install. Could not create domain from /var/lib/one//datastores/

2013-12-16 Thread Alexander Sibetheros
I freshly installed 2 12.04.3 Ubuntu VM's and followed the tutorial
http://www.opennebula.org/documentation:rel4.4:qs_ubuntu_kvm as best as
possible.
When I run the vm( onetemplate instantiate "CentOS-6.4" --name "My Scratch
VM"
I get failed state and this error:

Mon Dec 16 13:54:30 2013 [VMM][I]: Command execution fail: cat << EOT |
/var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/0/deployment.0'
'192.168.0.21' 0 192.168.0.21
Mon Dec 16 13:54:30 2013 [VMM][I]: error: Failed to create domain from
/var/lib/one//datastores/0/0/deployment.0
Mon Dec 16 13:54:30 2013 [VMM][I]: error: Unable to add bridge eth0 port
vnet0: Operation not supported
Mon Dec 16 13:54:30 2013 [VMM][E]: Could not create domain from
/var/lib/one//datastores/0/0/deployment.0
Mon Dec 16 13:54:30 2013 [VMM][I]: ExitCode: 255
Mon Dec 16 13:54:30 2013 [VMM][I]: Failed to execute virtualization driver
operation: deploy.
Mon Dec 16 13:54:30 2013 [VMM][E]: Error deploying virtual machine: Could
not create domain from /var/lib/one//datastores/0/0/deployment.0

I have checked the mailing list and a few forums but haven't found much for
my case.
I am running NFS underneath, but only what the tutorial mentions.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] No system datastore with enough capacity form the VM

2013-12-16 Thread Carlos Martín Sánchez
Hi,

On Mon, Dec 16, 2013 at 1:21 PM, Mario Giammarco 
 wrote:

> Thank you for your explanation.
> Infact I have already found it by trial and error.
> I usually read documentation (and I have read the big opennebula
> documentation).
> But, as I have already said in an other post, probably because I am new to
> cloud virtualization systems (I am used to standard virtualization like
> vmware), even reading documentation I cannot understand easily several
> concepts:
>
> - difference among persistent/non persistent/volatile;
> - why I need to create a template and I cannot create virtual machines
> directly;
>
> So I wonder if there is a tutorial on using cloud systems or something
> similar.
>
> Thanks again,
> Mario
>

The gist of it is that a disk using a non-persistent image is a copy that
can be modified during the VM lifecycle, and these changes will be
destroyed with the VM.
If the disk is using a persistent image, OpenNebula will save the changes
back to the datastore when the VM is shut down.

You can decide to save the changes made to a disk using a non-persistent
image. In this case, instead of overwriting the original image, OpenNebula
will create a new one.

Volatile disks are not created from any Image, a clean disk is created in
the system DS when the VM is deployed. These disks are destroyed with the
VM, and there is no way to save the changes back to an image datastore [3].

Regards

[1] http://opennebula.org/documentation:rel4.4:template#disks_section
[2]
http://opennebula.org/documentation:rel4.4:img_guide#how_to_use_images_in_virtual_machines
[3]
http://opennebula.org/documentation:rel4.4:img_guide#making_images_persistent
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebula


On Mon, Dec 16, 2013 at 1:21 PM, Mario Giammarco wrote:

> Thank you for your explanation.
> Infact I have already found it by trial and error.
> I usually read documentation (and I have read the big opennebula
> documentation).
> But, as I have already said in an other post, probably because I am new to
> cloud virtualization systems (I am used to standard virtualization like
> vmware), even reading documentation I cannot understand easily several
> concepts:
>
> - difference among persistent/non persistent/volatile;
> - why I need to create a template and I cannot create virtual machines
> directly;
>
> So I wonder if there is a tutorial on using cloud systems or something
> similar.
>
> Thanks again,
> Mario
>
>
> 2013/12/16 Carlos Martín Sánchez 
>
>> Hi,
>>
>> On Fri, Dec 13, 2013 at 7:04 PM, Mario Giammarco 
>>  wrote:
>>
>> I have done other tests.
>>> If I use a premade image from marketplace all works.
>>> The problem is that I have tried to install an so from scratch (windows)
>>> and I have created a volatile disk.
>>> Probably it is my fault but I still do not understand how to put all my
>>> vm in ceph filesystem.
>>>
>>
>> That's the problem. Volatile disks are created in the system datastore.
>> To install a new OS you need to create an empty datablock persistent image
>> [1], because volatile disks are always disposed when the VM is deleted.
>>
>> Regards
>>
>> [1]
>> http://opennebula.org/documentation:rel4.4:img_guide#making_images_persistent
>> [2] http://opennebula.org/documentation:rel4.4:template#disks_section
>>
>> --
>> Carlos Martín, MSc
>> Project Engineer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | cmar...@opennebula.org | 
>> @OpenNebula
>>
>>
>> On Fri, Dec 13, 2013 at 7:04 PM, Mario Giammarco wrote:
>>
>>> I have done other tests.
>>> If I use a premade image from marketplace all works.
>>> The problem is that I have tried to install an so from scratch (windows)
>>> and I have created a volatile disk.
>>> Probably it is my fault but I still do not understand how to put all my
>>> vm in ceph filesystem.
>>>
>>>
>>> 2013/12/12 Carlos Martín Sánchez 
>>>
 So the scheduler thinks that the VM needs 100 GB in the system DS
 instead of the ceph image DS.
 Could you please paste the output of onedatastore show 100 & 104 ?

 Regards
 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | cmar...@opennebula.org | 
 @OpenNebula


 On Wed, Dec 11, 2013 at 8:53 PM, Mario Giammarco 
 wrote:

> Here are some parts of the log, please note that I tried two things:
>
> - clean some requirements of the vm (datastore rank stripping);
> - adding another system datastore (I have one shared and one ssh);
> - please also note that system datastore with id 0 was never used
> because it was not part of the cluster or "public";
> - I have also deleted and recreated VM;
>
> Wed Dec 11 10:02:06 2013 [SCHED][I]: Init Scheduler Log system
>

Re: [one-users] Help getting sunstone-server to auto-start after reboot like oned

2013-12-16 Thread Campbell, Bill
I believe when you install the packages from the repository it will create 
an /etc/init.d/opennebula-sunstone init script that should be configurable 
to start at boot (if the package doesn’t do that already).  You can check 
this by running this:



update-rc.d opennebula-sunstone defaults





From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Kenneth
Sent: Saturday, December 14, 2013 7:33 PM
To: users@lists.opennebula.org
Subject: Re: [one-users] Help getting sunstone-server to auto-start after 
reboot like oned



It's weekend, people are out of their computers (maybe).

Are you sure sunstone server is not being started when you reboot? It should 
be as launched at startup like the one service, you could have made some 
mistake during the installation?

That being said, I'll make a bash script which contain the lines. (This 
method is prety lame, and I haven't tested it yet)

su oneadmin

sunstone-server start

Then add the script to the /etc/rc.local file. I would assume you can change 
users without any passwords?

---

Thanks,
Kenneth
Apollo Global Corp.

On 12/15/2013 12:36 AM, Kenneth Øst wrote:

This is my first post. Does anybody get my mails?

Den 14/12/2013 00.23 skrev "Kenneth Øst" mailto:kenneth.o...@gmail.com> >:

Hi One users

I have successfully setup OpenNebula 4.4 on Ubuntu 13.10 with Open vSwitch 
on a single server for home use :-)



My question as the subject says: I would like to have the sunstone-server to 
automatically startup after reboot of the server. Are there a simple way to 
do start sunstone-server, just like how the oned is started?



Best regards

Kenneth



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


NOTICE: Protect the information in this message in accordance with the 
company's security policies. If you received this message in error, immediately 
notify the sender and destroy all copies.

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


Re: [one-users] No system datastore with enough capacity form the VM

2013-12-16 Thread Mario Giammarco
Thank you for your explanation.
Infact I have already found it by trial and error.
I usually read documentation (and I have read the big opennebula
documentation).
But, as I have already said in an other post, probably because I am new to
cloud virtualization systems (I am used to standard virtualization like
vmware), even reading documentation I cannot understand easily several
concepts:

- difference among persistent/non persistent/volatile;
- why I need to create a template and I cannot create virtual machines
directly;

So I wonder if there is a tutorial on using cloud systems or something
similar.

Thanks again,
Mario


2013/12/16 Carlos Martín Sánchez 

> Hi,
>
> On Fri, Dec 13, 2013 at 7:04 PM, Mario Giammarco 
>  wrote:
>
> I have done other tests.
>> If I use a premade image from marketplace all works.
>> The problem is that I have tried to install an so from scratch (windows)
>> and I have created a volatile disk.
>> Probably it is my fault but I still do not understand how to put all my
>> vm in ceph filesystem.
>>
>
> That's the problem. Volatile disks are created in the system datastore. To
> install a new OS you need to create an empty datablock persistent image
> [1], because volatile disks are always disposed when the VM is deleted.
>
> Regards
>
> [1]
> http://opennebula.org/documentation:rel4.4:img_guide#making_images_persistent
> [2] http://opennebula.org/documentation:rel4.4:template#disks_section
>
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | cmar...@opennebula.org | 
> @OpenNebula
>
>
> On Fri, Dec 13, 2013 at 7:04 PM, Mario Giammarco wrote:
>
>> I have done other tests.
>> If I use a premade image from marketplace all works.
>> The problem is that I have tried to install an so from scratch (windows)
>> and I have created a volatile disk.
>> Probably it is my fault but I still do not understand how to put all my
>> vm in ceph filesystem.
>>
>>
>> 2013/12/12 Carlos Martín Sánchez 
>>
>>> So the scheduler thinks that the VM needs 100 GB in the system DS
>>> instead of the ceph image DS.
>>> Could you please paste the output of onedatastore show 100 & 104 ?
>>>
>>> Regards
>>> --
>>> Carlos Martín, MSc
>>> Project Engineer
>>> OpenNebula - Flexible Enterprise Cloud Made Simple
>>> www.OpenNebula.org | cmar...@opennebula.org | 
>>> @OpenNebula
>>>
>>>
>>> On Wed, Dec 11, 2013 at 8:53 PM, Mario Giammarco 
>>> wrote:
>>>
 Here are some parts of the log, please note that I tried two things:

 - clean some requirements of the vm (datastore rank stripping);
 - adding another system datastore (I have one shared and one ssh);
 - please also note that system datastore with id 0 was never used
 because it was not part of the cluster or "public";
 - I have also deleted and recreated VM;

 Wed Dec 11 10:02:06 2013 [SCHED][I]: Init Scheduler Log system
 Wed Dec 11 10:02:06 2013 [SCHED][I]: Starting Scheduler Daemon
 
  Scheduler Configuration File
 
 DEFAULT_DS_SCHED=POLICY=1
 DEFAULT_SCHED=POLICY=1
 HYPERVISOR_MEM=0.1
 LIVE_RESCHEDS=0
 LOG=DEBUG_LEVEL=3,SYSTEM=file
 MAX_DISPATCH=30
 MAX_HOST=1
 MAX_VM=5000
 ONED_PORT=2633
 SCHED_INTERVAL=30
 
 Wed Dec 11 10:02:06 2013 [SCHED][I]: Starting scheduler loop...
 Wed Dec 11 10:02:06 2013 [SCHED][I]: Scheduler loop started.
 Wed Dec 11 10:08:36 2013 [VM][D]: Pending/rescheduling VM and capacity
 requirements:
   VM  CPU  Memory   System DS  Image DS
 
4  100  524288   0  DS 100: 0
 Wed Dec 11 10:08:36 2013 [HOST][D]: Discovered Hosts (enabled):
  0
 Wed Dec 11 10:08:36 2013 [SCHED][D]: VM 4: Datastore 0 filtered out. It
 does not fulfill SCHED_DS_REQUIREMENTS.
 Wed Dec 11 10:08:36 2013 [SCHED][I]: Scheduling Results:
 Virtual Machine: 4

 PRI ID - HOSTS
 
 0   0

 PRI ID - DATASTORES
 
 1   104

 Wed Dec 11 10:08:36 2013 [VM][I]: Dispatching VM 4 to host 0 and
 datastore 104
 Wed Dec 11 10:10:35 2013 [VM][D]: Pending/rescheduling VM and capacity
 requirements:
   VM  CPU  Memory   System DS  Image DS
 
5  100  524288   0  DS 100: 0
 Wed Dec 11 10:10:35 2013 [HOST][D]: Discovered Hosts (enabled):
  0
 Wed Dec 11 10:10:35 2013 [SCHED][D]: VM 5: Datastore 0 filtered out. It
 does not fulfill SCHED_DS_REQUIREMENTS.
 Wed Dec 11 10:10:35 2013 [SCHED][I]: Scheduling Results:
 Virtual Machine:

Re: [one-users] VMWare image on ONE 4.4

2013-12-16 Thread Eduardo Roloff
Hello Tino,

The "df" command does not exists in my version of ESXi (5.0).

After a serch in the VMWare KB, I found that the command to be used to
monitor vmfs disks is the "vdf".

But the sintax is quite different, I'll try to get more information
and send to you.

Eduardo



On Mon, Dec 16, 2013 at 9:02 AM, Tino Vazquez  wrote:
> Hi Eduardo,
>
> From the DS template, we see that
>
>   0
>   0
>   772
>
> So there is a failure monitoring TOTAL and FREE space in the DS. This
> comes from the following line in the monitoring script:
>
> DF_STR=\$($DF -m | grep ${BASE_PATH%/} | sed -e 's/ \+/:/g')
>
> Let's try this manually. What's the output of the following, as
> onadmin in 'gn905cb':
>
> $ df -m | grep /vmfs/volumes/1/ | sed -e 's/ \+/:/g'
>
> Best,
>
> -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 Fri, Dec 13, 2013 at 2:03 PM, Eduardo Roloff  wrote:
>> Hello Tino,
>>
>> I Change the datastore to be compatible with these parameters, as seen below
>>
>> 
>>   1
>>   0
>>   0
>>   oneadmin
>>   oneadmin
>>   default
>>   
>> 1
>> 1
>> 0
>> 1
>> 0
>> 0
>> 1
>> 0
>> 0
>>   
>>   vmfs
>>   vmfs
>>   /vmfs/volumes/1
>>   0
>>   0
>>   -1
>>   
>>   0
>>   0
>>   772
>>   
>>   
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>   
>> 
>>
>>
>> But, When I upload the TTY-VMWware from the marketplace I`ve got the
>> ~not enough space~ message again, the log is beleow
>>
>>
>> Fri Dec 13 13:58:58 2013 [ReM][D]: Req:4944 UID:0 DocumentPoolInfo
>> invoked, -2,   -1, -1, 100
>> Fri Dec 13 13:58:58 2013 [ReM][D]: Req:4944 UID:0 DocumentPoolInfo
>> result SUCCES  S, "> Fri Dec 13 13:58:58 2013 [ReM][D]: Req:2576 UID:0
>> VirtualNetworkPoolInfo invoked  , -2, -1, -1
>> Fri Dec 13 13:58:58 2013 [ReM][D]: Req:2576 UID:0
>> VirtualNetworkPoolInfo result   SUCCESS,
>> "> Fri Dec 13 13:59:01 2013 [ReM][D]: Req:672 UID:0 HostPoolInfo invoked
>> Fri Dec 13 13:59:01 2013 [ReM][D]: Req:672 UID:0 HostPoolInfo result
>> SUCCESS, "<  HOST_POOL>> Fri Dec 13 13:59:02 2013 [ReM][D]: Req:3696 UID:0 TemplatePoolInfo
>> invoked, -2,   -1, -1
>> Fri Dec 13 13:59:02 2013 [ReM][D]: Req:3696 UID:0 TemplatePoolInfo
>> result SUCCES  S, "> Fri Dec 13 13:59:04 2013 [InM][D]: Monitoring datastore default (1)
>> Fri Dec 13 13:59:04 2013 [InM][D]: Monitoring datastore files (2)
>> Fri Dec 13 13:59:04 2013 [ImM][D]: Datastore files (2) successfully 
>> monitored.
>> Fri Dec 13 13:59:04 2013 [ReM][D]: Req:1200 UID:0 ImagePoolInfo
>> invoked, -2, -1,   -1
>> Fri Dec 13 13:59:05 2013 [ImM][D]: Datastore default (1) successfully 
>> monitored.
>> Fri Dec 13 13:59:05 2013 [ReM][D]: Req:1200 UID:0 ImagePoolInfo result
>> SUCCESS,   "> Fri Dec 13 13:59:07 2013 [ReM][D]: Req:3680 UID:1 DocumentPoolInfo
>> invoked, -2,   -1, -1, 100
>> Fri Dec 13 13:59:07 2013 [ReM][D]: Req:3680 UID:1 DocumentPoolInfo
>> result SUCCES  S, "> Fri Dec 13 13:59:09 2013 [ReM][D]: Req:5952 UID:0 DocumentPoolInfo
>> invoked, -2,   -1, -1, 101
>> Fri Dec 13 13:59:09 2013 [ReM][D]: Req:5952 UID:0 DocumentPoolInfo
>> result SUCCES  S, "> Fri Dec 13 13:59:16 2013 [ReM][D]: Req:1328 UID:0 ImageAllocate
>> invoked, "TYPE="  OS"...", 1
>> Fri Dec 13 13:59:16 2013 [ReM][E]: Req:1328 UID:0 ImageAllocate result
>> FAILURE N  ot enough space in datastore
>> Fri Dec 13 13:59:18 2013 [ReM][D]: Req:8832 UID:0
>> VirtualMachinePoolInfo invoked  , -2, -1, -1,
>> -1
>> Fri Dec 13 13:59:18 2013 [ReM][D]: Req:8832 UID:0
>> VirtualMachinePoolInfo result   SUCCESS,
>> ""
>> Fri Dec 13 13:59:18 2013 [ReM][D]: Req:8832 UID:0
>> VirtualMachinePoolInfo invoked  , -2, -1, -1,
>> -1
>> Fri Dec 13 13:59:18 2013 [ReM][D]: Req:8832 UID:0
>> VirtualMachinePoolInfo re

Re: [one-users] VMWare image on ONE 4.4

2013-12-16 Thread Tino Vazquez
Hi Eduardo,

>From the DS template, we see that

  0
  0
  772

So there is a failure monitoring TOTAL and FREE space in the DS. This
comes from the following line in the monitoring script:

DF_STR=\$($DF -m | grep ${BASE_PATH%/} | sed -e 's/ \+/:/g')

Let's try this manually. What's the output of the following, as
onadmin in 'gn905cb':

$ df -m | grep /vmfs/volumes/1/ | sed -e 's/ \+/:/g'

Best,

-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 Fri, Dec 13, 2013 at 2:03 PM, Eduardo Roloff  wrote:
> Hello Tino,
>
> I Change the datastore to be compatible with these parameters, as seen below
>
> 
>   1
>   0
>   0
>   oneadmin
>   oneadmin
>   default
>   
> 1
> 1
> 0
> 1
> 0
> 0
> 1
> 0
> 0
>   
>   vmfs
>   vmfs
>   /vmfs/volumes/1
>   0
>   0
>   -1
>   
>   0
>   0
>   772
>   
>   
> 
> 
> 
> 
> 
> 
> 
>   
> 
>
>
> But, When I upload the TTY-VMWware from the marketplace I`ve got the
> ~not enough space~ message again, the log is beleow
>
>
> Fri Dec 13 13:58:58 2013 [ReM][D]: Req:4944 UID:0 DocumentPoolInfo
> invoked, -2,   -1, -1, 100
> Fri Dec 13 13:58:58 2013 [ReM][D]: Req:4944 UID:0 DocumentPoolInfo
> result SUCCES  S, " Fri Dec 13 13:58:58 2013 [ReM][D]: Req:2576 UID:0
> VirtualNetworkPoolInfo invoked  , -2, -1, -1
> Fri Dec 13 13:58:58 2013 [ReM][D]: Req:2576 UID:0
> VirtualNetworkPoolInfo result   SUCCESS,
> " Fri Dec 13 13:59:01 2013 [ReM][D]: Req:672 UID:0 HostPoolInfo invoked
> Fri Dec 13 13:59:01 2013 [ReM][D]: Req:672 UID:0 HostPoolInfo result
> SUCCESS, "<  HOST_POOL> Fri Dec 13 13:59:02 2013 [ReM][D]: Req:3696 UID:0 TemplatePoolInfo
> invoked, -2,   -1, -1
> Fri Dec 13 13:59:02 2013 [ReM][D]: Req:3696 UID:0 TemplatePoolInfo
> result SUCCES  S, " Fri Dec 13 13:59:04 2013 [InM][D]: Monitoring datastore default (1)
> Fri Dec 13 13:59:04 2013 [InM][D]: Monitoring datastore files (2)
> Fri Dec 13 13:59:04 2013 [ImM][D]: Datastore files (2) successfully monitored.
> Fri Dec 13 13:59:04 2013 [ReM][D]: Req:1200 UID:0 ImagePoolInfo
> invoked, -2, -1,   -1
> Fri Dec 13 13:59:05 2013 [ImM][D]: Datastore default (1) successfully 
> monitored.
> Fri Dec 13 13:59:05 2013 [ReM][D]: Req:1200 UID:0 ImagePoolInfo result
> SUCCESS,   " Fri Dec 13 13:59:07 2013 [ReM][D]: Req:3680 UID:1 DocumentPoolInfo
> invoked, -2,   -1, -1, 100
> Fri Dec 13 13:59:07 2013 [ReM][D]: Req:3680 UID:1 DocumentPoolInfo
> result SUCCES  S, " Fri Dec 13 13:59:09 2013 [ReM][D]: Req:5952 UID:0 DocumentPoolInfo
> invoked, -2,   -1, -1, 101
> Fri Dec 13 13:59:09 2013 [ReM][D]: Req:5952 UID:0 DocumentPoolInfo
> result SUCCES  S, " Fri Dec 13 13:59:16 2013 [ReM][D]: Req:1328 UID:0 ImageAllocate
> invoked, "TYPE="  OS"...", 1
> Fri Dec 13 13:59:16 2013 [ReM][E]: Req:1328 UID:0 ImageAllocate result
> FAILURE N  ot enough space in datastore
> Fri Dec 13 13:59:18 2013 [ReM][D]: Req:8832 UID:0
> VirtualMachinePoolInfo invoked  , -2, -1, -1,
> -1
> Fri Dec 13 13:59:18 2013 [ReM][D]: Req:8832 UID:0
> VirtualMachinePoolInfo result   SUCCESS,
> ""
> Fri Dec 13 13:59:18 2013 [ReM][D]: Req:8832 UID:0
> VirtualMachinePoolInfo invoked  , -2, -1, -1,
> -1
> Fri Dec 13 13:59:18 2013 [ReM][D]: Req:8832 UID:0
> VirtualMachinePoolInfo result   SUCCESS,
> ""
>
> On Fri, Dec 13, 2013 at 7:49 AM, Tino Vazquez  wrote:
>> Hi Eduardo,
>>
>> The system datastore is monitored in  different way than the images
>> one. In any case, for a correct storage configuration for VMware you
>> need:
>>
>>  * system datastore with 'vmfs' TM and /vmfs/volumes BASE_PATH
>>  * images_datastore with 'vmfs' TM and 'vmfs' DS and /vmfs/volumes BASE_PATH
>>
>> Regards,
>>
>> -Tino
>>
>> --
>> OpenNebula - Flexible Enterprise Cloud Made Sim

Re: [one-users] Users Digest, Vol 70, Issue 90

2013-12-16 Thread knawnd

Hi Caty,

Catalina Quinde wrote on 16/12/13 09:58:

Hi Nikolay,

Receive a big hug and thank you very much, the MV is now RUNNING, thanks, was how to mount the 
datastore, thank you .


The MV that is running is a general, now I have a VM that I made earlier, you remember, I made a 
template of the MV, the deployment fails, but I can not understand where is the mistake, I made 
two templates with diferents OSTEMPLATE but failed, I send templates and file log:


1.
NAME="VMdebianm64"
NIC=[NETWORK_ID="0"]
OS=[ARCH="x86_64"]
VE_LAYOUT="ploop"
MEMORY="512"
CPU="0.01"
VCPU="1"
REQUIREMENTS="CLUSTER_ID=\"100\""
RCLOCAL="rc.local"
OSTEMPLATE="debian-7.0-x86_64"
DISK=[IMAGE_ID="2"]
GRAPHICS=[TYPE="VNC",PORT="5900",LISTEN="0.0.0.0"]

- Log file:

oneadmin@ubuntuOpNeb:~$ cat /var/log/one/10.log
Sun Dec 15 23:42:27 2013 [DiM][I]: New VM state is ACTIVE.
Sun Dec 15 23:42:27 2013 [LCM][I]: New VM state is PROLOG.
Sun Dec 15 23:42:27 2013 [VM][I]: Virtual Machine has no context
Sun Dec 15 23:43:19 2013 [LCM][I]: New VM state is BOOT
Sun Dec 15 23:43:19 2013 [VMM][I]: Generating deployment file: 
/var/lib/one/vms/10/deployment.0
Sun Dec 15 23:43:20 2013 [VMM][I]: ExitCode: 0
Sun Dec 15 23:43:20 2013 [VMM][I]: Successfully execute network driver 
operation: pre.
Sun Dec 15 23:51:20 2013 [VMM][I]: Command execution fail: cat << EOT | 
/vz/one/scripts/vmm/ovz/deploy '/vz/one/datastores/0/10/deployment.0' 'ubuntu' 10 ubuntu
Sun Dec 15 23:51:20 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo mv 
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz" 
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.1387169010" 2> /dev/null; true".
Sun Dec 15 23:51:20 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo ln -sf 
"/vz/one/datastores/0/10/disk.0" "/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz"".
Sun Dec 15 23:51:20 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo /usr/sbin/vzctl create 1010 
--layout simfs --ostemplate "debian-7.0-x86_64" --private "/vz/one/datastores/0/10/private" --root 
"/vz/one/datastores/0/10/root"".
Sun Dec 15 23:51:20 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo rm -f 
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz"".
Sun Dec 15 23:51:20 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo mv 
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.1387169010" 
"/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz" 2> /dev/null; true".
Sun Dec 15 23:51:20 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo cp 
"/vz/one/datastores/0/10/vm_conf" "/etc/vz/conf/1010.conf"".

Sun Dec 15 23:51:20 2013 [VMM][I]: deploy: Not performing contextualization, no 
context given.
Sun Dec 15 23:51:20 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo chown 1001:1001 -R 
/vz/one/datastores/0/10/private".

Sun Dec 15 23:51:20 2013 [VMM][E]: deploy: Command "/usr/bin/sudo /usr/sbin/vzctl 
start 1010" failed.
Sun Dec 15 23:51:20 2013 [VMM][E]: deploy: Container start failed (try to check kernel messages, 
e.g. "dmesg | tail")
Sun Dec 15 23:51:20 2013 [VMM][E]: Container start failed (try to check kernel messages, e.g. 
"dmesg | tail")
what is the output of "dmesg|tail" command as it is suggested in the error messages? What is the 
content of the corresponding part of /var/log/vzctl.log?




Sun Dec 15 23:51:20 2013 [VMM][E]:
Sun Dec 15 23:51:20 2013 [VMM][I]: ExitCode: 79
Sun Dec 15 23:51:20 2013 [VMM][I]: Failed to execute virtualization driver 
operation: deploy.
Sun Dec 15 23:51:20 2013 [VMM][E]: Error deploying virtual machine: Container start failed (try to 
check kernel messages, e.g. "dmesg | tail")

Sun Dec 15 23:51:20 2013 [DiM][I]: New VM state is FAILED


2. Another template
NAME="VMopenvzamd64"
NIC=[NETWORK_ID="0"]
OS=[ARCH="x86_64"]
VE_LAYOUT="ploop"
MEMORY="512"
CPU="0.01"
VCPU="1"
REQUIREMENTS="CLUSTER_ID=\"100\""
RCLOCAL="rc.local"
OSTEMPLATE="VMopenvzamd64"
If you use non-standard OpeNVZ OS template names please make sure there are appropriate conf files 
in /etc/vz/dists/ which names corresponds to distro you are reffering to.
Otherwise the default one will be used which is RHEL one. That's why you have a problem since OpenVZ 
tried to use the default config which is RHEL but it looks like it's not compatible with the OS 
inside VMopenvzamd64 OS template archive (actually error messages says that:

Mon Dec 16 00:05:26 2013 [VMM][E]: deploy: Command "/usr/bin/sudo /usr/sbin/vzctl 
start 1011" failed.
Mon Dec 16 00:05:26 2013 [VMM][E]: deploy: Warning: configuration file for distribution 
VMopenvzamd64 not found, using defaults from /etc/vz/dists/default

Mon Dec 16 00:05:26 2013 [VMM][I]: Unable to start init, probably incorrect 
template
Mon Dec 16 00:05:26 2013 [VMM][I]: Container start failed
Mon Dec 16 00:05:26 2013 [VMM][E]: Warning: configuration file for distribution VMopenvzamd64 not 
found, using defaults from /etc/vz/dists/default

Mon Dec 16 00:05:26 2013 [VMM][E]: Unable to start init, probably incorrect 
template
Mon Dec 16 00:05:26 2013 [VMM][E]: Container start failed
Mon Dec 16 00:05:26 2013 [VMM][E]:
M

[one-users] 答复: Database Maintainance Required for a Long Running ONE

2013-12-16 Thread Sam Song
Hi Carlos,

 

Got it, Thanks you.

 

Sam

 

发件人: Carlos Martín Sánchez [mailto:cmar...@opennebula.org] 
发送时间: 2013年12月16日 17:58
收件人: Sam Song
抄送: users
主题: Re: [one-users] Database Maintainance Required for a Long Running ONE

 

Hi,

 

You can configure how much monitoring data OpenNebula keeps in the database,
take a look at the configuration guide for large deployments:

http://opennebula.org/documentation:rel4.4:one_scalability

 

Regards.




--

Carlos Martín, MSc
Project Engineer

OpenNebula - Flexible Enterprise Cloud Made Simple

www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
 

 

On Mon, Dec 16, 2013 at 9:09 AM, Sam Song  wrote:

Hi all,

As a long running ONE system, the size of database increases day by day,
especially for a large cluster.
Is it necessary for the maintainer to clean the history data to keep
front-end web running fast? How to do that? Is there an out-of-box tool or I
need do it manually?

Thanks in advance

Sam

___
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] Database Maintainance Required for a Long Running ONE

2013-12-16 Thread Carlos Martín Sánchez
Hi,

You can configure how much monitoring data OpenNebula keeps in the
database, take a look at the configuration guide for large deployments:
http://opennebula.org/documentation:rel4.4:one_scalability

Regards.

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


On Mon, Dec 16, 2013 at 9:09 AM, Sam Song  wrote:

> Hi all,
>
> As a long running ONE system, the size of database increases day by day,
> especially for a large cluster.
> Is it necessary for the maintainer to clean the history data to keep
> front-end web running fast? How to do that? Is there an out-of-box tool or
> I
> need do it manually?
>
> Thanks in advance
>
> Sam
>
> ___
> 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] No system datastore with enough capacity form the VM

2013-12-16 Thread Carlos Martín Sánchez
Hi,

On Fri, Dec 13, 2013 at 7:04 PM, Mario Giammarco 
 wrote:

> I have done other tests.
> If I use a premade image from marketplace all works.
> The problem is that I have tried to install an so from scratch (windows)
> and I have created a volatile disk.
> Probably it is my fault but I still do not understand how to put all my vm
> in ceph filesystem.
>

That's the problem. Volatile disks are created in the system datastore. To
install a new OS you need to create an empty datablock persistent image
[1], because volatile disks are always disposed when the VM is deleted.

Regards

[1]
http://opennebula.org/documentation:rel4.4:img_guide#making_images_persistent
[2] http://opennebula.org/documentation:rel4.4:template#disks_section
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebula


On Fri, Dec 13, 2013 at 7:04 PM, Mario Giammarco wrote:

> I have done other tests.
> If I use a premade image from marketplace all works.
> The problem is that I have tried to install an so from scratch (windows)
> and I have created a volatile disk.
> Probably it is my fault but I still do not understand how to put all my vm
> in ceph filesystem.
>
>
> 2013/12/12 Carlos Martín Sánchez 
>
>> So the scheduler thinks that the VM needs 100 GB in the system DS instead
>> of the ceph image DS.
>> Could you please paste the output of onedatastore show 100 & 104 ?
>>
>> Regards
>> --
>> Carlos Martín, MSc
>> Project Engineer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | cmar...@opennebula.org | 
>> @OpenNebula
>>
>>
>> On Wed, Dec 11, 2013 at 8:53 PM, Mario Giammarco wrote:
>>
>>> Here are some parts of the log, please note that I tried two things:
>>>
>>> - clean some requirements of the vm (datastore rank stripping);
>>> - adding another system datastore (I have one shared and one ssh);
>>> - please also note that system datastore with id 0 was never used
>>> because it was not part of the cluster or "public";
>>> - I have also deleted and recreated VM;
>>>
>>> Wed Dec 11 10:02:06 2013 [SCHED][I]: Init Scheduler Log system
>>> Wed Dec 11 10:02:06 2013 [SCHED][I]: Starting Scheduler Daemon
>>> 
>>>  Scheduler Configuration File
>>> 
>>> DEFAULT_DS_SCHED=POLICY=1
>>> DEFAULT_SCHED=POLICY=1
>>> HYPERVISOR_MEM=0.1
>>> LIVE_RESCHEDS=0
>>> LOG=DEBUG_LEVEL=3,SYSTEM=file
>>> MAX_DISPATCH=30
>>> MAX_HOST=1
>>> MAX_VM=5000
>>> ONED_PORT=2633
>>> SCHED_INTERVAL=30
>>> 
>>> Wed Dec 11 10:02:06 2013 [SCHED][I]: Starting scheduler loop...
>>> Wed Dec 11 10:02:06 2013 [SCHED][I]: Scheduler loop started.
>>> Wed Dec 11 10:08:36 2013 [VM][D]: Pending/rescheduling VM and capacity
>>> requirements:
>>>   VM  CPU  Memory   System DS  Image DS
>>> 
>>>4  100  524288   0  DS 100: 0
>>> Wed Dec 11 10:08:36 2013 [HOST][D]: Discovered Hosts (enabled):
>>>  0
>>> Wed Dec 11 10:08:36 2013 [SCHED][D]: VM 4: Datastore 0 filtered out. It
>>> does not fulfill SCHED_DS_REQUIREMENTS.
>>> Wed Dec 11 10:08:36 2013 [SCHED][I]: Scheduling Results:
>>> Virtual Machine: 4
>>>
>>> PRI ID - HOSTS
>>> 
>>> 0   0
>>>
>>> PRI ID - DATASTORES
>>> 
>>> 1   104
>>>
>>> Wed Dec 11 10:08:36 2013 [VM][I]: Dispatching VM 4 to host 0 and
>>> datastore 104
>>> Wed Dec 11 10:10:35 2013 [VM][D]: Pending/rescheduling VM and capacity
>>> requirements:
>>>   VM  CPU  Memory   System DS  Image DS
>>> 
>>>5  100  524288   0  DS 100: 0
>>> Wed Dec 11 10:10:35 2013 [HOST][D]: Discovered Hosts (enabled):
>>>  0
>>> Wed Dec 11 10:10:35 2013 [SCHED][D]: VM 5: Datastore 0 filtered out. It
>>> does not fulfill SCHED_DS_REQUIREMENTS.
>>> Wed Dec 11 10:10:35 2013 [SCHED][I]: Scheduling Results:
>>> Virtual Machine: 5
>>>
>>> PRI ID - HOSTS
>>> 
>>> 0   0
>>>
>>> PRI ID - DATASTORES
>>> 
>>> 1   104
>>>
>>>
>>> Wed Dec 11 10:10:35 2013 [VM][I]: Dispatching VM 5 to host 0 and
>>> datastore 104
>>> Wed Dec 11 11:24:20 2013 [VM][D]: Pending/rescheduling VM and capacity
>>> requirements:
>>>   VM  CPU  Memory   System DS  Image DS
>>> 
>>>6  100 1048576  102400  DS 100: 0
>>> Wed Dec 11 11:24:20 2013 [HOST][D]: Discovered Hosts (enabled):
>>>  0
>>> Wed Dec 11 11:24:20 2013 [SCHED][D]: VM 6: Datastore 0 filtered out. It
>>> does not fulfill SCHED_DS_REQUIREMENTS.
>>> Wed Dec 11 11:24:20 2013 [SCHED][D]: VM 6: Datastore 

[one-users] Database Maintainance Required for a Long Running ONE

2013-12-16 Thread Sam Song
Hi all,

As a long running ONE system, the size of database increases day by day,
especially for a large cluster. 
Is it necessary for the maintainer to clean the history data to keep
front-end web running fast? How to do that? Is there an out-of-box tool or I
need do it manually?

Thanks in advance

Sam

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