Mistakenly sent the logs, Anyway this is the cloud controller logs, and i use autoAssignIp false now.
Seems cloud controller assigns the public ip but, Web GUI only shows private ip. Thanks. On Wed, Mar 19, 2014 at 11:26 AM, Lahiru Sandaruwan <[email protected]>wrote: > TID: [0] [CC] [2014-03-19 11:19:22,783] INFO > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} - > All partitions [us-west-zone-c, us-east-zone-c] were validated > successfully, against the Cartridge: php > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} > TID: [0] [CC] [2014-03-19 11:20:16,690] INFO > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} - > Allocated an ip address: MemberContext > [memberId=lb-644048886.lb.domainfdaf89cc-9424-464f-8371-72a01efcc98f, > nodeId=us-west-1/i-3983e665, clusterId=lb-644048886.lb.domain, > cartridgeType=lb, privateIpAddress=null, publicIpAddress=null, > allocatedIpAddress=54.193.81.94, initTime=1395253154616, lbClusterId=null, > networkPartitionId=us-west-region] > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} > TID: [0] [CC] [2014-03-19 11:20:16,691] INFO > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} - > Retrieving Private IP Address. MemberContext > [memberId=lb-644048886.lb.domainfdaf89cc-9424-464f-8371-72a01efcc98f, > nodeId=us-west-1/i-3983e665, clusterId=lb-644048886.lb.domain, > cartridgeType=lb, privateIpAddress=10.251.30.200, publicIpAddress=null, > allocatedIpAddress=54.193.81.94, initTime=1395253154616, lbClusterId=null, > networkPartitionId=us-west-region] > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} > TID: [0] [CC] [2014-03-19 11:20:16,730] INFO > {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} - > Publishing instance spawned event: [service] lb [cluster] > lb-644048886.lb.domain [network-partition] us-west-region [partition] > us-west-zone-c [member] > lb-644048886.lb.domainfdaf89cc-9424-464f-8371-72a01efcc98f [lb-cluster-id] > null {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} > TID: [0] [CC] [2014-03-19 11:20:20,335] INFO > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} - > Allocated an ip address: MemberContext > [memberId=lb-644048886.lb.domain20fe4bd9-330d-4685-8a5a-0da55bee0426, > nodeId=us-east-1/i-49e61269, clusterId=lb-644048886.lb.domain, > cartridgeType=lb, privateIpAddress=null, publicIpAddress=null, > allocatedIpAddress=54.208.170.42, initTime=1395253155781, lbClusterId=null, > networkPartitionId=us-east-region] > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} > TID: [0] [CC] [2014-03-19 11:20:20,359] INFO > {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} - > Publishing instance spawned event: [service] lb [cluster] > lb-644048886.lb.domain [network-partition] us-east-region [partition] > us-east-zone-c [member] > lb-644048886.lb.domain20fe4bd9-330d-4685-8a5a-0da55bee0426 [lb-cluster-id] > null {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} > TID: [0] [CC] [2014-03-19 11:20:28,060] INFO > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} - > Instance is successfully starting up. MemberContext > [memberId=devphp.php.domain7527ff68-6477-414a-a62b-650e1a2256c1, > nodeId=us-west-1/i-8681e4da, clusterId=devphp.php.domain, > cartridgeType=php, privateIpAddress=null, publicIpAddress=null, > allocatedIpAddress=null, initTime=1395253223089, > lbClusterId=lb-644048886.lb.domain, networkPartitionId=us-west-region] > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} > TID: [0] [CC] [2014-03-19 11:20:31,399] INFO > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} - > Instance is successfully starting up. MemberContext > [memberId=devphp.php.domain10fd972d-3893-403e-9259-2e93ad0a2eb0, > nodeId=us-east-1/i-d9e612f9, clusterId=devphp.php.domain, > cartridgeType=php, privateIpAddress=null, publicIpAddress=null, > allocatedIpAddress=null, initTime=1395253228084, > lbClusterId=lb-644048886.lb.domain, networkPartitionId=us-east-region] > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} > TID: [0] [CC] [2014-03-19 11:21:29,054] INFO > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} - > Allocated an ip address: MemberContext > [memberId=devphp.php.domain7527ff68-6477-414a-a62b-650e1a2256c1, > nodeId=us-west-1/i-8681e4da, clusterId=devphp.php.domain, > cartridgeType=php, privateIpAddress=null, publicIpAddress=null, > allocatedIpAddress=54.193.81.94, initTime=1395253223089, > lbClusterId=lb-644048886.lb.domain, networkPartitionId=us-west-region] > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} > TID: [0] [CC] [2014-03-19 11:21:29,055] INFO > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} - > Retrieving Private IP Address. MemberContext > [memberId=devphp.php.domain7527ff68-6477-414a-a62b-650e1a2256c1, > nodeId=us-west-1/i-8681e4da, clusterId=devphp.php.domain, > cartridgeType=php, privateIpAddress=10.251.30.94, publicIpAddress=null, > allocatedIpAddress=54.193.81.94, initTime=1395253223089, > lbClusterId=lb-644048886.lb.domain, networkPartitionId=us-west-region] > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} > TID: [0] [CC] [2014-03-19 11:21:29,077] INFO > {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} - > Publishing instance spawned event: [service] php [cluster] > devphp.php.domain [network-partition] us-west-region [partition] > us-west-zone-c [member] > devphp.php.domain7527ff68-6477-414a-a62b-650e1a2256c1 [lb-cluster-id] > lb-644048886.lb.domain > {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} > TID: [0] [CC] [2014-03-19 11:21:35,022] INFO > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} - > Allocated an ip address: MemberContext > [memberId=devphp.php.domain10fd972d-3893-403e-9259-2e93ad0a2eb0, > nodeId=us-east-1/i-d9e612f9, clusterId=devphp.php.domain, > cartridgeType=php, privateIpAddress=null, publicIpAddress=null, > allocatedIpAddress=54.208.154.195, initTime=1395253228084, > lbClusterId=lb-644048886.lb.domain, networkPartitionId=us-east-region] > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} > TID: [0] [CC] [2014-03-19 11:21:35,023] INFO > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} - > Retrieving Private IP Address. MemberContext > [memberId=devphp.php.domain10fd972d-3893-403e-9259-2e93ad0a2eb0, > nodeId=us-east-1/i-d9e612f9, clusterId=devphp.php.domain, > cartridgeType=php, privateIpAddress=10.251.35.229, publicIpAddress=null, > allocatedIpAddress=54.208.154.195, initTime=1395253228084, > lbClusterId=lb-644048886.lb.domain, networkPartitionId=us-east-region] > {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} > TID: [0] [CC] [2014-03-19 11:21:35,058] INFO > {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} - > Publishing instance spawned event: [service] php [cluster] > devphp.php.domain [network-partition] us-east-region [partition] > us-east-zone-c [member] > devphp.php.domain10fd972d-3893-403e-9259-2e93ad0a2eb0 [lb-cluster-id] > lb-644048886.lb.domain > {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} > > > > On Wed, Mar 19, 2014 at 11:20 AM, Reka Thirunavukkarasu <[email protected]>wrote: > >> Hi Lahiru, >> >> You can use <property name="autoAssignIp" value="false"/> in the >> IaaSProvider section of cloud-controller.xml. Even in the case of >> non-existent of this property in your cloud-controller.xml, CC will >> assign a public ip for your cartridge. If you have this property in your >> cloud-controller.xml, >> then all your cartridges will inherit this property and get a public ip. >> >> In case, if you need specific cartridges to use public ip and other >> cartridges to use private ip only, then don't mention this property in your >> cloud-controller.xml >> instead define this property in the cartridge itself in the IaaSProvider >> section: >> >> { >> "name": "autoAssignIp", >> "value": "false" >> } >> >> Thanks, >> Reka >> >> >> On Wed, Mar 19, 2014 at 1:41 PM, Lahiru Sandaruwan <[email protected]>wrote: >> >>> Hi, >>> >>> I need $subject. >>> >>> I was able to use subnetId property in IaaS provider for setting VPN. Is >>> it possible to define that the instances need public ip? We need public ip >>> for Git repository connection. >>> >>> Thanks. >>> >>> -- >>> -- >>> Lahiru Sandaruwan >>> Software Engineer, >>> Platform Technologies, >>> WSO2 Inc., http://wso2.com >>> lean.enterprise.middleware >>> >>> email: [email protected] cell: (+94) 773 325 954 >>> blog: http://lahiruwrites.blogspot.com/ >>> twitter: http://twitter.com/lahirus >>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>> >>> >> >> >> -- >> Reka Thirunavukkarasu >> Software Engineer, >> WSO2, Inc.:http://wso2.com, >> Mobile: +94776442007 >> >> >> > > > -- > -- > Lahiru Sandaruwan > Software Engineer, > Platform Technologies, > WSO2 Inc., http://wso2.com > lean.enterprise.middleware > > email: [email protected] cell: (+94) 773 325 954 > blog: http://lahiruwrites.blogspot.com/ > twitter: http://twitter.com/lahirus > linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 > > -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: [email protected] cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
