[one-users] Can no longer create new virtual machines

Ruben S. Montero rsmontero at opennebula.org
Thu Sep 5 02:51:58 PDT 2013


Hi Gerry

Yes the problem is that the scheduler is using the http_proxy env. var so
it is trying to access the XML-RPC api through the proxy (that may be valid
in some cases). However you may need the http proxy for suntone and not for
the scheduler, so this may be cumbersome....

I've filled an issue to figure out a work-around.

http://dev.opennebula.org/issues/2301

Cheers

Ruben



On Wed, Aug 28, 2013 at 2:26 PM, Gerry O'Brien <gerry at scss.tcd.ie> wrote:

> Hi Giovann,
>
>         I found that clearing the http_proxy environment variable and
> restarted the servers has fixed the problem. Any idea why this should be
> the case?
>
>
>
>
>
>
>
>
>
>
>
>
> Hi Giovann,
>
>     The sched.log gives 403 forbidden. The XML-RPC server is running on
> port 2633. Is it likely to be a password or a file permission issue? I
> notice various directories have group cloud and some have group oneadmin.
> I've added user oneadmin to the cloud group but it didn't make any
> difference. I can login to the sunstone server using the oneadmin account.
>
>     Any help would really be appreciated.
>
>         Regards,
>             Gerry
>
>
> Here is an entry fron sched.log and below that the output from "telnet
> 127.0.0.1 2633".
>
> Wed Aug 28 12:54:07 2013 [HOST][E]: Exception raised: Unable to transport
> XML to server and get XML response back.  HTTP response: 403
> Wed Aug 28 12:54:07 2013 [POOL][E]: Could not retrieve pool info from ONE
>
>
> oneadmin at scsscloudmgr:/var/**log/one$ telnet 127.0.0.1 2633
> Trying 127.0.0.1...
> Connected to 127.0.0.1.
> Escape character is '^]'.
> hhhh
>
> HTTP/1.1 400 Bad Request
> Content-type: text/html
> Connection: close
> Date: Wed, 28 Aug 2013 12:52:37 GMT
> Server: XMLRPC_ABYSS/1.06
>
> <HTML><HEAD><TITLE>Error 400</TITLE></HEAD><BODY><H1>**Error
> 400</H1><P>Bad Request</P><p><HR><b><i><a href="http://xmlrpc-c.**
> sourceforge.net <http://xmlrpc-c.sourceforge.net>">ABYSS Web Server for
> XML-RPC For C/C++</a></i></b> version 1.06<br></p></BODY></HTML>**Connection
> closed by foreign host.
>
>
>
>
>
> Here are the processes running on the front end:
>
>
> oneadmin 15240     1  0 12:50 pts/0    00:00:04 /usr/bin/oned -f
> oneadmin 15241     1  0 12:50 pts/0    00:00:00 /usr/bin/mm_sched
> oneadmin 15263 15240  0 12:50 pts/0    00:00:02 ruby
> /usr/lib/one/mads/one_vmm_**exec.rb -t 15 -r 0 kvm
> oneadmin 15275 15240  0 12:50 pts/0    00:00:00 ruby
> /usr/lib/one/mads/one_im_exec.**rb -r 0 -t 15 kvm
> oneadmin 15282 15240  0 12:50 pts/0    00:00:00 ruby
> /usr/lib/one/mads/one_tm.rb -t 15 -d dummy,lvm,shared,qcow2,ssh,**
> vmfs,iscsi
> oneadmin 15292 15240  0 12:50 pts/0    00:00:00 ruby
> /usr/lib/one/mads/one_hm.rb
> oneadmin 15303 15240 0 12:50 pts/0    00:00:00 ruby /usr/lib/one/mads/one_
> **datastore.rb -t 15 -d fs,vmware,vmfs,iscsi,lvm
> oneadmin 15313 15240 0 12:50 pts/0    00:00:00 ruby
> /usr/lib/one/mads/one_auth_**mad.rb --authn ssh,x509,ldap,server_cipher,**
> server_x509
> oneadmin 15328     1  0 12:50 pts/0    00:00:00 ruby /usr/share/opennebula/
> **sunstone/sunstone-server.rb
> oneadmin 15342 15328 0 12:50 pts/0    00:00:00 python
> /usr/share/one/noVNC/utils/**websockify --target-config=/var/lib/one/**sunstone_vnc_tokens
> 29876
> oneadmin 15405     1  0 12:51 pts/0    00:00:00 ruby
> /usr/share/opennebula/occi/**occi-server.rb
> oneadmin 15420 15405  0 12:51 pts/0    00:00:00 python
> /usr/share/one/noVNC/utils/**websockify --target-config=/var/lib/one/**selfservice_vnc_tokens
> 33876
>
>
>
>
>
>
> On 28/08/2013 09:47, Giovanni Toraldo wrote:
>
>> Hi Geery,
>>
>> On Tue, Aug 27, 2013 at 8:43 PM, Gerry O'Brien <gerry at scss.tcd.ie> wrote:
>>
>>>      Is there any place where we can find more logging when a machines
>>> is in
>>> a PENDING state.
>>>
>> Usually it means that the scheduler is not picking them, you can take
>> a look inside the sched.log.
>>
>>
>
> --
> Gerry O'Brien
>
> Systems Manager
> School of Computer Science and Statistics
> Trinity College Dublin
> Dublin 2
> IRELAND
>
> 00 353 1 896 1341
>
> ______________________________**_________________
> Users mailing list
> Users at 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
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130905/6c7e108e/attachment-0001.htm>


More information about the Users mailing list