[ubuntu-cloud] Separate CLC.CC servers not seeing nodes.

Richard Harvey richard at squarecows.com
Mon Mar 28 10:13:51 UTC 2011


Thanks for getting back to me Ahmed,

So, I'm pretty positive they are registered. On my CC in the
registration.log I get this:

2011-03-28 11:06:19+01:00 | 5525 -> Node 192.168.92.43 is already
registered.
2011-03-28 11:06:19+01:00 | 5528 -> Node 192.168.92.41 is already
registered.
2011-03-28 11:06:20+01:00 | 5519 -> euca_conf --register-nodes returned 0

But in the cc.log things don't look right.

[Mon Mar 28 10:37:50 2011][006145][EUCADEBUG ] monitor_thread(): running
[Mon Mar 28 10:37:50 2011][006145][EUCAINFO  ] refresh_resources(): called
[Mon Mar 28 10:37:50 2011][006145][EUCADEBUG ] refresh_resources(): calling
http://192.168.92.40:8775/axis2/services/EucalyptusNC
[Mon Mar 28 10:37:50 2011][006145][EUCADEBUG ] refresh_resources(): time
left for next op: 20
[Mon Mar 28 10:37:50 2011][009937][EUCAERROR ] ERROR: DescribeResource()
could not be invoked (check NC host, port, and credentials)
[Mon Mar 28 10:37:50 2011][006145][EUCAERROR ] refresh_resources(): bad
return from ncDescribeResource(192.168.92.40) (9937/1)
[Mon Mar 28 10:37:50 2011][006145][EUCADEBUG ] refresh_resources(): calling
http://192.168.92.41:8775/axis2/services/EucalyptusNC
[Mon Mar 28 10:37:50 2011][006145][EUCADEBUG ] refresh_resources(): time
left for next op: 20
[Mon Mar 28 10:37:50 2011][009938][EUCAERROR ] ERROR: DescribeResource()
could not be invoked (check NC host, port, and credentials)
[Mon Mar 28 10:37:50 2011][006145][EUCAERROR ] refresh_resources(): bad
return from ncDescribeResource(192.168.92.41) (9938/1)
[Mon Mar 28 10:37:50 2011][006145][EUCADEBUG ] refresh_resources(): calling
http://192.168.92.42:8775/axis2/services/EucalyptusNC
[Mon Mar 28 10:37:50 2011][006145][EUCADEBUG ] refresh_resources(): time
left for next op: 20
[Mon Mar 28 10:37:50 2011][009939][EUCAERROR ] ERROR: DescribeResource()
could not be invoked (check NC host, port, and credentials)
[Mon Mar 28 10:37:50 2011][006145][EUCAERROR ] refresh_resources(): bad
return from ncDescribeResource(192.168.92.42) (9939/1)
[Mon Mar 28 10:37:50 2011][006145][EUCADEBUG ] refresh_resources(): calling
http://192.168.92.43:8775/axis2/services/EucalyptusNC
[Mon Mar 28 10:37:50 2011][006145][EUCADEBUG ] refresh_resources(): time
left for next op: 30
[Mon Mar 28 10:37:50 2011][009940][EUCAERROR ] ERROR: DescribeResource()
could not be invoked (check NC host, port, and credentials)
[Mon Mar 28 10:37:50 2011][006145][EUCAERROR ] refresh_resources(): bad
return from ncDescribeResource(192.168.92.43) (9940/1)
[Mon Mar 28 10:37:50 2011][006145][EUCADEBUG ] refresh_resources(): calling
http://192.168.93.40:8775/axis2/services/EucalyptusNC
[Mon Mar 28 10:37:50 2011][006145][EUCADEBUG ] refresh_resources(): time
left for next op: 60
[Mon Mar 28 10:37:50 2011][009941][EUCAERROR ] ERROR: DescribeResource()
could not be invoked (check NC host, port, and credentials)
[Mon Mar 28 10:37:50 2011][006145][EUCAERROR ] refresh_resources(): bad
return from ncDescribeResource(192.168.93.40) (9941/1)
[Mon Mar 28 10:37:50 2011][006145][EUCADEBUG ] refresh_resources(): done
[Mon Mar 28 10:37:50 2011][006145][EUCAINFO  ] refresh_instances(): called
[Mon Mar 28 10:37:50 2011][006145][EUCADEBUG ] refresh_instances(): done
[Mon Mar 28 10:37:50 2011][006145][EUCADEBUG ] monitor_thread(): done

Now I've checked and passwd-less login is working for the eucalyptus user.
Is there any other logs I should be checking for clues?

Ric

Richard Harvey
~~~~~~~~~~~
http://dev.squarecows.com
B9A6 97CD 5941 9EC2 45F4
BCF2 961E DD64 9D0F CA37


On 28 March 2011 11:01, Ahmed Kamal <kim0 at ubuntu.com> wrote:

>  On 03/28/2011 11:13 AM, Richard Harvey wrote:
>
> Hi all,
>
>  I have separate servers running my cloud components. I followed this
> guide: https://help.ubuntu.com/community/UEC/PackageInstallSeparate
>
>  My set up is:
>
>  server1: CLC and Walrus
> server2: CC and CS
> server3,4,5,6: nodes
>
>  I can successfully log into the cloud controller webgui and install an
> image. However when I try and start this image it fails with:
>
>  Not enough resources (VmTypeAvailability{type=VmType{name='m1.small',
> cpu=1, disk=2, mem=192}, max=0, available=0}
>   < 1: vm instances.
>
>  Listing the resources on the CLC I can see:
>
>  root at c4p-uec01:/etc# euca_conf --list-walruses --list-scs --list-clusters
> --list-nodes
>  registered walruses:
>    walrus  192.168.92.20
> registered storage controllers:
>    c4p-cluster1  192.168.92.30
> registered clusters:
>    c4p-cluster1  192.168.92.30
>
>
>  As you can see it can't see the nodes. On the CC you can't run euca_conf
> --list-nodes as there is no database. But I can run euca_conf
> --discover-nodes and add the nodes like that. this creates
> /var/lib/eucalyptus/node.list and populates the values. In the logs it looks
> like the nodes are registered happily.
>
>  Can anyone see what I'm missing here and why its reporting not enough
> resources?
>
>  Hi Richard,
> So if the nodes are being discovered happily, but not really showing up, it
> might be because the old data is still cached. For that you probably need to
> restart eucalyptus service with the CLEAN=1 parameter .. like
> restart eucalyptus CLEAN=1  #so on for other services
>
> --
> Ubuntu-cloud mailing list
> Ubuntu-cloud at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-cloud
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-cloud/attachments/20110328/a294b993/attachment.html>


More information about the Ubuntu-cloud mailing list