stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chris snow <chsnow...@gmail.com>
Subject Re: partition deployment
Date Sat, 28 Jun 2014 11:53:59 GMT
I've added a JIRA to improve the experience for users trying to configure
Stratos [1] - note that the JIRA contains two sub tasks [2,3].

---
[1] https://issues.apache.org/jira/browse/STRATOS-690
[2] https://issues.apache.org/jira/browse/STRATOS-691
[3] https://issues.apache.org/jira/browse/STRATOS-692

On Sat, Jun 28, 2014 at 5:59 AM, Dinesh Bandara <dineshb@wso2.com> wrote:

> Could you please share your cloud-controller.xml which can be found at
> <STRATOS>/repository/conf/ or else please check followings are correctly
> set in there.
>
> <identity svns:secretAlias="cloud.controller.openstack.identity">
> *Openstack_project_name:Openstack_login_user*</identity>
> <credential svns:secretAlias="cloud.controller.openstack.credential">
> *password*</credential>
> <property name="jclouds.endpoint" value="
> *http://<openstack_ip>:<port>/v2.0*" />
>
>
> On Sat, Jun 28, 2014 at 9:16 AM, Manula Chathurika Thantriwatte <
> manulac@wso2.com> wrote:
>
>> Hi Maria,
>>
>> Can you please check and verify that, your region and values are correct
>> with your OpenStack environment. If they are wrong it fails the validation.
>>
>> Thanks !
>>
>>
>>
>> On Sat, Jun 28, 2014 at 6:40 AM, Maria Beckham <mariabeckham77@yahoo.com>
>> wrote:
>>
>>> But, we have a zone in a region. And would like to have cartridges
>>> spawned there.
>>>
>>> Also, again same error. Specified below the error
>>>
>>> Invalid Partition Detected : P1. Cause: POST
>>> https://openstack.corp.eco.com:5443/v2.0/tokens HTTP/1.1 -> HTTP/1.1
>>> 401 Not Authorized
>>>
>>>
>>>
>>>   ------------------------------
>>>  *From:* Dakshika Jayathilaka <dakshika@wso2.com>
>>>
>>> *To:* dev <dev@stratos.apache.org>; Maria Beckham <
>>> mariabeckham77@yahoo.com>
>>> *Sent:* Friday, June 27, 2014 5:22 PM
>>> *Subject:* Re: partition deployment
>>>
>>> just try with this. this works fine on openstack.
>>>
>>> {
>>>   "id": "P1",
>>>   "provider": "openstack",
>>>   "property": [
>>>     {
>>>       "name": "region",
>>>       "value": "RegionOne"
>>>     }
>>>   ]
>>> }
>>>
>>> *Dakshika Jayathilaka*
>>> Software Engineer
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>> 0771100911
>>>
>>>
>>> On Fri, Jun 27, 2014 at 10:45 PM, Maria Beckham <
>>> mariabeckham77@yahoo.com> wrote:
>>>
>>> I am pasting again by copying from the text area of 1st of configure
>>> stratos step
>>>
>>>  {
>>>      * "id": "zone-1"*,
>>>       "provider": "openstack",
>>>       "property": [
>>>           {
>>>             "name": "region",
>>>             "value": "PHX"
>>>           },
>>>   {
>>>             "name": "zone",
>>>             "value": "PHX01"
>>>           }
>>>       ]
>>>  }
>>>
>>>   ------------------------------
>>>  *From:* Maria Beckham <mariabeckham77@yahoo.com>
>>> *To:* "dev@stratos.apache.org" <dev@stratos.apache.org>
>>> *Sent:* Friday, June 27, 2014 3:44 PM
>>> *Subject:* Re: partition deployment
>>>
>>>  Its ok. May be I missed it while sending email.
>>>
>>> Anyhow, could you or someone respond to below questions of mine and
>>> error mentioend as I am stuck at first step of stratos configuration
>>>
>>>
>>>
>>>   ------------------------------
>>>  *From:* chris snow <chsnow123@gmail.com>
>>> *To:* dev <dev@stratos.apache.org>; Maria Beckham <
>>> mariabeckham77@yahoo.com>
>>> *Sent:* Friday, June 27, 2014 2:29 PM
>>> *Subject:* Re: partition deployment
>>>
>>> hi Maria, it looks like you have missed a comma:
>>>
>>> {
>>>      * "id": "zone-1"*,
>>>       "provider": "openstack",
>>>       "property": [
>>>           {
>>>             "name": "region",
>>>             "value": "PHX"
>>>           },
>>>   {
>>>             "name": "zone",
>>>             "value": "PHX01"
>>>           }
>>>       ]
>>>  }
>>>
>>>
>>>
>>>
>>> On Fri, Jun 27, 2014 at 9:20 PM, Maria Beckham <mariabeckham77@yahoo.com
>>> > wrote:
>>>
>>> So, ur saying its user provided name to be made unique in stratos then?.
>>> And its, not a system generated unique name or id on the openstack end?
>>>
>>> If its user provided name to be made unique on stratos, how can we
>>> guarantee uniqueness there? Does stratos check uniqueness?
>>>
>>> Also,  I am getting the below error. the parition info i gave is as
>>> follows
>>>
>>> {
>>>      * "id": "zone-1"*,
>>>       "provider": "openstack",
>>>       "property": [
>>>           {
>>>             "name": "region",
>>>             "value": "PHX"
>>>           }
>>>   {
>>>             "name": "zone",
>>>             "value": "PHX01"
>>>           }
>>>       ]
>>>  }
>>>
>>> output:
>>>  nvalid Partition Detected : zone-1
>>>
>>>   ------------------------------
>>>  *From:* Manula Chathurika Thantriwatte <manulac@wso2.com>
>>> *To:* dev@stratos.apache.org; Maria Beckham <mariabeckham77@yahoo.com>
>>> *Sent:* Friday, June 27, 2014 11:58 AM
>>> *Subject:* Re: partition deployment
>>>
>>> Hi Maria,
>>>
>>> You have to enter the unique name for the partition id. It's just an
>>> identifier. You have to enter the correct provider and the region after
>>> that. Here is the sample for ec2.
>>>
>>> {
>>> "partition":{
>>>      * "id": "P2"*,
>>>       "provider": "ec2",
>>>       "property": [
>>>           {
>>>             "name": "region",
>>>             "value": "ap-southeast-1b"
>>>           }
>>>       ],
>>>       "partitionMin": "1",
>>>       "partitionMax": "3"
>>>    }
>>> }
>>>
>>> Thanks !!!
>>>
>>>
>>>
>>> On Sat, Jun 28, 2014 at 12:20 AM, Maria Beckham <
>>> mariabeckham77@yahoo.com> wrote:
>>>
>>> Bcoz, when I asked my openstack admin for the parition id, he asked me
>>> what is that?
>>>
>>> Do you know whats it called in openstack world so that my admin can
>>> provide it
>>>
>>>  thanks,
>>>
>>>   ------------------------------
>>>  *From:* Maria Beckham <mariabeckham77@yahoo.com>
>>> *To:* dev <dev@stratos.apache.org>
>>> *Sent:* Friday, June 27, 2014 11:44 AM
>>> *Subject:* partition deployment
>>>
>>> Hi,
>>>
>>> I am trying to configure stratos for parition deployment.
>>>
>>> In that, doc says provide unique parition id? Is it a network partition
>>> id that represents the region and zone on iaas provider?
>>>
>>>  thanks,
>>> maria
>>>
>>>
>>>
>>>
>>>
>>> --
>>>  Regards,
>>> Manula Chathurika Thantriwatte
>>> Software Engineer
>>> WSO2 Inc. : http://wso2.com
>>> lean . enterprise . middleware
>>>
>>> email : manulac@wso2.com / manula@apache.org
>>> phone : +94 772492511
>>> blog : http://manulachathurika.blogspot.com/
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Regards,
>> Manula Chathurika Thantriwatte
>> Software Engineer
>> WSO2 Inc. : http://wso2.com
>> lean . enterprise . middleware
>>
>> email : manulac@wso2.com / manula@apache.org
>> phone : +94 772492511
>> blog : http://manulachathurika.blogspot.com/
>>
>>
>>
>>
>
>
> --
> *Dinesh Bandara*
>
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
>

Mime
View raw message