Great! Thanks for the update Thanuja!
On Tuesday, May 10, 2016, Thanuja Uruththirakodeeswaran
wrote:
> Hi All,
>
> I have added the custom extension to wso2mb puppet module through
> 'system_file_list' method.
>
> Like we used file_list to copy files to wso2 carbon home, we
Hi All,
I have added the custom extension to wso2mb puppet module through
'system_file_list' method.
Like we used file_list to copy files to wso2 carbon home, we can copy files
which are added */files/system* to system using *system_file_list
*as below:
wso2::system_file_list:
-
file:
Hi All,
Thanks for the suggestions !!! As Isuru suggested, the best approach would
be to use an extension point to update thriftServerHost with container
ip. Will go with this approach.
Thanks.
On Mon, May 9, 2016 at 2:01 PM, Akila Ravihansa Perera
wrote:
> Hi Pumudu,
>
>
Hi Pumudu,
We can't use "%{::ipaddress}" in kubernetes platform since Puppet is only
used to build the Docker images. The ipaddress is assigned when the
Kubernetes pods/services are deployed.
I think best method would be to use the extension point as explained by
Isuru. This should be similar to
Hi,
AFAIU, Thrift hostname should be changed to IP from puppet modules when
configuring hiera data[1]. Following line[2] should added to
default.yaml[3] to get the IP when initializing.
[1]
Hi Thanuja,
As you have mentioned, the MB needs the IP address instead of the host name
to configure the Thrift server. So you will have to correct the thrift
server connection details mentioned in "wso2mb-default/10.100.186.164:7611".
Thanks,
Akalanka.
On Mon, May 9, 2016 at 11:31 AM, Isuru
Hi Thanuja,
There is an extension point [1] in the startup script for Dockerfiles,
where is looks for another script with a particular name format to execute
before starting the server. You should b able to use that to do a find
replace in the broker.xml with the container IP.
[1].
Hi All,
When we try to run WSO2 MB docker image build using puppet provisioning
with clustering enabled in kubernetes, I'm getting the below error at the
server startup:
TID: [-1234] [] [2016-05-09 05:39:06,811] ERROR
{org.wso2.andes.server.Main} - Exception during startup. Triggering
shutdown