Can somebody simply state the relationship between the subscription alias and
the
cluster id, i.e. how does the latter *exactly* get generated from the former?
For
example is it:
trunc(alias + "." + alias + some domain thingy, 30)
What is the correct formula?
On Saturday 27 Sep 2014 00:19:09 Jeffrey Nguyen wrote:
Thanks Isuru for confirming.
-Jeffrey
*From: *Isuru Haththotuwa <[email protected][1]>
*Reply-To: *"[email protected][2]" <[email protected]_>
*Date: *Friday, September 26, 2014 11:51 AM
*To: *dev <[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][3]>
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][4]>
*Reply-To: *"[email protected][2]" <[email protected]_>
*Date: *Friday, September 26, 2014 10:48 AM
*To: *dev <[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][3]>
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 ThirunavukkarasuSenior Software Engineer,WSO2, Inc.:http://wso2.com[5],
Mobile: +94776442007
--
[6]
_Thanks and Regards,