[openstack-dev] Regarding Designate install through Openstack-Ansible

Sharma Swati6 sharma.swati6 at tcs.com
Wed Dec 16 04:46:36 UTC 2015


 Hi Major, Jean, Jesse and Kevin,

I have added some part of Designate code and uploaded it on https://github.com/sharmaswati6/designate_files

Could you please review this and help me in answering the following questions-
Is there some specific location for the server-side code for all Openstack components? And whether I will downloading the actual designate git code to the same location?
Is there some specific file 
where I have to give the reference for "tasks:" and "handlers:", so that they can be called via roles.To create Designate mys
ql database, is it reference to be given somewhere?How are the hooks(setup details) of a new comp
onent associated to it in Openstack-Ansible. Eg- the setup details for Designate http://git.openstack.org/cgit/openstack/designate/tree/setup.cfg?wb48617274=B56AA8FF should map to which file in Openstack-Ansible structure?Thanks in advance.
Regards,
 Swati Sharma
 System Engineer
 Tata Consultancy Services
 Gurgaon - 122 004,Haryana
 India
 Cell:- +91-9717238784
 Mailto: sharma.swati6 at tcs.com
 Website: http://www.tcs.com
 ____________________________________________
 Experience certainty.	IT Services
 			Business Solutions
 			Consulting
 ____________________________________________
 

-----Sharma Swati6/DEL/TCS wrote: -----
To: major at mhtx.net, jean-philippe at evrard.me, jesse.pretorius at rackspace.co.uk, kevin.carter at rackspace.com
From: Sharma Swati6/DEL/TCS
Date: 12/08/2015 01:56PM
Cc: openstack-dev at lists.openstack.org, Partha Datta/DEL/TCS at TCS, pandey.preeti1 at tcsin.com
Subject: Regarding Designate install through Openstack-Ansible

 Hi Major, Jean, Jesse and Kevin,

Hope you are all doing well.

I have been interacting with you lately on openstack mailing lists and IRC chats regarding Designate component inclusion in Openstack-Ansible, so that its deployment can be made similar to other components.

As recommended, I have opened a spec also at : https://review.openstack.org/#/c/254161/ and uploaded the sample designate.yml file at https://github.com/prpandey26/Designate/blob/master/designate.yml#L3.

To proceed with the configuration and role setup, I have the following queries-
I believe for making the starting the initial setup, only conf.d and env.d needs to be altered. 
In env.d, I edited the designate.yml file, then in conf.d, what host changes exactly I need to make for designate component?Jean suggested that "after making changes in env.d and conf.d, ansible will create the new entries for your component". 
Do I have to run anything for this? At what location will the new entries be created? Is it with respect to the roles for designate automatically created?As a next step, I am planning to add role directories for designate component 
'os-designate-yml' file in '/opt/openstack-ansible/playbooks' and a seperate roles directory for 'os-designate' at '/opt/openstack-ansible/playbooks/roles'. Can you please let me know if this has to be created by us or env.d and conf.d will directly created it?
I have not seen any document yet for the extra-containers to be added to openstack-ansible, however I checked only specs have been created for ironic, trove, etc. 

Hence, any help from you regarding the steps in sequence will be highly appreciated.


Thanks & Regards
 Swati Sharma
 System Engineer
 Tata Consultancy Services
 Mailto: sharma.swati6 at tcs.com
 Website: http://www.tcs.com
 ____________________________________________
 Experience certainty.	IT Services
 			Business Solutions
 			Consulting
 ____________________________________________
 

-----Major Hayden <major at mhtx.net> wrote: -----
To: "OpenStack Development Mailing List (not for usage questions)" <openstack-dev at lists.openstack.org>
From: Major Hayden <major at mhtx.net>
Date: 12/04/2015 06:53PM
Subject: Re: [openstack-dev] [openstack-ansible] Install Openstack-Ansible

On Fri, 2015-12-04 at 10:01 +0530, Sharma Swati6 wrote:
> To add a new container, we have followed the steps as mentioned in
> the extra_container.yml.example. Please find the sample designate.yml
> file attached and created as per the steps.

That's a good start.  However, you'll need to sign up[1] to be an
OpenStack developer (agreeing to some contracts and things so you can
commit this into the upstream repositories.

Once you do that, you'll want to assemble a spec for the changes you
want to make.  A spec defines what you hope to accomplish and gives
everyone on the project a chance to review the steps you're planning to
take.  You can look at a spec I wrote[2] for ideas and then use the
openstack-ansible-specs template[3] to begin working on your spec.

A spec isn't busywork -- it shows the intention of what you're trying
to do and allows other people on the project to point out areas of
concern and improvement.

> To add the new roles in openstack-ansible repository, shall I create
> the directory looking at what is there for keystone or other
> components and make the configuration changes only, or can I clone it
> from somewhere also?

There is a push lately to use independent role repositories, but I'm
not sure if that's a hard requirement at the moment.  Jesse Pretorius
or Kevin Carter may be better people to talk about that in this thread.

Details on independent role repositories are in a spec[4] as well.

> Thereafter, as suggested by you, I have to test this new container
> with the existing ones.
> 
> I believe there is no such link available with such steps and 'how
> to' part for openstack-ansible. Please let me know if you/anyone else
> have already done this part to add a new component container
> similarly.

We can help you with this in IRC once you've completed the other steps
I've listed above. ÿJoin us on Freenode in #openstack-ansible and we
will be happy to help you along the way!

[1]ÿhttp://docs.openstack.org/infra/manual/developers.html
[2]ÿhttp://specs.openstack.org/openstack/openstack-ansible-specs/specs/mitaka/security-hardening.html
[3]ÿhttps://github.com/openstack/openstack-ansible-specs/blob/master/specs/template.rst
[4]ÿhttp://specs.openstack.org/openstack/openstack-ansible-specs/specs/mitaka/independent-role-repositories.html

-- 
Major Hayden



__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
 
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151216/8333cf6c/attachment.html>


More information about the OpenStack-dev mailing list