Thanks Isuru for confirming. -Jeffrey
From: Isuru Haththotuwa <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Friday, September 26, 2014 11:51 AM To: dev <[email protected]<mailto:[email protected]>> Subject: Re: Character limit for cartridge alias Hi Jeffrey, On Fri, Sep 26, 2014 at 11:59 PM, Jeffrey Nguyen (jeffrngu) <[email protected]<mailto:[email protected]>> wrote: Thank you Reka for getting back to me on this. For the cluster ID limitation of 30 characters max, is it configurable? Where in the code do we define this limit? I have same question for the node name. Currently the length for cluster id is not configurable. This is hard coded to 30 characters. This is intentionally done since too long cluster ids can be problematic (when creating DB tables, etc.). -Jeffrey From: Reka Thirunavukkarasu <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Friday, September 26, 2014 10:48 AM To: dev <[email protected]<mailto:[email protected]>> Subject: Re: Character limit for cartridge alias Hi Jeffrey, I'm not sure whether stratos enforces any character limit for the cartridge alias. If it is not explicitly handled, then we can use the character limit as the DB support. The clusterId which is generated by stratos, is taken 30 as the maximum length and the node name in jclouds, is taken 3-15 characters as i could find it from the code segment in stratos. Thanks, Reka On Thu, Sep 25, 2014 at 10:57 PM, Jeffrey Nguyen (jeffrngu) <[email protected]<mailto:[email protected]>> wrote: Hi, It seems Stratos currently enforces a limit on how long the alias for a cartridge can be. Can someone confirm if there is a limit and if so what is the max length? Where is this configured in the Stratos code? We've seen the case where two cartridges use the same large prefix for alias. They both got subscribed successfully but the instances failed to launch. Thanks, -Jeffrey -- Reka Thirunavukkarasu Senior Software Engineer, WSO2, Inc.:http://wso2.com, Mobile: +94776442007 -- <tel:%2B94776442007> <tel:%2B94776442007> Thanks and Regards, Isuru H. +94 716 358 048<tel:%2B94776442007><http://wso2.com/> <http://wso2.com/>
