[openstack-dev] [ironic] Remove in-tree policy and config?

Pavlo Shchelokovskyy pshchelokovskyy at mirantis.com
Mon Jan 22 13:35:49 UTC 2018


John,

+1.

The sample file in etc/ironic/ in our repo is actually (almost) always out
of sync with the one in the docs - the docs one is re-generated on each
commit with new/changed stuff from third-party libs, the version in
etc/ironic is only updated manually when someone remembers it (as people
usually tend to limit the changes to this file in their commit to relevant
ones).

Cheers,

On Mon, Jan 22, 2018 at 2:45 PM, John Garbutt <john at johngarbutt.com> wrote:

> Hi,
>
> While I was looking at the traits work, I noticed we still have policy and
> config in tree for ironic and ironic inspector:
>
> http://git.openstack.org/cgit/openstack/ironic/tree/etc/
> ironic/policy.json.sample
> http://git.openstack.org/cgit/openstack/ironic/tree/etc/
> ironic/ironic.conf.sample
> http://git.openstack.org/cgit/openstack/ironic/tree/etc/ironic/policy.json
>
> And in a similar way:
> http://git.openstack.org/cgit/openstack/ironic-inspector/
> tree/policy.yaml.sample
> http://git.openstack.org/cgit/openstack/ironic-inspector/tree/example.conf
>
> There is an argument that says we shouldn't force operators to build a
> full environment to generate these, but this has been somewhat superseded
> by us having good docs:
>
> https://docs.openstack.org/ironic/latest/configuration/sample-config.html
> https://docs.openstack.org/ironic/latest/configuration/sample-policy.html
> https://docs.openstack.org/ironic-inspector/latest/
> configuration/sample-config.html
> https://docs.openstack.org/ironic-inspector/latest/
> configuration/sample-policy.html
>
> It could look something like this (but with the tests working...):
> https://review.openstack.org/#/c/536349
>
> What do you all think?
>
> Thanks,
> johnthetubaguy
>
> __________________________________________________________________________
> 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
>
>


-- 
Dr. Pavlo Shchelokovskyy
Senior Software Engineer
Mirantis Inc
www.mirantis.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180122/c6a955bf/attachment.html>


More information about the OpenStack-dev mailing list