brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Frampton <>
Subject Brooklyn CloudStack - Insufficient address capacity - Question
Date Sat, 22 Oct 2016 22:48:44 GMT

I am trying to investigate a problem I have with Apache CloudStack when
creating an instance using Apache
Brooklyn. I have installed Brooklyn 0.9 on a CentOS 6.8 minimal server and
Cloudstack 4.9 on two
CentOS 6.8 minimal servers. I have a simple piece of yaml code.

name: Cassandra 1
    identity: Jo4lB5oJqWVLJ1vSQjiN9O5UmkeqylGyyyyy
    credential: CJqAGj9rUCAyrSAYWCrjXq2-_xEaRxxxxx
- type: org.apache.brooklyn.entity.nosql.cassandra.CassandraNode
  - type: org.apache.brooklyn.policy.ha.ServiceRestarter
  - type: org.apache.brooklyn.policy.ha.ServiceFailureDetector

I have a cloud zone up and running with a basic network type, everything
seems healthy. The Zone's physical
network has been created with guest and management Ip address ranges.


Pod    Gateway        Netmask    Start     IP        End IP


Pod    Gateway        Netmask    Start     IP        End IP

No user defined instances are running on the cloud, only the system defined

mysql> mysql
mysql> use cloud ;
mysql> select
          from user_ip_address where state <> 'Free';

| id | public_ip_address | allocated           | state     | is_system |
removed | created |
| 15 |     | 2016-09-05 02:41:08 | Allocated |         0 |
NULL    | NULL    | => Secondary Storage VM
| 16 |     | 2016-09-05 02:41:06 | Allocated |         0 |
NULL    | NULL    | => Console Proxy VM
| 17 |     | 2016-10-15 01:43:26 | Allocated |         0 |
NULL    | NULL    | => r-4-VM  virtual router

In brooklyn I attempt to run a simple cassandra based blueprint to
dynamically create a single instance
on the cloud. By default the cloud has a template "CentOS 5.5(64-bit) no
GUI (KVM)" and that will be
used in instance creation.

So apart from the ip addresses used by the system i.e. 165 - 167, I think
all IP addresses in the ranges
above are free. However, when I execute a blue print I receive an error.

output from brooklyn terminal gives rest api call

1) ExecutionException on
org.jclouds.http.HttpResponseException: command: GET


HTTP/1.1 failed with response: HTTP/1.1 533 null; content:

[],"errorcode":533,"cserrorcode":9999,"errortext":"Insufficient address

and similar errors in the cloudstack management logs.

[root@hc4nn management]# hostname ; pwd

apilog.log:2016-10-16 11:29:13,920 INFO  [a.c.c.a.ApiServer]
(catalina-exec-17:ctx-3774395e ctx-2a
ee0f83 ctx-4b529848) (logid:b125de78) (userId=2 accountId=2 sessionId=null) -- GET r
cj8TeRVbKmbvPe3ZFnTwoAwYf1UQ&signature=jCOeBAEmpPlkSqgpVcp/hi6IyfA%3D 533
Insufficient address cap

management-server.log:2016-10-16 11:29:13,818 INFO
[o.a.c.a.c.u.a.AssociateIPAddrCmd] (catalina-e
xec-7:ctx-ca17b8bb ctx-5c175b06 ctx-ad528fed) (logid:ad36d5dd)
ressCapacityException: Insufficient address capacityScope=interface; id=1
management-server.log:2016-10-16 11:29:13,818 TRACE
[o.a.c.a.c.u.a.AssociateIPAddrCmd] (catalina-e
xec-7:ctx-ca17b8bb ctx-5c175b06 ctx-ad528fed) (logid:ad36d5dd)
ressCapacityException: Insufficient address capacityScope=interface; id=1
management-server.log:2016-10-16 11:29:13,819 INFO  [c.c.a.ApiServer]
b ctx-5c175b06 ctx-ad528fed) (logid:ad36d5dd) Insufficient address capacity

It seems that I am short of IP addresses but the IP address assigned to the
new cloud stack instance
i.e. 160 should have been free. Also, in Cloudstack I can easily recover a
detroyed instance,
destroyed beause of this error and it will run.

I would like to get some pointers as to how to investigate this error as Im
a little stumped. Thanks
in advance. Is this an issue with Brooklyn or Cloudstack or do I need to
configure more resources
in some way. Im going to mail to both the Brooklyn and Cloudstack mailing
lists to try and understand
the problem from both directions.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message