[one-users] system of monitoring for opennebula

2014-12-05 Thread Alexandr

Dear List,

We need to collect information on virtual machine utilization (CPU load, 
memory, etc.) for a long period, a year at least, so built-in opennebula 
monitoring is not enough. There is a project Opennebula-Ganglia 
https://github.com/OpenNebula/addon-ganglia - did someone use it with 
recent opennebula 4.10.1 version? Does anyone use any other opensource 
solution to gather such kind of information from hosts and VMs? 
Currently it is a small private cloud with just about 20 servers running 
~100 VMs, but it'll definitly grow several times bigger soon.



--
--
Regard,
   Alexandr.

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


Re: [one-users] [VirtualMachineAllocate] Error allocating a new virtual machine. Only one CONTEXT attribute can be defined.

2014-08-05 Thread Alexandr Baranov
Thank, for your support!
I solve my problem - reinstall rocci-server, and update ruby up to v.2.1.2
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] How use $UNAME

2014-07-24 Thread Alexandr Baranov
Hi,

I'm trying to setup kerberos login to log into VMs with kerberos username
matching ONE username. I'm going to use UNAME variable and ONE
documentation states it as pre-defined. So the question is: do I need to
manually specify UNAME inside the VM template, or is it automatically
defined and passed to contextualization scripts?
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] How use $UNAME

2014-07-24 Thread Alexandr Baranov
Thnak you,Valentin!
24.07.2014 14:48 пользователь Valentin Bud valentin@gmail.com
написал:

 Hi Alexandr,

 It is defined but not automatically included. You have to configure it
 in the template.

 CONTEXT=[
 UNAME=$UNAME
 ]

 You can, of course name the variable inside the CONTEXT as you wish.

 I am using ONE 4.4 and the above applies to this version, I don't know if
 4.6 includes the pre-defined variables by default.

 Best,
 Valentin


 On Thu, Jul 24, 2014 at 1:34 PM, Alexandr Baranov telecastcl...@gmail.com
  wrote:

 Hi,

 I'm trying to setup kerberos login to log into VMs with kerberos username
 matching ONE username. I'm going to use UNAME variable and ONE
 documentation states it as pre-defined. So the question is: do I need to
 manually specify UNAME inside the VM template, or is it automatically
 defined and passed to contextualization scripts?

 ___
 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


[one-users] [VirtualMachineAllocate] Error allocating a new virtual machine. Only one CONTEXT attribute can be defined.

2014-07-24 Thread Alexandr Baranov
Hi,
I have problems to create new virtual machines with rocci although i can
create new virtual machines through sunstone web interface.

Here's the output:
$ occi --endpoint rOOCI endpoint --action create --resource compute
--mixin os_tpl#uuid_kvm_scientific_6_x86_64_1cpu_1gb_ram_clstkvm_155
--mixin resource_tpl#small --attribute
occi.core.title=uuid_sl65_cvmfs_cloudinit_276_cloudinit_1406193329
--output-format json --auth basic --username USER --password passwrd F,

[2014-07-24T17:25:32.944541 #28565] FATAL -- : [rOCCI-cli] An error
occurred! Message: HTTP POST with
ID[72735417-9542-4e74-b04d-7d0c09b6c525] failed! HTTP Response status:
[400]
Bad Request : [VirtualMachineAllocate] Error allocating a new virtual
machine. Only one CONTEXT attribute can be defined.

What could be the problem?
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] [VirtualMachineAllocate] Error allocating a new virtual machine. Only one CONTEXT attribute can be defined.

2014-07-24 Thread Alexandr Baranov
My template:
NIC=[NETWORK=36-kvm,NETWORK_UNAME=oneadmin] MEMORY=1024 CPU=1
DISK=[IMAGE=SL65-cvmfs-cloudinit,IMAGE_UNAME=$IMAGE_UNAME]
GRAPHICS=[TYPE=VNC,LISTEN=0.0.0.0] CONTEXT=[SSH_PUBLIC_KEY=ssh-rsa
[KEY],NETWORK=YES] RAW=[TYPE=kvm] OS=[ARCH=x86_64,BOOT=hd]
24.07.2014 17:46 пользователь Valentin Bud valentin@gmail.com
написал:

 Hi Alexandr,

 Can you post your template please. Have you somehow defined two CONTEXT
 arrays inside the template?

 Bad Request : [VirtualMachineAllocate] Error allocating a new virtual
 machine. Only one CONTEXT attribute can be defined.

 The above makes me think you did.

 Best,
 Valentin


 On Thu, Jul 24, 2014 at 4:37 PM, Alexandr Baranov telecastcl...@gmail.com
  wrote:

 Hi,
 I have problems to create new virtual machines with rocci although i can
 create new virtual machines through sunstone web interface.

 Here's the output:
 $ occi --endpoint rOOCI endpoint --action create --resource compute
 --mixin os_tpl#uuid_kvm_scientific_6_x86_64_1cpu_1gb_ram_clstkvm_155
 --mixin resource_tpl#small --attribute
 occi.core.title=uuid_sl65_cvmfs_cloudinit_276_cloudinit_1406193329
 --output-format json --auth basic --username USER --password passwrd F,

 [2014-07-24T17:25:32.944541 #28565] FATAL -- : [rOCCI-cli] An error
 occurred! Message: HTTP POST with
 ID[72735417-9542-4e74-b04d-7d0c09b6c525] failed! HTTP Response status:
 [400]
 Bad Request : [VirtualMachineAllocate] Error allocating a new virtual
 machine. Only one CONTEXT attribute can be defined.

 What could be the problem?

 ___
 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] [VirtualMachineAllocate] Error allocating a new virtual machine. Only one CONTEXT attribute can be defined.

2014-07-24 Thread Alexandr Baranov
Thank you, Valentin!
24.07.2014 18:01 пользователь Valentin Bud valentin@gmail.com
написал:

 Looks good to me Alexandr. It seems it's another problem somewhere else.
 I have never used rocci so I am unable to help you further :|. Maybe others
 will.

 Best,
 Valentin


 On Thu, Jul 24, 2014 at 4:55 PM, Alexandr Baranov telecastcl...@gmail.com
  wrote:

 My template:
 NIC=[NETWORK=36-kvm,NETWORK_UNAME=oneadmin] MEMORY=1024 CPU=1
 DISK=[IMAGE=SL65-cvmfs-cloudinit,IMAGE_UNAME=$IMAGE_UNAME]
 GRAPHICS=[TYPE=VNC,LISTEN=0.0.0.0] CONTEXT=[SSH_PUBLIC_KEY=ssh-rsa
 [KEY],NETWORK=YES] RAW=[TYPE=kvm] OS=[ARCH=x86_64,BOOT=hd]
 24.07.2014 17:46 пользователь Valentin Bud valentin@gmail.com
 написал:

  Hi Alexandr,

 Can you post your template please. Have you somehow defined two CONTEXT
 arrays inside the template?

 Bad Request : [VirtualMachineAllocate] Error allocating a new virtual
 machine. Only one CONTEXT attribute can be defined.

 The above makes me think you did.

 Best,
 Valentin


 On Thu, Jul 24, 2014 at 4:37 PM, Alexandr Baranov 
 telecastcl...@gmail.com wrote:

 Hi,
 I have problems to create new virtual machines with rocci although i
 can create new virtual machines through sunstone web interface.

 Here's the output:
 $ occi --endpoint rOOCI endpoint --action create --resource compute
 --mixin os_tpl#uuid_kvm_scientific_6_x86_64_1cpu_1gb_ram_clstkvm_155
 --mixin resource_tpl#small --attribute
 occi.core.title=uuid_sl65_cvmfs_cloudinit_276_cloudinit_1406193329
 --output-format json --auth basic --username USER --password passwrd F,

 [2014-07-24T17:25:32.944541 #28565] FATAL -- : [rOCCI-cli] An error
 occurred! Message: HTTP POST with
 ID[72735417-9542-4e74-b04d-7d0c09b6c525] failed! HTTP Response status:
 [400]
 Bad Request : [VirtualMachineAllocate] Error allocating a new virtual
 machine. Only one CONTEXT attribute can be defined.

 What could be the problem?

 ___
 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] Problem with upload Image through sunstone's upload

2014-03-07 Thread Alexandr

Hello,
I resolved my problem. I changed the file permission: 
/etc/one/sunstone-views.yaml

before root:root
afterroot:oneadmin


On 03/07/2014 01:33 PM, Daniel Molina wrote:

Hi,

Yes.

Are sunstone and oned running in the same machine?

Cheers


On 4 March 2014 13:11, Alexandr telecastcl...@gmail.com 
mailto:telecastcl...@gmail.com wrote:


Dear List!

 I have a problem: when I try to upload image through sunstone's
upload option the image gets into error state with the message:
Tue Mar 4 15:42:22 2014 : Error copying image in the datastore:
Error copying /var/tmp/thin-body20140304-1544-kflb2y-0 to
/var/lib/one/datastores/1/df4b590c8b0cbca2dacb8613db0d9e40

 In the oned.log:

Tue Mar  4 15:42:22 2014 [ReM][D]: Req:9008 UID:5 ImageAllocate
result SUCCESS, 180
Tue Mar  4 15:42:22 2014 [ReM][D]: Req:6720 UID:5 ImageInfo
invoked, 180
Tue Mar  4 15:42:22 2014 [ReM][D]: Req:6720 UID:5 ImageInfo result
SUCCESS, IMAGEID180/ID...
Tue Mar  4 15:42:22 2014 [ImM][I]: Command execution fail:
/var/lib/one/remotes/datastore/fs/cp

PERTX0RSSVZFUl9BQ1RJT05fREFUQT48SU1BR0U+PElEPjE4MDwvSUQ+PFVJRD41PC9VSUQ+PEdJRD4xMDE8L0dJRD48VU5BTUU+bmlmdWtpPC9VTkFNRT48R05BTUU+bmlmdWtpPC9HTkFNRT48TkFNRT5xd2VyPC9OQU1FPjxQRVJNSVNTSU9OUz48T1dORVJfVT4xPC9PV05FUl9VPjxPV05FUl9NPjE8L09XTkVSX00+PE9XTkVSX0E+MDwvT1dORVJfQT48R1JPVVBfVT4wPC9HUk9VUF9VPjxHUk9VUF9NPjA8L0dST1VQX00+PEdST1VQX0E+MDwvR1JPVVBfQT48T1RIRVJfVT4wPC9PVEhFUl9VPjxPVEhFUl9NPjA8L09USEVSX00+PE9USEVSX0E+MDwvT1RIRVJfQT48L1BFUk1JU1NJT05TPjxUWVBFPjA8L1RZUEU+PERJU0tfVFlQRT4wPC9ESVNLX1RZUEU+PFBFUlNJU1RFTlQ+MDwvUEVSU0lTVEVOVD48UkVHVElNRT4xMzkzOTMzMzQyPC9SRUdUSU1FPjxTT1VSQ0U+PC9TT1VSQ0U+PFBBVEg+L3Zhci90bXAvdGhpbi1ib2R5MjAxNDAzMDQtMTU0NC1rZmxiMnktMDwvUEFUSD48RlNUWVBFPjwvRlNUWVBFPjxTSVpFPjE1PC9TSVpFPjxTVEFURT40PC9TVEFURT48UlVOTklOR19WTVM+MDwvUlVOTklOR19WTVM+PENMT05JTkdfT1BTPjA8L0NMT05JTkdfT1BTPjxDTE9OSU5HX0lEPi0xPC9DTE9OSU5HX0lEPjxEQVRBU1RPUkVfSUQ+MTwvREFUQVNUT1JFX0lEPjxEQVRBU1RPUkU+ZGVmYXVsdDwvREFUQVNUT1JFPjxWTVM+PC9WTVM+PENMT05FUz48L0NMT05FUz48VEVNUExBVEU+PERFVl9QUkVGSVg+PCFbQ0

RBVEFbaGRdXT48L0RFVl9QUkVGSVg+PC9URU1QTEFURT48L0lNQUdFPjxEQVRBU1RPUkU+PElEPjE8L0lEPjxVSUQ+MDwvVUlEPjxHSUQ+MDwvR0lEPjxVTkFNRT5vbmVhZG1pbjwvVU5BTUU+PEdOQU1FPm9uZWFkbWluPC9HTkFNRT48TkFNRT5kZWZhdWx0PC9OQU1FPjxQRVJNSVNTSU9OUz48T1dORVJfVT4xPC9PV05FUl9VPjxPV05FUl9NPjE8L09XTkVSX00+PE9XTkVSX0E+MDwvT1dORVJfQT48R1JPVVBfVT4xPC9HUk9VUF9VPjxHUk9VUF9NPjA8L0dST1VQX00+PEdST1VQX0E+MDwvR1JPVVBfQT48T1RIRVJfVT4wPC9PVEhFUl9VPjxPVEhFUl9NPjA8L09USEVSX00+PE9USEVSX0E+MDwvT1RIRVJfQT48L1BFUk1JU1NJT05TPjxEU19NQUQ+ZnM8L0RTX01BRD48VE1fTUFEPnNzaDwvVE1fTUFEPjxCQVNFX1BBVEg+L3Zhci9saWIvb25lL2RhdGFzdG9yZXMvMTwvQkFTRV9QQVRIPjxUWVBFPjA8L1RZUEU+PERJU0tfVFlQRT4wPC9ESVNLX1RZUEU+PENMVVNURVJfSUQ+MTAwPC9DTFVTVEVSX0lEPjxDTFVTVEVSPmNsdXN0ZXJfMzM8L0NMVVNURVI+PFRPVEFMX01CPjMwNzIwMDwvVE9UQUxfTUI+PEZSRUVfTUI+MTU0MjQxPC9GUkVFX01CPjxVU0VEX01CPjMwMjY8L1VTRURfTUI+PElNQUdFUz48SUQ+MTY8L0lEPjxJRD4yNzwvSUQ+PElEPjYwPC9JRD48SUQ+NjU8L0lEPjxJRD42NjwvSUQ+PC9JTUFHRVM+PFRFTVBMQVRFPjxDTE9ORV9UQVJHRVQ+PCFbQ0RBVEFbU1lTVEVNXV0+PC9DTE9ORV9UQVJ

HRVQ+PERTX01BRD48IVtDREFUQVtmc11dPjwvRFNfTUFEPjxMTl9UQVJHRVQ+PCFbQ0RBVEFbU1lTVEVNXV0+PC9MTl9UQVJHRVQ+PE5PX0RFQ09NUFJFU1M+PCFbQ0RBVEFbeWVzXV0+PC9OT19ERUNPTVBSRVNTPjxUTV9NQUQ+PCFbQ0RBVEFbc3NoXV0+PC9UTV9NQUQ+PFRZUEU+PCFbQ0RBVEFbSU1BR0VfRFNdXT48L1RZUEU+PC9URU1QTEFURT48L0RBVEFTVE9SRT48L0RTX0RSSVZFUl9BQ1RJT05fREFUQT4=
180
Tue Mar  4 15:42:22 2014 [ImM][I]: cp: Copying local image
/var/tmp/thin-body20140304-1544-kflb2y-0 to the image repository
Tue Mar  4 15:42:22 2014 [ImM][E]: cp: Command
/var/lib/one/remotes/datastore/fs/../downloader.sh --nodecomp
/var/tmp/thin-body20140304-1544-kflb2y-0
/var/lib/one/datastores/1/df4b590c8b0cbca2dacb8613db0d9e40
failed: Command is:
Tue Mar  4 15:42:22 2014 [ImM][I]: Cannot fucking read from
/var/tmp/thin-body20140304-1544-kflb2y-0
Tue Mar  4 15:42:22 2014 [ImM][E]: Error copying
/var/tmp/thin-body20140304-1544-kflb2y-0 to
/var/lib/one/datastores/1/df4b590c8b0cbca2dacb8613db0d9e40
Tue Mar  4 15:42:22 2014 [ImM][I]: ExitCode: 255
Tue Mar  4 15:42:22 2014 [ImM][E]: Error copying image in the
datastore: Error copying /var/tmp/thin-body20140304-1544-kflb2y-0
to /var/lib/one/datastores/1/df4b590c8b0cbca2dacb8613db0d9e40
Tue Mar  4 15:42:22 2014 [InM][D]: Monitoring datastore default (1)


I've checked permissions on tmp - they are OK,and the image loaded
in /var/tmp/, but when nebula it is trying to bring in datastore -
it gets removed instantly.
Also i checked  provide a path works correctly.


*
opennebula 4.4.1

-- 
--

Regard,
   Alexandr.


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




--
--
Daniel Molina
Project Engineer
OpenNebula - Flexible

[one-users] Problem with upload Image through sunstone's upload

2014-03-04 Thread Alexandr

Dear List!

 I have a problem: when I try to upload image through sunstone's upload 
option the image gets into error state with the message: Tue Mar 4 
15:42:22 2014 : Error copying image in the datastore: Error copying 
/var/tmp/thin-body20140304-1544-kflb2y-0 to 
/var/lib/one/datastores/1/df4b590c8b0cbca2dacb8613db0d9e40


 In the oned.log:

Tue Mar  4 15:42:22 2014 [ReM][D]: Req:9008 UID:5 ImageAllocate result 
SUCCESS, 180

Tue Mar  4 15:42:22 2014 [ReM][D]: Req:6720 UID:5 ImageInfo invoked, 180
Tue Mar  4 15:42:22 2014 [ReM][D]: Req:6720 UID:5 ImageInfo result 
SUCCESS, IMAGEID180/ID...
Tue Mar  4 15:42:22 2014 [ImM][I]: Command execution fail: 
/var/lib/one/remotes/datastore/fs/cp 
PERTX0RSSVZFUl9BQ1RJT05fREFUQT48SU1BR0U+PElEPjE4MDwvSUQ+PFVJRD41PC9VSUQ+PEdJRD4xMDE8L0dJRD48VU5BTUU+bmlmdWtpPC9VTkFNRT48R05BTUU+bmlmdWtpPC9HTkFNRT48TkFNRT5xd2VyPC9OQU1FPjxQRVJNSVNTSU9OUz48T1dORVJfVT4xPC9PV05FUl9VPjxPV05FUl9NPjE8L09XTkVSX00+PE9XTkVSX0E+MDwvT1dORVJfQT48R1JPVVBfVT4wPC9HUk9VUF9VPjxHUk9VUF9NPjA8L0dST1VQX00+PEdST1VQX0E+MDwvR1JPVVBfQT48T1RIRVJfVT4wPC9PVEhFUl9VPjxPVEhFUl9NPjA8L09USEVSX00+PE9USEVSX0E+MDwvT1RIRVJfQT48L1BFUk1JU1NJT05TPjxUWVBFPjA8L1RZUEU+PERJU0tfVFlQRT4wPC9ESVNLX1RZUEU+PFBFUlNJU1RFTlQ+MDwvUEVSU0lTVEVOVD48UkVHVElNRT4xMzkzOTMzMzQyPC9SRUdUSU1FPjxTT1VSQ0U+PC9TT1VSQ0U+PFBBVEg+L3Zhci90bXAvdGhpbi1ib2R5MjAxNDAzMDQtMTU0NC1rZmxiMnktMDwvUEFUSD48RlNUWVBFPjwvRlNUWVBFPjxTSVpFPjE1PC9TSVpFPjxTVEFURT40PC9TVEFURT48UlVOTklOR19WTVM+MDwvUlVOTklOR19WTVM+PENMT05JTkdfT1BTPjA8L0NMT05JTkdfT1BTPjxDTE9OSU5HX0lEPi0xPC9DTE9OSU5HX0lEPjxEQVRBU1RPUkVfSUQ+MTwvREFUQVNUT1JFX0lEPjxEQVRBU1RPUkU+ZGVmYXVsdDwvREFUQVNUT1JFPjxWTVM+PC9WTVM+PENMT05FUz48L0NMT05FUz48VEVNUExBVEU+PERFVl9QUkVGSVg+PCFbQ0

RBVEFbaGRdXT48L0RFVl9QUkVGSVg+PC9URU1QTEFURT48L0lNQUdFPjxEQVRBU1RPUkU+PElEPjE8L0lEPjxVSUQ+MDwvVUlEPjxHSUQ+MDwvR0lEPjxVTkFNRT5vbmVhZG1pbjwvVU5BTUU+PEdOQU1FPm9uZWFkbWluPC9HTkFNRT48TkFNRT5kZWZhdWx0PC9OQU1FPjxQRVJNSVNTSU9OUz48T1dORVJfVT4xPC9PV05FUl9VPjxPV05FUl9NPjE8L09XTkVSX00+PE9XTkVSX0E+MDwvT1dORVJfQT48R1JPVVBfVT4xPC9HUk9VUF9VPjxHUk9VUF9NPjA8L0dST1VQX00+PEdST1VQX0E+MDwvR1JPVVBfQT48T1RIRVJfVT4wPC9PVEhFUl9VPjxPVEhFUl9NPjA8L09USEVSX00+PE9USEVSX0E+MDwvT1RIRVJfQT48L1BFUk1JU1NJT05TPjxEU19NQUQ+ZnM8L0RTX01BRD48VE1fTUFEPnNzaDwvVE1fTUFEPjxCQVNFX1BBVEg+L3Zhci9saWIvb25lL2RhdGFzdG9yZXMvMTwvQkFTRV9QQVRIPjxUWVBFPjA8L1RZUEU+PERJU0tfVFlQRT4wPC9ESVNLX1RZUEU+PENMVVNURVJfSUQ+MTAwPC9DTFVTVEVSX0lEPjxDTFVTVEVSPmNsdXN0ZXJfMzM8L0NMVVNURVI+PFRPVEFMX01CPjMwNzIwMDwvVE9UQUxfTUI+PEZSRUVfTUI+MTU0MjQxPC9GUkVFX01CPjxVU0VEX01CPjMwMjY8L1VTRURfTUI+PElNQUdFUz48SUQ+MTY8L0lEPjxJRD4yNzwvSUQ+PElEPjYwPC9JRD48SUQ+NjU8L0lEPjxJRD42NjwvSUQ+PC9JTUFHRVM+PFRFTVBMQVRFPjxDTE9ORV9UQVJHRVQ+PCFbQ0RBVEFbU1lTVEVNXV0+PC9DTE9ORV9UQVJ
HRVQ+PERTX01BRD48IVtDREFUQVtmc11dPjwvRFNfTUFEPjxMTl9UQVJHRVQ+PCFbQ0RBVEFbU1lTVEVNXV0+PC9MTl9UQVJHRVQ+PE5PX0RFQ09NUFJFU1M+PCFbQ0RBVEFbeWVzXV0+PC9OT19ERUNPTVBSRVNTPjxUTV9NQUQ+PCFbQ0RBVEFbc3NoXV0+PC9UTV9NQUQ+PFRZUEU+PCFbQ0RBVEFbSU1BR0VfRFNdXT48L1RZUEU+PC9URU1QTEFURT48L0RBVEFTVE9SRT48L0RTX0RSSVZFUl9BQ1RJT05fREFUQT4= 
180
Tue Mar  4 15:42:22 2014 [ImM][I]: cp: Copying local image 
/var/tmp/thin-body20140304-1544-kflb2y-0 to the image repository
Tue Mar  4 15:42:22 2014 [ImM][E]: cp: Command 
/var/lib/one/remotes/datastore/fs/../downloader.sh   --nodecomp 
/var/tmp/thin-body20140304-1544-kflb2y-0 
/var/lib/one/datastores/1/df4b590c8b0cbca2dacb8613db0d9e40 failed: 
Command is:
Tue Mar  4 15:42:22 2014 [ImM][I]: Cannot fucking read from 
/var/tmp/thin-body20140304-1544-kflb2y-0
Tue Mar  4 15:42:22 2014 [ImM][E]: Error copying 
/var/tmp/thin-body20140304-1544-kflb2y-0 to 
/var/lib/one/datastores/1/df4b590c8b0cbca2dacb8613db0d9e40

Tue Mar  4 15:42:22 2014 [ImM][I]: ExitCode: 255
Tue Mar  4 15:42:22 2014 [ImM][E]: Error copying image in the datastore: 
Error copying /var/tmp/thin-body20140304-1544-kflb2y-0 to 
/var/lib/one/datastores/1/df4b590c8b0cbca2dacb8613db0d9e40

Tue Mar  4 15:42:22 2014 [InM][D]: Monitoring datastore default (1)


I've checked permissions on tmp - they are OK,and the image loaded in 
/var/tmp/, but when nebula it is trying to bring in datastore - it gets 
removed instantly.

Also i checked  provide a path works correctly.


*
opennebula 4.4.1

--
--
Regard,
   Alexandr.


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


[one-users] Authification user through kerberos

2014-01-14 Thread Alexandr

Dear list!

In our organization we have opennebula 4.4 and kerberos.
I want make auntification in opennebula through kerberos. Possible is it?

--
--
Regard,
   Alexandr.

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


Re: [one-users] two instances are sunstone one FN

2013-12-11 Thread Alexandr

On 12/11/2013 01:38 PM, Daniel Molina wrote:

Hi,

I don't really get your scenario, could you elaborate it a bit more?

is it possible to install two sunstone instances on a single front-end?


Cheers


On 10 December 2013 12:42, Alexandr telecastcl...@gmail.com 
mailto:telecastcl...@gmail.com wrote:


Dear list!
I want to solve the following problem. I need to make two
instances are sunstone one FN - sunstone for example, one password
and one for authorization means X509? Is it possible to do it on
one frontend? And if so, how this can be done?
Thank you!

-- 
--

Regard,
   Alexandr.

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




--
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org http://www.OpenNebula.org | 
dmol...@opennebula.org mailto:dmol...@opennebula.org | @OpenNebula



--
--
Regard,
   Alexandr.

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


[one-users] two instances are sunstone one FN

2013-12-10 Thread Alexandr

Dear list!
I want to solve the following problem. I need to make two instances are 
sunstone one FN - sunstone for example, one password and one for 
authorization means X509? Is it possible to do it on one frontend? And 
if so, how this can be done?

Thank you!

--
--
Regard,
   Alexandr.

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


Re: [one-users] Problem with the format of qcow2

2013-07-15 Thread Alexandr Baranov
*You need to execute*
*
*
*/var/tmp/one/tm/ssh/clone  vm158.jinr.ru :/
var/lib/one/datastores/1/c03de7e41ccf4434b65324c3b91c6105 cldwn07 :/
vz/one/datastores/0/80/disk.0 80 1*
*
*
That's what gives me the script:
$ /var/lib/one/remotes/tm/ssh/clone vm158
:/var/lib/one/datastores/1/c03de7e41ccf4434b65324c3b91c6105 cldwn07
:/vz/one/datastores/0/80/disk.0 80 1
INFO: clone: Cloning vm158
/var/lib/one/datastores/1/c03de7e41ccf4434b65324c3b91c6105
ERROR: clone: Command scp -r vm158
:/var/lib/one/datastores/1/c03de7e41ccf4434b65324c3b91c6105 failed: cp:
cannot stat `vm158': No such file or directory
ERROR MESSAGE --8--
Error copying vm158 to
:/var/lib/one/datastores/1/c03de7e41ccf4434b65324c3b91c6105
ERROR MESSAGE --8--

As I understand it can not find the directory, but it is:
$ ls -la /var/lib/one/datastores/1/
total 4745108
drwxr-x--- 2 oneadmin oneadmin4096 Jul 12 11:11 .
drwxr-x--- 6 oneadmin oneadmin4096 May 17 16:49 ..
-rw-r--r-- 1 oneadmin oneadmin 21474836481 Jul 11 11:19
2f74b5c000d9f12dcd20c93a8f461416
-rw-r--r-- 1 oneadmin oneadmin41943040 Jul 11 12:18
6afbcca141a5e41387fa611ecb149012
-rw-r--r-- 1 oneadmin oneadmin  4342759424 Jul 10 16:46
c03de7e41ccf4434b65324c3b91c6105

*
*
*
*
*Are you also getting errors with TM=ssh? Are the same errors as before?*
*
*
Yes I datastore works with TM = ssh:

$ onedatastore list
  ID NAME  CLUSTER IMAGES TYPE DS   TM
   0 system-0 sys  -ssh
   1 default   -3 img  fs   ssh
   2 files -0 fil  fs   ssh

error is present
$ less /var/log/one/80.log
   Fri Jul 12 11:15:02 2013 [DiM][I]: New VM state is ACTIVE.
Fri Jul 12 11:15:02 2013 [LCM][I]: New VM state is PROLOG.
Fri Jul 12 11:15:33 2013 [LCM][E]: monitor_done_action, VM in a wrong state
Fri Jul 12 11:16:46 2013 [TM][I]: clone: Cloning
vm158.jinr.ru:/var/lib/one/datastores/1/c03de7e41ccf4434b65324c3b91c6105
in /vz/one/datastores/0/80/disk.0
Fri Jul 12 11:16:46 2013 [TM][I]: ExitCode: 0
Fri Jul 12 11:16:55 2013 [TM][I]: mkimage: Making filesystem of 22016M and
type ext4 at cldwn07:/vz/one/datastores/0/80/disk.1
Fri Jul 12 11:16:55 2013 [TM][I]: ExitCode: 0
Fri Jul 12 11:16:56 2013 [TM][I]: context: Generating context block device
at cldwn07:/vz/one/datastores/0/80/disk.2
Fri Jul 12 11:16:56 2013 [TM][I]: ExitCode: 0
Fri Jul 12 11:16:56 2013 [LCM][I]: New VM state is BOOT
Fri Jul 12 11:16:56 2013 [VMM][I]: Generating deployment file:
/var/lib/one/vms/80/deployment.0
Fri Jul 12 11:16:56 2013 [VMM][I]: ExitCode: 0
Fri Jul 12 11:16:56 2013 [VMM][I]: Successfully execute network driver
operation: pre.
Fri Jul 12 11:16:57 2013 [VMM][I]: Command execution fail: cat  EOT |
/var/tmp/one/vmm/kvm/deploy /vz/one/datastores/0/80/deployment.0 cldwn07 80
cldwn07
Fri Jul 12 11:16:57 2013 [VMM][I]: error: Failed to create domain from
/vz/one/datastores/0/80/deployment.0
Fri Jul 12 11:16:57 2013 [VMM][I]: error: internal error process exited
while connecting to monitor: qemu-kvm: -drive
file=/vz/one/datastores/0/80/disk.1,if=none,id=drive-ide0-1-1,format=qcow2,cache=none:
could not open disk image /vz/one/datastores/0/80/disk.1: Invalid argument
Fri Jul 12 11:16:57 2013 [VMM][I]:
Fri Jul 12 11:16:57 2013 [VMM][E]: Could not create domain from
/vz/one/datastores/0/80/deployment.0
Fri Jul 12 11:16:57 2013 [VMM][I]: ExitCode: 255
Fri Jul 12 11:16:57 2013 [VMM][I]: Failed to execute virtualization driver
operation: deploy.
Fri Jul 12 11:16:57 2013 [VMM][E]: Error deploying virtual machine: Could
not create domain from /vz/one/datastores/0/80/deployment.0
Fri Jul 12 11:16:57 2013 [DiM][I]: New VM state is FAILED

There are any ideas?


2013/7/13 Ruben S. Montero rsmont...@opennebula.org

 You need to execute

 /var/tmp/one/tm/ssh/clone  vm158.jinr.ru :/
 var/lib/one/datastores/1/c03de7e41ccf4434b65324c3b91c6105 cldwn07 :/
 vz/one/datastores/0/80/disk.0 80 1

 CLONE ssh is translated to /var/tmp/one/tm/ssh/clone, so you can
 easily debug the others

 Are you also getting errors with TM=ssh? Are the same errors as before?

 Cheers



 On Fri, Jul 12, 2013 at 11:13 AM, Alexandr Baranov 
 telecastcl...@gmail.com wrote:

 The contents of the file vms/80/transfer.0.prolog:


 CLONE ssh vm158.jinr.ru :/
 var/lib/one/datastores/1/c03de7e41ccf4434b65324c3b91c6105 cldwn07 :/
 vz/one/datastores/0/80/disk.0 80 1
 MKIMAGE ssh 22016 ext4 cldwn07 :/ vz/one/datastores/0/80/disk.1 80 0
 CONTEXT ssh / var/lib/one/vms/80/context.sh cldwn07 :/
 vz/one/datastores/0/80/disk.2 80 0


 2013/7/12 Alexandr Baranov telecastcl...@gmail.com

 Hi, Ruben,

 Checked on your recommendation datastore TM_MAD

 1. I used TM_MAD = ssh

 2. I can not get the command:
   CLONE ssh vm158.jinr.ru :/
 var/lib/one/datastores/1/c03de7e41ccf4434b65324c3b91c6105 cldwn07 :/
 vz/one/datastores/0/80/disk.0 80 1
 -bash: CLONE: command not found

 from the file vms/80/transfer.0.prolog

 Could you

Re: [one-users] Problem with the format of qcow2

2013-07-12 Thread Alexandr Baranov
Hi, Ruben,

Checked on your recommendation datastore TM_MAD

1. I used TM_MAD = ssh

2. I can not get the command:
  CLONE ssh vm158.jinr.ru :/
var/lib/one/datastores/1/c03de7e41ccf4434b65324c3b91c6105 cldwn07 :/
vz/one/datastores/0/80/disk.0 80 1
-bash: CLONE: command not found

from the file vms/80/transfer.0.prolog

Could you detail how to execute this script?
Thank you
04.07.2013 16:00 пользователь Ruben S. Montero rsmont...@opennebula.org
написал:

Hi Alexandr,

This may depend on the storage backend you are using. If the Datastore is
uising TM_MAD=shared, it may be a problem with the NFS mount options or
user mapping. You can:

1.- Try with TM_MAD=ssh (create other system datastore, and a cluster with
a node and that system ds to make the test)

2.- Execute directly the TM commands to check that this is an storage
problem. Look for vms/50/transfer.0.prolog. In that file there is a clone
statement. Like

CLONE qcow2 vm158 :/
var/lib/one/datastores/1/e67952a1b1b91f1bdca0de1cba21d667
 cldwn07:/vz/one/datastores/0/50/disk.0

Execute (probably with -xv to debug) the script

/var/lib/one/remotes/tm/qcow2/clone vm158 :/
var/lib/one/datastores/1/e67952a1b1b91f1bdca0de1cba21d667
 cldwn07:/vz/one/datastores/0/50/disk.0

If that scripts creates the file on cldwn07 with the right permissions the
you have a problem with libvirt (try restarting it, double check
configuration and oneadmin membership)


Cheers and good luck

Ruben




On Wed, Jul 3, 2013 at 11:14 AM, Alexandr Baranov
telecastcl...@gmail.comwrote:

 Hello everyone!
 the essence is that I can not yet get a successful operation to deploy
 disk type using qcow2.
 In the logs I see the following:
 *

 Wed Jul 3 11:59:39 2013 [ReM] [D]: Req: 8976 UID: 0 VirtualMachinePoolInfo
 invoked, -2, -1, -1, -1
 Wed Jul 3 11:59:39 2013 [ReM] [D]: Req: 8976 UID: 0 VirtualMachinePoolInfo
 result SUCCESS, VM_POOL VM ID 50 ...
 Wed Jul 3 11:59:39 2013 [TM] [D]: Message received: LOG I 50 clone:
 Cloning vm158 :/ var/lib/one/datastores/1/e67952a1b1b91f1bdca0de1cba21d667
 in / vz / o
 ne/datastores/0/50/disk.0

 Wed Jul 3 11:59:39 2013 [TM] [D]: Message received: LOG I 50 ExitCode: 0

 Wed Jul 3 11:59:40 2013 [TM] [D]: Message received: LOG I 50 context:
 Generating context block device at cldwn07 :/ vz/one/datastores/0/50/disk.1

 Wed Jul 3 11:59:40 2013 [TM] [D]: Message received: LOG I 50 ExitCode: 0

 Wed Jul 3 11:59:40 2013 [TM] [D]: Message received: TRANSFER SUCCESS 50 -

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 ExitCode: 0

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 Successfully
 execute network driver operation: pre.

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 Command
 execution fail: cat  EOT | / var / tmp / one / vmm / kvm / deploy / vz /
 one / datastores / 0/50/deploy
 ment.0 cldwn07 50 cldwn07

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 error:
 Failed to create domain from / vz/one/datastores/0/50/deployment.0

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 error:
 internal error process exited while connecting to monitor: qemu-kvm:-drive
 file = / vz/one/datastores/0 / 50/disk.0, if = none, id = drive-ide0-0-0,
 format = qcow2, cache = none: could not open disk image /
 vz/one/datastores/0/50/disk.0: Invalid argument

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG E 50 Could not
 create domain from / vz/one/datastores/0/50/deployment.0

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 ExitCode: 255

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 Failed to
 execute virtualization driver operation: deploy.

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: DEPLOY FAILURE 50
 Could not create domain from / vz/one/datastores/0/50/deployment.0

 ***

 In the folder / vz/one/datastores/0/50/disk.0: This disc is created as
 root: root.
 So it seems the monitor can not handle it - hence the error.

 Now actually that is not clear - why it is created as root?
 In the configuration of the hypervisor I checked:
 root @ vm158 ~] # grep-vE '^ ($ | #)' / etc / libvirt / qemu.conf
 user = oneadmin
 group = oneadmin
 dynamic_ownership = 0
 It is true there is also a caveat onedmin I could not read it.

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

 --
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 --
 Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
 --
 Ruben S. Montero, PhD
 Project co-Lead and Chief Architect
 OpenNebula - The Open Source Solution for Data Center Virtualization
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula

___
Users mailing list
Users

Re: [one-users] Problem with the format of qcow2

2013-07-12 Thread Alexandr Baranov
The contents of the file vms/80/transfer.0.prolog:

CLONE ssh vm158.jinr.ru :/
var/lib/one/datastores/1/c03de7e41ccf4434b65324c3b91c6105 cldwn07 :/
vz/one/datastores/0/80/disk.0 80 1
MKIMAGE ssh 22016 ext4 cldwn07 :/ vz/one/datastores/0/80/disk.1 80 0
CONTEXT ssh / var/lib/one/vms/80/context.sh cldwn07 :/
vz/one/datastores/0/80/disk.2 80 0


2013/7/12 Alexandr Baranov telecastcl...@gmail.com

 Hi, Ruben,

 Checked on your recommendation datastore TM_MAD

 1. I used TM_MAD = ssh

 2. I can not get the command:
   CLONE ssh vm158.jinr.ru :/
 var/lib/one/datastores/1/c03de7e41ccf4434b65324c3b91c6105 cldwn07 :/
 vz/one/datastores/0/80/disk.0 80 1
 -bash: CLONE: command not found

 from the file vms/80/transfer.0.prolog

 Could you detail how to execute this script?
 Thank you
 04.07.2013 16:00 пользователь Ruben S. Montero rsmont...@opennebula.org
 написал:

 Hi Alexandr,

 This may depend on the storage backend you are using. If the Datastore is
 uising TM_MAD=shared, it may be a problem with the NFS mount options or
 user mapping. You can:

 1.- Try with TM_MAD=ssh (create other system datastore, and a cluster with
 a node and that system ds to make the test)

 2.- Execute directly the TM commands to check that this is an storage
 problem. Look for vms/50/transfer.0.prolog. In that file there is a clone
 statement. Like

 CLONE qcow2 vm158 :/
 var/lib/one/datastores/1/e67952a1b1b91f1bdca0de1cba21d667
  cldwn07:/vz/one/datastores/0/50/disk.0

 Execute (probably with -xv to debug) the script

 /var/lib/one/remotes/tm/qcow2/clone vm158 :/
 var/lib/one/datastores/1/e67952a1b1b91f1bdca0de1cba21d667
  cldwn07:/vz/one/datastores/0/50/disk.0

 If that scripts creates the file on cldwn07 with the right permissions the
 you have a problem with libvirt (try restarting it, double check
 configuration and oneadmin membership)


 Cheers and good luck

 Ruben




 On Wed, Jul 3, 2013 at 11:14 AM, Alexandr Baranov telecastcl...@gmail.com
  wrote:

 Hello everyone!
 the essence is that I can not yet get a successful operation to deploy
 disk type using qcow2.
 In the logs I see the following:
 *

 Wed Jul 3 11:59:39 2013 [ReM] [D]: Req: 8976 UID: 0
 VirtualMachinePoolInfo invoked, -2, -1, -1, -1
 Wed Jul 3 11:59:39 2013 [ReM] [D]: Req: 8976 UID: 0
 VirtualMachinePoolInfo result SUCCESS, VM_POOL VM ID 50 ...
 Wed Jul 3 11:59:39 2013 [TM] [D]: Message received: LOG I 50 clone:
 Cloning vm158 :/ var/lib/one/datastores/1/e67952a1b1b91f1bdca0de1cba21d667
 in / vz / o
 ne/datastores/0/50/disk.0

 Wed Jul 3 11:59:39 2013 [TM] [D]: Message received: LOG I 50 ExitCode: 0

 Wed Jul 3 11:59:40 2013 [TM] [D]: Message received: LOG I 50 context:
 Generating context block device at cldwn07 :/ vz/one/datastores/0/50/disk.1

 Wed Jul 3 11:59:40 2013 [TM] [D]: Message received: LOG I 50 ExitCode: 0

 Wed Jul 3 11:59:40 2013 [TM] [D]: Message received: TRANSFER SUCCESS 50 -

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 ExitCode: 0

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50
 Successfully execute network driver operation: pre.

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 Command
 execution fail: cat  EOT | / var / tmp / one / vmm / kvm / deploy / vz /
 one / datastores / 0/50/deploy
 ment.0 cldwn07 50 cldwn07

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 error:
 Failed to create domain from / vz/one/datastores/0/50/deployment.0

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 error:
 internal error process exited while connecting to monitor: qemu-kvm:-drive
 file = / vz/one/datastores/0 / 50/disk.0, if = none, id = drive-ide0-0-0,
 format = qcow2, cache = none: could not open disk image /
 vz/one/datastores/0/50/disk.0: Invalid argument

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG E 50 Could not
 create domain from / vz/one/datastores/0/50/deployment.0

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 ExitCode:
 255

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 Failed to
 execute virtualization driver operation: deploy.

 Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: DEPLOY FAILURE 50
 Could not create domain from / vz/one/datastores/0/50/deployment.0

 ***

 In the folder / vz/one/datastores/0/50/disk.0: This disc is created as
 root: root.
 So it seems the monitor can not handle it - hence the error.

 Now actually that is not clear - why it is created as root?
 In the configuration of the hypervisor I checked:
 root @ vm158 ~] # grep-vE '^ ($ | #)' / etc / libvirt / qemu.conf
 user = oneadmin
 group = oneadmin
 dynamic_ownership = 0
 It is true there is also a caveat onedmin I could not read it.

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

 --
 http://lists.opennebula.org

[one-users] Problem with the format of qcow2

2013-07-03 Thread Alexandr Baranov
Hello everyone!
the essence is that I can not yet get a successful operation to deploy disk
type using qcow2.
In the logs I see the following:
*

Wed Jul 3 11:59:39 2013 [ReM] [D]: Req: 8976 UID: 0 VirtualMachinePoolInfo
invoked, -2, -1, -1, -1
Wed Jul 3 11:59:39 2013 [ReM] [D]: Req: 8976 UID: 0 VirtualMachinePoolInfo
result SUCCESS, VM_POOL VM ID 50 ...
Wed Jul 3 11:59:39 2013 [TM] [D]: Message received: LOG I 50 clone:
Cloning vm158 :/
var/lib/one/datastores/1/e67952a1b1b91f1bdca0de1cba21d667 in / vz / o
ne/datastores/0/50/disk.0

Wed Jul 3 11:59:39 2013 [TM] [D]: Message received: LOG I 50 ExitCode: 0

Wed Jul 3 11:59:40 2013 [TM] [D]: Message received: LOG I 50 context:
Generating context block device at cldwn07 :/ vz/one/datastores/0/50/disk.1

Wed Jul 3 11:59:40 2013 [TM] [D]: Message received: LOG I 50 ExitCode: 0

Wed Jul 3 11:59:40 2013 [TM] [D]: Message received: TRANSFER SUCCESS 50 -

Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 ExitCode: 0

Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 Successfully
execute network driver operation: pre.

Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 Command
execution fail: cat  EOT | / var / tmp / one / vmm / kvm / deploy / vz /
one / datastores / 0/50/deploy
ment.0 cldwn07 50 cldwn07

Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 error: Failed
to create domain from / vz/one/datastores/0/50/deployment.0

Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 error:
internal error process exited while connecting to monitor: qemu-kvm:-drive
file = / vz/one/datastores/0 / 50/disk.0, if = none, id = drive-ide0-0-0,
format = qcow2, cache = none: could not open disk image /
vz/one/datastores/0/50/disk.0: Invalid argument

Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50

Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG E 50 Could not
create domain from / vz/one/datastores/0/50/deployment.0

Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 ExitCode: 255

Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: LOG I 50 Failed to
execute virtualization driver operation: deploy.

Wed Jul 3 11:59:40 2013 [VMM] [D]: Message received: DEPLOY FAILURE 50
Could not create domain from / vz/one/datastores/0/50/deployment.0

***

In the folder / vz/one/datastores/0/50/disk.0: This disc is created as
root: root.
So it seems the monitor can not handle it - hence the error.

Now actually that is not clear - why it is created as root?
In the configuration of the hypervisor I checked:
root @ vm158 ~] # grep-vE '^ ($ | #)' / etc / libvirt / qemu.conf
user = oneadmin
group = oneadmin
dynamic_ownership = 0
It is true there is also a caveat onedmin I could not read it.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] can not create a snapshot of the disk (Volatile Disk)

2013-06-25 Thread Alexandr Baranov
Hi I use Nebula version 4.0.1 + KVM hypervisor. Faced with a problem:
I can not create a snapshot of the disk (Volatile Disk).

$ onevm show 30

VIRTUAL MACHINE 30 INFORMATION ID : 30 NAME : vm145 USER : oneadmin GROUP :
oneadmin

: ACTIVE

STATE

LCM_STATE : BOOT_STOPPED RESCHED : No HOST : 159.93.**.* START TIME : 06/21
16:25:22 END TIME : -DEPLOY ID : one-30

VIRTUAL MACHINE MONITORING

: 15.1M

NET_RX

USED CPU : 1 NET_TX : 578K USED MEMORY : 1G

PERMISSIONS OWNER : um-GROUP : ---OTHER : ---

VM DISKS ID TARGET IMAGE

0 hdb SL-6.4-x86_64

1 hdc ext4 - 10G

2 hdd 1024M

VM NICS ID NETWORK VLAN BRIDGE

0 Public no br0

fe80::400:9fff:fe5d:2492

VIRTUAL MACHINE HISTORY

ACTION

SEQ HOST

0 159.93.**.* suspend

1 159.93.**.* stop

2 159.93.**.* stop

3 159.93.**.* stop

4 159.93.**.* none

USER TEMPLATE ERROR=Mon Jun 24 17:39:28 2013 : Error creating new VM
Snapshot: Could not create snapshot for domain one-30.
SCHED_REQUIREMENTS=ID=\2\

VIRTUAL MACHINE TEMPLATE AUTOMATIC_REQUIREMENTS=CLUSTER_ID = 101
CONTEXT=[ DISK_ID=3, ETH0_DNS=159.93.**.*, ETH0_GATEWAY=159.93.36.1,
ETH0_IP=159.93.**.***, TARGET=hda ] CPU=1 GRAPHICS=[
LISTEN=0.0.0.0, PORT=5930, TYPE=VNC ] MEMORY=1024 NAME=one-30
OS=[ ARCH=x86_64, BOOT=cdrom ] TEMPLATE_ID=21 VMID=30

$onevm disk-snapshot 30 1 sl_image

The logs opennebula recorded the following message:

Mon Jun 24 17:23:32 2013 [VMM] [D]: Message received: LOG I 30 Command
execution fail: 'if [-x /var /tmp / one / vmm / kvm / snapshot_create];
then / var / tmp / one / vmm / kvm /snapshot_create one-30 0 30
159.93.**.*; else exit 42; fi '

Mon Jun 24 17:23:32 2013 [VMM] [D]: Message received: LOG I 30 error:
unsupported configuration: internal snapshot for disk hdc unsupported for
storage type raw

Mon Jun 24 17:23:32 2013 [VMM] [D]: Message received: LOG E 30 Could not
create snapshot for domain one-30.

Mon Jun 24 17:23:32 2013 [VMM] [D]: Message received: LOG I 30 ExitCode: 255

Mon Jun 24 17:23:32 2013 [VMM] [D]: Message received: SNAPSHOTCREATE
FAILURE 30 Could not create snapshot for domain one-30.

Mon Jun 24 17:23:33 2013 [AuM] [D]: Message received: LOG I 989 ExitCode: 0

Mon Jun 24 17:23:33 2013 [AuM] [I]: ExitCode: 0 Mon Jun 24 17:23:33 2013
[AuM] [D]: Message received: AUTHENTICATE SUCCESS 989 -

To test the performance commands nevm disk-snapshot. I downloaded and
deployed the image of the Market ttylinux - kvm. Disk from a virtual
machine deployed with this image - is maintained.

Question: this is a bug or a game developer that is not saved to the disk
type (Volatile Disc)?
Alexandr,
JINR
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org