Re: Ntpdate: no server suitable for sysch

2014-08-14 Thread Udara Liyanage
On Fri, Aug 15, 2014 at 9:15 AM, Dungdb wrote: > Dear devs, > When i create php cartridge, i have 2 errors. Can you help me explan this?? > > 1) Ntpdate error > > ntpdate[1258]: no server suitable for synchronization found > > My computed can't synch time with ntp.ubuntu.com. So i edited file > /

Time to upgrade jclouds?

2014-08-14 Thread Jeffrey Nguyen (jeffrngu)
Hi, I was just wondering when we're going to upgrade jclouds. Stratos currently uses jclouds 1.7.1 with a couple of jclouds forks. Some of these should be available in latest release of jclouds (1.8.0). I think last time we upgraded to version 1.7.1 was around March. I'm working on an en

Re: Issue with floating IP allocation

2014-08-14 Thread Mariangela Hills
Documented the defaultFloatingIpPool property in [2] & [3] based on the description in [1]. [1] https://issues.apache.org/jira/browse/STRATOS-646 [2] https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Configuring+cloud-controller.xml [3] https://cwiki.apache.org/confluence/display/STRATOS/4

[jira] [Comment Edited] (STRATOS-742) [Wiki] Document defaultFloatingIpPool

2014-08-14 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14096854#comment-14096854 ] Mariangela Hills edited comment on STRATOS-742 at 8/15/14 4:28 AM:

Ntpdate: no server suitable for sysch

2014-08-14 Thread Dungdb
Dear devs, When i create php cartridge, i have 2 errors. Can you help me explan this?? 1) Ntpdate error ntpdate[1258]: no server suitable for synchronization found My computed can't synch time with ntp.ubuntu.com. So i edited file /etc/default/ntpdate NTPSERVERS="10.61.11.36" // it is DNS Serv

Re: Configuration in nodes.pp file!

2014-08-14 Thread Chamila De Alwis
As mentioned in the Stratos documentation[1] only essentials are the message broker and complex event processor deployment details. If you're planning to install stratos in a single machine then specify the machine IP and not the localhost IP. [1] - https://cwiki.apache.org/confluence/display/ST

Re: Redundant variables in init.sh

2014-08-14 Thread Chamila De Alwis
It seems I pasted the wrong link. Sorry! :) Please refer to this link [1] [1] - https://github.com/apache/stratos/pull/15 Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Thu, Aug 14, 2014 at 10:03 PM, Udara Liyanage wrote: > Hi Chamila, >

Re: The role of puppet agent in the spawned instance

2014-08-14 Thread Chamila De Alwis
Hi Udara, On Thu, Aug 14, 2014 at 10:18 PM, Udara Liyanage wrote: > configuring puppet master to read service type from that facter With a brief search I found a puppetlabs doc[1] which dives in to facter. It seems what you're suggesting is possible, but it would require changing from node re

Re: The role of puppet agent in the spawned instance

2014-08-14 Thread Chamila De Alwis
On Thu, Aug 14, 2014 at 9:51 PM, Manula Waidyanatha wrote: > I think you are asking about "node /php/ " part as defined in php.pp file. > In that node definition /php/ is a regex. It will match all the > hostnames/certnames that has php part. > Thanks Manula! That was the answer I was looking fo

Composite App - synch up

2014-08-14 Thread Martin Eppel (meppel)
Hi Reka, Isuru I am back from my vacation and I would like with you guys to synch up on the composite application / grouping ? One quick question, I noticed there is another branch called “grouping”, are we going to use this one or are we still developing on the 4.0.0-grouping branch ? Thanks

Re: The role of puppet agent in the spawned instance

2014-08-14 Thread Udara Liyanage
Hi Chamila, As Manula mentioned there is a regex for identification. You can just play around by setting hostname as something like "mysql.php" to see what happens. To get more control this can be also done by adding a facter with service type and configuring puppet master to read service type fr

Re: Configuration in nodes.pp file!

2014-08-14 Thread Udara Liyanage
Package-repo is introduced to specify a http location from where to host Stratos packs. However it is not yet in uses AFAIR. BAM is a business activity monitor where Stratos logs are published. This feature is optional. Bam-ip refers to the IP address if the BAM server. You should be able to disca

Re: Redundant variables in init.sh

2014-08-14 Thread Udara Liyanage
Hi Chamila, Your link does not refer to a pull request. It refers to your Stratos folk. Folk Stratos repo Clone your folked repo Commit and push changes to your repo Send a pull request from your repo to Stratos repo Touched, not typed. Erroneous words are a feature, not a typo.

Re: The role of puppet agent in the spawned instance

2014-08-14 Thread Manula Waidyanatha
Hi Chamila, I think you are asking about "node /php/ " part as defined in php.pp file. In that node definition /php/ is a regex. It will match all the hostnames/certnames that has phppart. On 08/14/2014 08:32 PM, Chamila De Alwis wrote: On Thu, Aug 14, 2014 at 6:41 PM, Dinesh Bandara

RE: autoscaler issue with multiple cartridges + subscriptions

2014-08-14 Thread David Waddell
Hi Reka, Please check the below output to see if it fits issue #675 (it may not) Currently I have 2 cartridges subscribed, opwv-vos, and opwv-fe. stratos> list-subscribed-cartridges Subscribed Cartridges: +--+--+-+---+--++---

Configuration in nodes.pp file!

2014-08-14 Thread Đinh Bá Dũng
Dear devs, I have a question about config of puppet master. In file node.pp, i see " *package_repo*" and *"bam_ip"* parameter, what is this mean? How does i change for my config? node 'base' { #essential variables *$package_repo = 'http://10.4.128.7 '* $local_p

Re: The role of puppet agent in the spawned instance

2014-08-14 Thread chris snow
This is useful stuff, shall I add it to the wiki? On 14 Aug 2014 16:03, "Chamila De Alwis" wrote: > > On Thu, Aug 14, 2014 at 6:41 PM, Dinesh Bandara wrote: > >> This will use to request the node catalog from puppet maste > > > An example hostname of a spawned instance would be > *872389473.dep

Re: The role of puppet agent in the spawned instance

2014-08-14 Thread Chamila De Alwis
Furthermore the puppetlabs documentation mentions that an agent's node name is "almost always read from its cert name setting"[1]. The cert name is set to fully qualified domain name of the agent at the install time. We define nodes as "php", "mysql" etc. Where does the conversion from the domain

Re: The role of puppet agent in the spawned instance

2014-08-14 Thread Chamila De Alwis
On Thu, Aug 14, 2014 at 6:41 PM, Dinesh Bandara wrote: > This will use to request the node catalog from puppet maste An example hostname of a spawned instance would be *872389473.deployment1.php.someorg.org * where "php" is the node name. How does p

Re: Redundant variables in init.sh

2014-08-14 Thread Chamila De Alwis
Hi Udara, Did as requested. Please refer to the link.[1] [1] - https://github.com/chamilad/stratos.git Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Thu, Aug 14, 2014 at 4:59 PM, Udara Liyanage wrote: > Hi Chamila, > > Thank you very mu

RE: autoscaler issue with multiple cartridges + subscriptions

2014-08-14 Thread David Waddell
Hi Reka This looks similar. I can only get the autoscaler rule to execute for one, and one only, of a given set of cartridge subscriptions. Which looks like the same symptom as per the issue you list. And the description would account for it (stats sent only to one cluster, therefore reset

[no subject]

2014-08-14 Thread Đinh Bá Dũng
Dear devs, I have a question about config of puppet master. In file node.pp, i see " *package_repo*" and *"bam_ip"* parameter, what is this mean? How does i change for my config? node 'base' { #essential variables *$package_repo = 'http://10.4.128.7 '* $local_pa

Re: stratos docker provider

2014-08-14 Thread Sajith Kariyawasam
On Tue, Aug 12, 2014 at 10:00 AM, Lakmal Warusawithana wrote: > Hi Folks, > > Did you guys had a hangout meeting. Sorry I could not follow up. Here is > my thought of implementing/design/architecture. > > We should have two mode of docker support. > > >- Developer version - capability of addi

Re: The role of puppet agent in the spawned instance

2014-08-14 Thread Dinesh Bandara
On Thu, Aug 14, 2014 at 6:12 PM, Chamila De Alwis wrote: > Hi Dinesh, > > Thanks for the reply. > > As far as I understand puppet master will identify the node based on the > cert name of the puppet agent. In the case of a generic base image, does > puppet agent pass any additional parameters whe

Re: The role of puppet agent in the spawned instance

2014-08-14 Thread Udara Liyanage
Hi, AFAIK in generic cartridge scenario, service name is passed as user data into the instance. Then scripts inside instance set instance's host name to "someText.SERVICE_NAME". Then puppet master identifies this instance as of type SERVICE_NAME. I thought puppet master identifies instance type fr

[jira] [Comment Edited] (STRATOS-738) Stratos Meta Data Service

2014-08-14 Thread Gayan Gunarathne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14093756#comment-14093756 ] Gayan Gunarathne edited comment on STRATOS-738 at 8/14/14 12:58 PM: ---

Re: Subscribe Cartbrigde Multitenant

2014-08-14 Thread Udara Liyanage
Hi, Error says that there is no any active instance of type centos. If you successfully deploy a service of centos, an instance of centos should be spawned, related server/service should start running , then cartridge agent send instance activated event. Only after cartridge agent sends instance

Re: The role of puppet agent in the spawned instance

2014-08-14 Thread Chamila De Alwis
Hi Dinesh, Thanks for the reply. As far as I understand puppet master will identify the node based on the cert name of the puppet agent. In the case of a generic base image, does puppet agent pass any additional parameters when communicating with the puppet master to request the node catalogue?

[jira] [Commented] (STRATOS-745) Wiki - Add a section to explain Stratos configurations

2014-08-14 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14096919#comment-14096919 ] Mariangela Hills commented on STRATOS-745: -- I created a skeleton for Stratos Con

Subscribe Cartbrigde Multitenant

2014-08-14 Thread Ignacio Ayuste
hello guys, im trying to subscribe a multitenant cartbridbe i follow all the wizard and every works perfect but when i try to subscribe the cartbridge give me this error in the log file. TID: [0] [STRATOS] [2014-08-11 23:34:03,345] ERROR {org.apache.stratos.manager.m anager.CartridgeSubscriptionMa

[Wiki] Need Details of Stratos Configuration Definitions

2014-08-14 Thread Mariangela Hills
I created a skeleton for Stratos Configuration Definitions under [1]. Can someone please help by providing the details that need to go into the following pages: - 4.1.0 Configuring autoscaler.xml - 4.

Re: Customization guide

2014-08-14 Thread Mariangela Hills
I have created a JIRA to document Stratos configurations [1]. [1] https://issues.apache.org/jira/browse/STRATOS-745 Regards, Mariangela *--* Mariangela Hills Senior Technical Writer *WSO2, Inc.*lean.enterprise.middleware. m: +94 773 500185 w: http://wso2.com On W

[jira] [Created] (STRATOS-745) Wiki - Add a section to explain Stratos configurations

2014-08-14 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-745: Summary: Wiki - Add a section to explain Stratos configurations Key: STRATOS-745 URL: https://issues.apache.org/jira/browse/STRATOS-745 Project: Stratos

[jira] [Created] (STRATOS-744) [Wiki] Add section to explain Stratos configurations

2014-08-14 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-744: Summary: [Wiki] Add section to explain Stratos configurations Key: STRATOS-744 URL: https://issues.apache.org/jira/browse/STRATOS-744 Project: Stratos

[jira] [Updated] (STRATOS-743) Documentation of the meta data service

2014-08-14 Thread Gayan Gunarathne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gayan Gunarathne updated STRATOS-743: - Attachment: Metadataservice-documentation (2).docx Documentation is attached. > Documen

Re: [GitHub] stratos pull request: Metadataservice Implementation

2014-08-14 Thread Gayan Gunarathne
Hi Shadeedur, I have attached the documentation with following JIRA. https://issues.apache.org/jira/browse/STRATOS-743 It contains the following details. + How to set up the service + Configurations + REST API Thanks, Gayan On Tue, Aug 12, 2014 at 9:48 AM, Gayan Gunarathne wrote: > Hi

[jira] [Created] (STRATOS-743) Documentation of the meta data service

2014-08-14 Thread Gayan Gunarathne (JIRA)
Gayan Gunarathne created STRATOS-743: Summary: Documentation of the meta data service Key: STRATOS-743 URL: https://issues.apache.org/jira/browse/STRATOS-743 Project: Stratos Issue Type:

Re: The role of puppet agent in the spawned instance

2014-08-14 Thread Dinesh Bandara
Hi Chamila, Please find my comment inline. On Thu, Aug 14, 2014 at 4:40 PM, Chamila De Alwis wrote: > Hi, > > When creating a cartridge we set up the base image by specifying the > stratos service name and installing the packages needed for that service > using puppet. For example if we specify

Re: Redundant variables in init.sh

2014-08-14 Thread Udara Liyanage
Hi Chamila, Thank you very much for your concern regarding the development of Stratos. Could you please send a pull request to Stratos. Your changes will be reviewed and merged. On Thu, Aug 14, 2014 at 4:35 PM, Chamila De Alwis wrote: > Hi, > > I was going through the init.sh script which is

Re: defaultFloatingIpPool property should be documented

2014-08-14 Thread Mariangela Hills
Fixed this JIRA. Regards, Mariangela *--* Mariangela Hills Senior Technical Writer *WSO2, Inc. *lean.enterprise.middleware. m: +94 773 500185 w: http://wso2.com On Thu, Aug 14, 2014 at 4:48 PM, Mariangela Hills wrote: > I have created a JIRA [1] to address this

[jira] [Resolved] (STRATOS-742) [Wiki] Document defaultFloatingIpPool

2014-08-14 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills resolved STRATOS-742. -- Resolution: Fixed Documented this property in [2] based on the description in [1]. [1

Re: defaultFloatingIpPool property should be documented

2014-08-14 Thread Mariangela Hills
I have created a JIRA [1] to address this task. [1] https://issues.apache.org/jira/browse/STRATOS-742 Regards, Mariangela *--* Mariangela Hills Senior Technical Writer *WSO2, Inc.*lean.enterprise.middleware. m: +94 773 500185 w: http://wso2.com On Mon, Aug 11, 20

[jira] [Created] (STRATOS-742) [Wiki] Document defaultFloatingIpPool

2014-08-14 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-742: Summary: [Wiki] Document defaultFloatingIpPool Key: STRATOS-742 URL: https://issues.apache.org/jira/browse/STRATOS-742 Project: Stratos Issue Type: S

The role of puppet agent in the spawned instance

2014-08-14 Thread Chamila De Alwis
Hi, When creating a cartridge we set up the base image by specifying the stratos service name and installing the packages needed for that service using puppet. For example if we specify "php" as the service name PHP packages and its dependencies will be installed. When a new instance is created f

Redundant variables in init.sh

2014-08-14 Thread Chamila De Alwis
Hi, I was going through the init.sh script which is run when an instance is spawned from a cartridge. Following variables seem to be unused after declaration. Line 38: PUPPETD=`which puppet` is declared and used subsequently in PUPPETAGENT and COMMAND. However when actually running the puppet age

Re: PostgreSQL Cartridge for Apache Stratos

2014-08-14 Thread chris snow
Apologies I meant Lasindu, not Udara. On 14 Aug 2014 07:45, "chris snow" wrote: > Thanks for the explanation Udara! My main concern was that the word > 'document' suggested steps that have to be manually performed by someone. > On 14 Aug 2014 07:07, "Lasindu Charith" wrote: > >> Hi Chris, >> >>

Re: PostgreSQL Cartridge for Apache Stratos

2014-08-14 Thread Rajkumar Rajaratnam
Hi Chris, I guess documenting the changes to be done is not going to work. Documenting/Automating changes will lead to several problems. For example, you need to update the script every time if the upstream modules are updated. It is hard to sync the script with upstream modules. As Lasindu ment