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

Sharma Swati6 sharma.swati6 at tcs.com
Tue Dec 8 08:26:29 UTC 2015

 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 de
signate 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

-----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
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/20151208/67182c15/attachment.html>

More information about the OpenStack-dev mailing list