[openstack-dev] [tc][masakari][api] masakari service-type, docs, api-ref and releasenotes

2018-01-17 Thread Monty Taylor

Hey everybody,

I noticed today while preparing patches to projects that are using 
openstacksdk that masakari is not listed in service-types-authority. [0]


I pushed up a patch to fix that [1] as well as to add api-ref, docs and 
releasenotes jobs to the masakari repo so that each of those will be 
published appropriately.


As part of doing this, it came up that 'ha' is a pretty broad 
service-type and that perhaps it should be 'compute-ha' or 'instance-ha'.


The service-type is a unique key for identifying a service in the 
catalog, so the same service-type cannot be shared amongst openstack 
services. It is also used for api-ref publication (to
https://developer.openstack.org/api-ref/{service-type} ) - and in 
openstacksdk as the name used for the service attribute on the 
Connection object. (So the service-type 'ha' would result in having 
conn.ha on an openstack.connection.Connection)


We do support specifying historical aliases. Since masakari has been 
using ha up until now, we'll need to list is in the aliases at the very 
least.


Do we want to change it? What should we change it to?

Thanks!
Monty

[0] http://git.openstack.org/cgit/openstack/service-types-authority
[1] https://review.openstack.org/#/c/534875/
[2] https://review.openstack.org/#/c/534878/

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tc][masakari][api] masakari service-type, docs, api-ref and releasenotes

2018-01-17 Thread Andreas Jaeger
On 2018-01-17 20:23, Monty Taylor wrote:
> Hey everybody,
> 
> I noticed today while preparing patches to projects that are using
> openstacksdk that masakari is not listed in service-types-authority. [0]
> 
> I pushed up a patch to fix that [1] as well as to add api-ref, docs and
> releasenotes jobs to the masakari repo so that each of those will be
> published appropriately.
> 
> As part of doing this, it came up that 'ha' is a pretty broad
> service-type and that perhaps it should be 'compute-ha' or 'instance-ha'.
> 
> The service-type is a unique key for identifying a service in the
> catalog, so the same service-type cannot be shared amongst openstack
> services. It is also used for api-ref publication (to
> https://developer.openstack.org/api-ref/{service-type} ) - and in
> openstacksdk as the name used for the service attribute on the
> Connection object. (So the service-type 'ha' would result in having
> conn.ha on an openstack.connection.Connection)
> 
> We do support specifying historical aliases. Since masakari has been
> using ha up until now, we'll need to list is in the aliases at the very
> least.
> 
> Do we want to change it? What should we change it to?

Yes, I would change it - instance-ha sounds best seeing that the
governance file has:
"  service: Instances High Availability Service"

Andreas
-- 
 Andreas Jaeger aj@{suse.com,opensuse.org} Twitter: jaegerandi
  SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GF: Felix Imendörffer, Jane Smithard, Graham Norton,
   HRB 21284 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tc][masakari][api] masakari service-type, docs, api-ref and releasenotes

2018-01-18 Thread Sam P
Hi Monty,
 Thanks for the patches.
 Agree that 'ha' is a pretty broad service-type for Masakari.
 compute-ha or instance-ha are both OK, as  Andreas proposed,
 I would like to change it to instance-ha.
 If no objections, I will fix the python-masakariclient, devstack
pulgin etc.. from masakari side.
--- Regards,
Sampath



On Thu, Jan 18, 2018 at 4:42 PM, Andreas Jaeger  wrote:
> On 2018-01-17 20:23, Monty Taylor wrote:
>> Hey everybody,
>>
>> I noticed today while preparing patches to projects that are using
>> openstacksdk that masakari is not listed in service-types-authority. [0]
>>
>> I pushed up a patch to fix that [1] as well as to add api-ref, docs and
>> releasenotes jobs to the masakari repo so that each of those will be
>> published appropriately.
>>
>> As part of doing this, it came up that 'ha' is a pretty broad
>> service-type and that perhaps it should be 'compute-ha' or 'instance-ha'.
>>
>> The service-type is a unique key for identifying a service in the
>> catalog, so the same service-type cannot be shared amongst openstack
>> services. It is also used for api-ref publication (to
>> https://developer.openstack.org/api-ref/{service-type} ) - and in
>> openstacksdk as the name used for the service attribute on the
>> Connection object. (So the service-type 'ha' would result in having
>> conn.ha on an openstack.connection.Connection)
>>
>> We do support specifying historical aliases. Since masakari has been
>> using ha up until now, we'll need to list is in the aliases at the very
>> least.
>>
>> Do we want to change it? What should we change it to?
>
> Yes, I would change it - instance-ha sounds best seeing that the
> governance file has:
> "  service: Instances High Availability Service"
>
> Andreas
> --
>  Andreas Jaeger aj@{suse.com,opensuse.org} Twitter: jaegerandi
>   SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
>GF: Felix Imendörffer, Jane Smithard, Graham Norton,
>HRB 21284 (AG Nürnberg)
> GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
>

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev