On Thu, Apr 10, 2014 at 3:32 PM, Akila Ravihansa Perera
<[email protected]>wrote:

> Hi,
>
> Pl see inline
>
>
> On Thu, Apr 10, 2014 at 2:25 PM, Sajith Kariyawasam <[email protected]>wrote:
>
>> Hi Akila,
>>
>> Please verify following,
>>
>> Does your puppet master's nodes.pp contain a block which matches the
>> generated domain "355510041424.default.default.puppet.puppet.localhost" ?
>>
>
> No. Where does this happen? I just copied puppet master files from Stratos
> tools [1] and followed the create cartridge guide in the Wiki.
>
>>
>>
It seems that when executing config script  you have given the service-name
as "default".
[Please provide stratos service-name:default]

Based on the provided name it will generate the domain. And there should be
a matching pattern in nodes.pp.

For eg, in nodes.pp of [1]  there is a node with /php/ pattern, which will
execute if the domain name has a string php.
Therefore if you need to create a php cartridge, you should provide the
service-name as "php", and then your generated domain will be something like
"355510041424.php.default.puppet.puppet.localhost"




> Also it seems some puppet configs in Puppet Master, tries to delete the
>> wso2carbon.lck file, which is not available as the log says.. Are you using
>> the latest puppet configs?
>> [/bin/rm: cannot remove
>> `/mnt/apache-stratos-cartridge-agent-4.0.0-SNAPSHOT/wso2carbon.lck': No
>> such file or directory]
>>
>
> Pl check [2]. This rm command is there in the latest config script
>
> [1] -
> https://github.com/apache/incubator-stratos/tree/master/tools/puppet3/manifests
> [2] -
> https://github.com/apache/incubator-stratos/blob/master/tools/puppet3-agent/config.sh
>
> Thanks
>
>
>
>>
>>
>> On Thu, Apr 10, 2014 at 1:37 PM, Akila Ravihansa Perera <
>> [email protected]> wrote:
>>
>>> Hi,
>>>
>>> I've pasted the output of config script [1] to create a cartridge. My
>>> environment is DevStack running on VirtualBox. The IP 172.16.0.254 is the
>>> puppet master IP. I can ping to this IP from the cartridge instance. I've
>>> assigned a floating IP 172.16.0.225 to the cartridge instance.
>>>
>>> Also my puppet master autosign.conf is set to allow all (*).
>>>
>>> [1] - http://pastebin.com/RL3WVNSm
>>>
>>>  Pl help
>>>
>>> Thanks
>>>
>>> --
>>> Akila Ravihansa Perera
>>> Software Engineer
>>> WSO2 Inc.
>>> http://wso2.com
>>>
>>> Phone: +94 77 64 154 38
>>> Blog: http://ravihansa3000.blogspot.com
>>>
>>
>>
>>
>> --
>> *Sajith Kariyawasam*
>> *Senior Software Engineer; WSO2, Inc.*
>> *AMIE (SL)*
>> *Blog: http://sajithblogs.blogspot.com/
>> <http://sajithblogs.blogspot.com/>*
>> *Mobile: +94772269575 <%2B94772269575>*
>>
>
>
>
> --
> Akila Ravihansa Perera
> Software Engineer
> WSO2 Inc.
> http://wso2.com
>
> Phone: +94 77 64 154 38
> Blog: http://ravihansa3000.blogspot.com
>



-- 
*Sajith Kariyawasam*
*Senior Software Engineer; WSO2, Inc.*
*AMIE (SL)*
*Blog: http://sajithblogs.blogspot.com/ <http://sajithblogs.blogspot.com/>*
*Mobile: +94772269575*

Reply via email to