On Mon, May 18, 2015 at 4:33 AM, david hbase <[email protected]> wrote:

> Hi, Raj
>
> Thanks for your help, the application can be activated now.
>
> I got another issue is: After the application activated about 2~5 minutes,
> then the application cluster became "inactive", but the instance keep as
> "active" status. I have checked our JIRA, there are some tickets related. I
> will dig out more info and update here.
>

​Can you please attach both stratos log and cartridge agent log here? Did
you put the correct CEP IP in base.pp? Since you are not using external
CEP, your CEP IP is same as Stratos IP.
​


>
> Q: Could you send me an instruction to update the code base to current
> master with openstack env ? (My source build is May 4, need to be update to
> current )
>

​Simply you can pull the latest code from the master (git pull origin
master) and work on it. ​


​Thanks.​


>
> Thanks
> -D
>
> On Fri, May 15, 2015 at 11:53 PM, Rajkumar Rajaratnam <[email protected]>
> wrote:
>
>> Hi David,
>>
>> Please attach the complete stratos logs for this scenario.
>>
>> 1. org.apache.stratos.cloud.controller.exception.CloudControllerException:
>> Failed to allocate an IP address. ( not sure the cause )
>>
>> Thanks.
>>
>> On Thu, May 14, 2015 at 10:36 AM, david hbase <[email protected]>
>> wrote:
>>
>>> Thanks for your quick update. verify with my config now.
>>> -D
>>>
>>> On Wed, May 13, 2015 at 9:48 PM, Udara Liyanage <[email protected]> wrote:
>>>
>>>> Hi David,
>>>>
>>>> I am attached the init script I am using.
>>>>
>>>> My Stratos configuration in
>>>> *repository/conf/cartridge-config.properties*
>>>>
>>>> puppet.ip=192.168.30.81
>>>> puppet.hostname=puppet.ppaas.puppetmaster.com
>>>>
>>>> After executing init script my */etc/hosts* file content is as below.
>>>> 825114051510 is a random number generated which you get a different value.
>>>> 192.168.30.81  puppet.ppaas.puppetmaster.com
>>>> 127.0.0.1
>>>> 825114051510.default.appserver-manager.puppet.ppaas.puppetmaster.com
>>>> 825114051510
>>>>
>>>> Content in* /etc/hostname*
>>>> 825114051510
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Thu, May 14, 2015 at 8:01 AM, david hbase <[email protected]>
>>>> wrote:
>>>>
>>>>> Additional info:
>>>>>
>>>>> 1. During the instance created, successfully assigned an IP, but
>>>>> Stratos can not get the IP.
>>>>> 2. The init script have issue with the PUPPET_HOSTNAME=puppet-hostname
>>>>> <https://github.com/imesh/stratos-php-applications.git,PORTS=80,PROVIDER=apache,PUPPET_IP=127.0.0.1,PUPPET_HOSTNAME=puppet-hostname>
>>>>> , the puppet master server can not be assigned
>>>>>
>>>>> The above two issues did not triggerd by 4.0, only repeatable with 4.1
>>>>>
>>>>> Please help. Thanks
>>>>> -D
>>>>>
>>>>>
>>>>> On Wed, May 13, 2015 at 6:03 PM, david hbase <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi, Udara
>>>>>>
>>>>>> I have tried multiple times, Instance creating and termination are
>>>>>> working without any error. But got the following errors as:
>>>>>>
>>>>>> 1.
>>>>>> org.apache.stratos.cloud.controller.exception.CloudControllerException:
>>>>>> Failed to allocate an IP address. ( not sure the cause )
>>>>>>
>>>>>> 2. puppet-agent[1181]: Could not request certificate: Connection
>>>>>> refused - connect(2) (cause by payload is wrong data:
>>>>>> MCUuvbV7,DEPLOYMENT=default,REPO_URL=
>>>>>> https://github.com/imesh/stratos-php-applications.git,PORTS=80,PROVIDER=apache,PUPPET_IP=127.0.0.1,PUPPET_HOSTNAME=puppet-hostname
>>>>>> )
>>>>>>
>>>>>> Could you test with current init script (
>>>>>> https://github.com/apache/stratos/tree/master/tools/init-scripts)
>>>>>> and our beta2 code base?
>>>>>>
>>>>>> The php cartridge defined as following:
>>>>>>
>>>>>> {
>>>>>>   "type": "php",
>>>>>>   "provider": "apache",
>>>>>>   "category": "data",
>>>>>>   "host": "stratos41beta2a.abc.com",
>>>>>>   "displayName": "php1a",
>>>>>>   "description": "php Cartridge",
>>>>>>   "version": "7",
>>>>>>   "multiTenant": "false",
>>>>>>   "portMapping": [
>>>>>>     {
>>>>>>       "protocol": "http",
>>>>>>       "port": "80",
>>>>>>       "proxyPort": "8280"
>>>>>>     }
>>>>>>   ],
>>>>>>   "deployment": {
>>>>>>   },
>>>>>>   "iaasProvider": [
>>>>>>     {
>>>>>>       "type": "openstack",
>>>>>>       "imageId": "us-internal-1/xxxxxx6-aa6d-4c3c-9b5d-e51cef6ecca0",
>>>>>>       "networkInterfaces": [
>>>>>>         {
>>>>>>           "name": "public-direct-600",
>>>>>>           "networkUuid": "2d84exxxxxx-4dc8-9897-dd8ef4719f8b"
>>>>>>         }
>>>>>>       ],
>>>>>>       "property": [
>>>>>>         {
>>>>>>           "name": "instanceType",
>>>>>>           "value": "us-internal-1/6xxxxxx-541b-49a5-be4c-f2320ae4a917"
>>>>>>         },
>>>>>>         {
>>>>>>           "name": "keyPair",
>>>>>>           "value": "david"
>>>>>>         },
>>>>>>         {
>>>>>>           "name": "securityGroups",
>>>>>>           "value": "default"
>>>>>>         }
>>>>>>       ]
>>>>>>     }
>>>>>>   ]
>>>>>> }
>>>>>>
>>>>>> Thanks for your help
>>>>>> -D
>>>>>>
>>>>>>
>>>>>> On Wed, May 13, 2015 at 10:33 AM, Udara Liyanage <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi David,
>>>>>>>
>>>>>>> I have tested Stratos with Openstack Icehouse and it is working
>>>>>>> without any issue for the moment. see my exact Openstack version
>>>>>>> rpm -qa | grep nova-common
>>>>>>> openstack-nova-common-2014.1.2-1.el6.noarch
>>>>>>>
>>>>>>> Instance creating, termination, ip assigning working for me without
>>>>>>> any issue.
>>>>>>>
>>>>>>> On Wed, May 13, 2015 at 10:51 PM, david hbase <[email protected]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi, Dev Team
>>>>>>>>
>>>>>>>> If anyone tested the Stratos 4.1 with Openstack? I am focusing on
>>>>>>>> the 4.1 with icehouse now. Open this email chain to post the issues and
>>>>>>>> solutions.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>> -D
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> Udara Liyanage
>>>>>>> Software Engineer
>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>> lean. enterprise. middleware
>>>>>>>
>>>>>>> web: http://udaraliyanage.wordpress.com
>>>>>>> phone: +94 71 443 6897
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Udara Liyanage
>>>> Software Engineer
>>>> WSO2, Inc.: http://wso2.com
>>>> lean. enterprise. middleware
>>>>
>>>> web: http://udaraliyanage.wordpress.com
>>>> phone: +94 71 443 6897
>>>>
>>>
>>>
>>
>>
>> --
>> Rajkumar Rajaratnam
>> Committer & PMC Member, Apache Stratos
>> Software Engineer, WSO2
>>
>> Mobile : +94777568639
>> Blog : rajkumarr.com
>>
>
>


-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog : rajkumarr.com

Reply via email to