Re: [one-users] openvz+opennebula vm boot failure

2015-02-16 Thread Роман Мальцев
 There is contents of the file deployment.0:
cat /var/lib/one/vms/8/deployment.0
800oneadminoneadminSL6
 
x86_64-811320141731080vm175.jinr.ru11001418490vmm_ovzdummyssh/vz/one/datastores01418491418631418630

Воскресенье, 15 февраля 2015, 22:26 UTC от Steven C Timm :
>
>On the VM host there should be a file  called deployment.0
>What's in there?
>
>Steve Timm
>
>--
>From: Users [users-boun...@lists.opennebula.org] on behalf of Роман Мальцев 
>[neo...@mail.ru]
>Sent: Sunday, February 15, 2015 3:23 PM
>To: users@lists.opennebula.org
>Subject: [one-users] openvz+opennebula vm boot failure
>
>Hello, everyone.
>
>I am shouting for help!
>
>I created my own cloud via this guide (for opennebula 4.2)  
>https://bitbucket.org/hpcc_kpi/opennebula-openvz/wiki/Home , but i used 
>opennebula 4.10.1 version.
>I've got a trouble with my VM after creation.
>The trouble is - VM can't boot:
>Mon Jan 26 01:37:29 2015 [Z0][DiM][I]: New VM state is ACTIVE.
Mon Jan 26 01:37:29 2015 [Z0][LCM][I]: New VM state is PROLOG.
Mon Jan 26 01:37:43 2015 [Z0][LCM][I]: New VM state is BOOT
Mon Jan 26 01:37:43 2015 [Z0][VMM][I]: Generating deployment file: 
/var/lib/one/vms/8/deployment.0
Mon Jan 26 01:37:43 2015 [Z0][VMM][I]: ExitCode: 0
Mon Jan 26 01:37:43 2015 [Z0][VMM][I]: Successfully execute network driver 
operation: pre.
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: Command execution fail: cat << EOT | 
/vz/one/scripts/vmm/ovz/deploy '/vz/one/datastores/0/8/deployment.0' 
'vm175.jinr.ru' 8 vm175.jinr.ru
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: 
/usr/lib/ruby/gems/1.8/gems/xml-mapping-0.10.0/lib/xml/mapping/base.rb:683:in 
`xml_to_obj': no value, and no default value: Attribute vmid not set 
(XXPathError: path not found: VMID) (XML::MappingError)
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from 
/usr/lib/ruby/gems/1.8/gems/xml-mapping-0.10.0/lib/xml/mapping/base.rb:186:in 
`fill_from_xml'
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from 
/usr/lib/ruby/gems/1.8/gems/xml-mapping-0.10.0/lib/xml/mapping/base.rb:185:in 
`each'
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from 
/usr/lib/ruby/gems/1.8/gems/xml-mapping-0.10.0/lib/xml/mapping/base.rb:185:in 
`fill_from_xml'
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from 
/usr/lib/ruby/gems/1.8/gems/xml-mapping-0.10.0/lib/xml/mapping/base.rb:362:in 
`load_from_xml'
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from 
/vz/one/scripts/vmm/ovz/open_vz_data.rb:28:in `load_from_stream'
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from 
/vz/one/scripts/vmm/ovz/open_vz_data.rb:75:in `new'
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from /vz/one/scripts/vmm/ovz/deploy:24
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: ExitCode: 1
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: Failed to execute virtualization driver 
operation: deploy.
Mon Jan 26 01:38:31 2015 [Z0][VMM][E]: Error deploying virtual machine
Mon Jan 26 01:38:31 2015 [Z0][DiM][I]: New VM state is FAILED
>
>The next string looks really strange:
>Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: 
>/usr/lib/ruby/gems/1.8/gems/xml-mapping-0.10.0/lib/xml/mapping/base.rb:683:in 
>`xml_to_obj': no value, and no default value: Attribute vmid not set 
>(XXPathError: path not found: VMID) (XML::MappingError)
>I don't understand why opennebula can't read VMID field, it isn't empty:
>[root@vm127 one]# onevm show 8 | tail -1
>VMID="8"
>What am i supposed to do?
>
>--
>Best Regards,
>Maltcev Roman. 

--
С уважением,
Мальцев Роман.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] openvz+opennebula vm boot failure

2015-02-15 Thread Роман Мальцев
 Hello, everyone.

I am shouting for help!

I created my own cloud via this guide (for opennebula 4.2)  
https://bitbucket.org/hpcc_kpi/opennebula-openvz/wiki/Home , but i used 
opennebula 4.10.1 version.
I've got a trouble with my VM after creation.
The trouble is - VM can't boot:
Mon Jan 26 01:37:29 2015 [Z0][DiM][I]: New VM state is ACTIVE.
Mon Jan 26 01:37:29 2015 [Z0][LCM][I]: New VM state is PROLOG.
Mon Jan 26 01:37:43 2015 [Z0][LCM][I]: New VM state is BOOT
Mon Jan 26 01:37:43 2015 [Z0][VMM][I]: Generating deployment file: 
/var/lib/one/vms/8/deployment.0
Mon Jan 26 01:37:43 2015 [Z0][VMM][I]: ExitCode: 0
Mon Jan 26 01:37:43 2015 [Z0][VMM][I]: Successfully execute network driver 
operation: pre.
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: Command execution fail: cat << EOT | 
/vz/one/scripts/vmm/ovz/deploy '/vz/one/datastores/0/8/deployment.0' 
'vm175.jinr.ru' 8 vm175.jinr.ru
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: 
/usr/lib/ruby/gems/1.8/gems/xml-mapping-0.10.0/lib/xml/mapping/base.rb:683:in 
`xml_to_obj': no value, and no default value: Attribute vmid not set 
(XXPathError: path not found: VMID) (XML::MappingError)
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from 
/usr/lib/ruby/gems/1.8/gems/xml-mapping-0.10.0/lib/xml/mapping/base.rb:186:in 
`fill_from_xml'
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from 
/usr/lib/ruby/gems/1.8/gems/xml-mapping-0.10.0/lib/xml/mapping/base.rb:185:in 
`each'
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from 
/usr/lib/ruby/gems/1.8/gems/xml-mapping-0.10.0/lib/xml/mapping/base.rb:185:in 
`fill_from_xml'
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from 
/usr/lib/ruby/gems/1.8/gems/xml-mapping-0.10.0/lib/xml/mapping/base.rb:362:in 
`load_from_xml'
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from 
/vz/one/scripts/vmm/ovz/open_vz_data.rb:28:in `load_from_stream'
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from 
/vz/one/scripts/vmm/ovz/open_vz_data.rb:75:in `new'
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from /vz/one/scripts/vmm/ovz/deploy:24
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: ExitCode: 1
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: Failed to execute virtualization driver 
operation: deploy.
Mon Jan 26 01:38:31 2015 [Z0][VMM][E]: Error deploying virtual machine
Mon Jan 26 01:38:31 2015 [Z0][DiM][I]: New VM state is FAILED

The next string looks really strange:
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: 
/usr/lib/ruby/gems/1.8/gems/xml-mapping-0.10.0/lib/xml/mapping/base.rb:683:in 
`xml_to_obj': no value, and no default value: Attribute vmid not set 
(XXPathError: path not found: VMID) (XML::MappingError)
I don't understand why opennebula can't read VMID field, it isn't empty:
[root@vm127 one]# onevm show 8 | tail -1
VMID="8"
What am i supposed to do?

--
Best Regards,
Maltcev Roman.___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] openvz+opennebula vm stuck in pend

2014-07-29 Thread Роман Мальцев
 I've fixed the issue. 
How you can see - there is an empty field cluster:
ID NAME    SIZE   AVAIL CLUSTER  IMAGES   TYPE   DS   TM  
2 files 2.2G   11%   ovz_x64    0 fil   
 fs   ssh
102 default    2.2G   11%  -  1   img  
fs   lvm
107 system    0M    -  -  0   sys   
    -    ceph

I added my cluster ovz_x64 into 102 and 107 datastores, and now everything is 
ok.
Thank you for your reply!

Tue, 29 Jul 2014 14:57:52 -0300 от Diego M. :
>How did you configured your host?
>Do you see it with onehost list? Does it throw any error if you use onehost 
>sync?
>
>--
>From: neo...@mail.ru
>To: thedragonsreb...@hotmail.com
>CC: users@lists.opennebula.org
>Subject: Re[2]: [one-users] openvz+opennebula vm stuck in pend
>Date: Tue, 29 Jul 2014 15:41:12 +0400
>
>Hello.
>
>I added system datastore and there is no sched_message "No system datastores 
>found to run VMs" now.
>
>My onedatastore list looks like this:
>  ID NAME    SIZE AVAIL CLUSTER  IMAGES TYPE DS   TM  
>   2 files   2.2G 11%   ovz_x64   0 fil  fs   ssh
> 102 default 2.2G 11%   - 1 img  fs   lvm
> 107 system    0M - - 0 sys  -    ceph
>
>Also i've found the next message in /var/log/one/sched.log:
>[SCHED][I]: VM 8: No suitable System DS found for Host: 1. Filtering out host.
>
>Tue, 29 Jul 2014 08:01:29 -0300 от Diego M. :
>>Hello,
>>You need a datastore where you can put the VMs you create.
>>Use onedatastore list to list all the datastores available (if any) on your 
>>node (Use it with the oneadmin user). May also your problem is that the 
>>datastore is created but it has no permissions for other users to use it.
>>
>>onedatastore man:  
>>http://archives.opennebula.org/doc/4.4/cli/onedatastore.1.html
>>
>>Best regards,
>>--
>>From: neo...@mail.ru
>>To: users@lists.opennebula.org
>>Date: Tue, 29 Jul 2014 13:16:43 +0400
>>Subject: [one-users] openvz+opennebula vm stuck in pend
>>
>>Hi all.
>>
>>First - sorry for my bad english :)
>>
>>I tried to create my own cloud via this guide  
>>https://bitbucket.org/hpcc_kpi/opennebula-openvz/wiki/Home
>>I've got a trouble with my VM after creation - it's stuck in pending state:
>>onevm  list 
>>    ID USER GROUP    NAME    STAT UCPU    UMEM HOST 
>>TIME 
>> 6 oneadmin oneadmin SL6 x86_64-0    pend    0  0K  0d 
>>05h03
>>
>>Oned log is ok, but there is one error in Sched log:
>>cat /var/log/one/sched.log | grep '\[\E\]'
>>Mon Jul 28 16:24:51 2014 [SCHED][E]: Cannot contact oned, will retry... 
>>Error: Unable to transport XML to server and get XML response back.  libcurl 
>>failed to execute the HTTP POST transaction, explaining:  couldn't connect to 
>>host
>>
>>As far as i inderstand - curl can't connect to host at 2633 port:
>>curl -I localhost:2633
>>HTTP/1.1 404 Not Found
>>Content-type: text/html
>>Connection: close
>>Date: Mon, 28 Jul 2014 21:32:35 UTC
>>Server: Xmlrpc-c_Abyss/1.33.6
>>
>>One daemon listening that port:
>>netstat -lpn | grep 2633
>>tcp    0  0 0.0.0.0:2633    0.0.0.0:*   
>>LISTEN  25869/oned
>>
>>I tryed to find my problem in google and found this -  
>>http://archives.opennebula.org/documentation:community:faq#i_can_create_vms_but_schedlog_shows_the_error_could_not_retrieve_pool_info_from_one__what_s_wrong
>>But i don't understand how set of no_proxy and http_proxy can help.
>>
>>Also i found this message:
>>onevm show 6 | grep 'SCHED_MESSAGE'
>>SCHED_MESSAGE="Mon Jul 28 16:55:03 2014 : No system datastores found to run 
>>VMs"
>>
>>What am i doing wrong?
>>
>>--
>>С уважением,
>>Мальцев Роман.
>>___
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
>>
>
>
>--
>С уважением,
>Мальцев Роман.


--
С уважением,
Мальцев Роман.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] openvz+opennebula vm stuck in pend

2014-07-29 Thread Роман Мальцев
 Hello.

I added system datastore and there is no sched_message "No system datastores 
found to run VMs" now.

My onedatastore list looks like this:
  ID NAME    SIZE AVAIL CLUSTER  IMAGES TYPE DS   TM  
   2 files   2.2G 11%   ovz_x64   0 fil  fs   ssh
 102 default 2.2G 11%   - 1 img  fs   lvm
 107 system    0M - - 0 sys  -    ceph

Also i've found the next message in /var/log/one/sched.log:
[SCHED][I]: VM 8: No suitable System DS found for Host: 1. Filtering out host.

Tue, 29 Jul 2014 08:01:29 -0300 от Diego M. :
>Hello,
>You need a datastore where you can put the VMs you create.
>Use onedatastore list to list all the datastores available (if any) on your 
>node (Use it with the oneadmin user). May also your problem is that the 
>datastore is created but it has no permissions for other users to use it.
>
>onedatastore man:  
>http://archives.opennebula.org/doc/4.4/cli/onedatastore.1.html
>
>Best regards,
>--
>From: neo...@mail.ru
>To: users@lists.opennebula.org
>Date: Tue, 29 Jul 2014 13:16:43 +0400
>Subject: [one-users] openvz+opennebula vm stuck in pend
>
>Hi all.
>
>First - sorry for my bad english :)
>
>I tried to create my own cloud via this guide  
>https://bitbucket.org/hpcc_kpi/opennebula-openvz/wiki/Home
>I've got a trouble with my VM after creation - it's stuck in pending state:
>onevm  list 
>    ID USER GROUP    NAME    STAT UCPU    UMEM HOST 
>TIME 
> 6 oneadmin oneadmin SL6 x86_64-0    pend    0  0K  0d 
>05h03
>
>Oned log is ok, but there is one error in Sched log:
>cat /var/log/one/sched.log | grep '\[\E\]'
>Mon Jul 28 16:24:51 2014 [SCHED][E]: Cannot contact oned, will retry... Error: 
>Unable to transport XML to server and get XML response back.  libcurl failed 
>to execute the HTTP POST transaction, explaining:  couldn't connect to host
>
>As far as i inderstand - curl can't connect to host at 2633 port:
>curl -I localhost:2633
>HTTP/1.1 404 Not Found
>Content-type: text/html
>Connection: close
>Date: Mon, 28 Jul 2014 21:32:35 UTC
>Server: Xmlrpc-c_Abyss/1.33.6
>
>One daemon listening that port:
>netstat -lpn | grep 2633
>tcp    0  0 0.0.0.0:2633    0.0.0.0:*   
>LISTEN  25869/oned
>
>I tryed to find my problem in google and found this -  
>http://archives.opennebula.org/documentation:community:faq#i_can_create_vms_but_schedlog_shows_the_error_could_not_retrieve_pool_info_from_one__what_s_wrong
>But i don't understand how set of no_proxy and http_proxy can help.
>
>Also i found this message:
>onevm show 6 | grep 'SCHED_MESSAGE'
>SCHED_MESSAGE="Mon Jul 28 16:55:03 2014 : No system datastores found to run 
>VMs"
>
>What am i doing wrong?
>
>--
>С уважением,
>Мальцев Роман.
>___
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
>


--
С уважением,
Мальцев Роман.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] openvz+opennebula vm stuck in pend

2014-07-29 Thread Роман Мальцев
 Hi all.

First - sorry for my bad english :)

I tried to create my own cloud via this guide  
https://bitbucket.org/hpcc_kpi/opennebula-openvz/wiki/Home
I've got a trouble with my VM after creation - it's stuck in pending state:
onevm  list 
    ID USER GROUP    NAME    STAT UCPU    UMEM HOST 
TIME 
 6 oneadmin oneadmin SL6 x86_64-0    pend    0  0K  0d 05h03

Oned log is ok, but there is one error in Sched log:
cat /var/log/one/sched.log | grep '\[\E\]'
Mon Jul 28 16:24:51 2014 [SCHED][E]: Cannot contact oned, will retry... Error: 
Unable to transport XML to server and get XML response back.  libcurl failed to 
execute the HTTP POST transaction, explaining:  couldn't connect to host

As far as i inderstand - curl can't connect to host at 2633 port:
curl -I localhost:2633
HTTP/1.1 404 Not Found
Content-type: text/html
Connection: close
Date: Mon, 28 Jul 2014 21:32:35 UTC
Server: Xmlrpc-c_Abyss/1.33.6

One daemon listening that port:
netstat -lpn | grep 2633
tcp    0  0 0.0.0.0:2633    0.0.0.0:*   
LISTEN  25869/oned

I tryed to find my problem in google and found this -  
http://archives.opennebula.org/documentation:community:faq#i_can_create_vms_but_schedlog_shows_the_error_could_not_retrieve_pool_info_from_one__what_s_wrong
But i don't understand how set of no_proxy and http_proxy can help.

Also i found this message:
onevm show 6 | grep 'SCHED_MESSAGE'
SCHED_MESSAGE="Mon Jul 28 16:55:03 2014 : No system datastores found to run VMs"

What am i doing wrong?

--
С уважением,
Мальцев Роман.___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org