What's the transport_url for keystone service?

Bug #1658396 reported by yuwu xiong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Won't Fix
Undecided
Unassigned

Bug Description

Hi,

In the keystone install guide, after installation, it updates two configuration items for keystone: mysql and fernet. I am wondering what's the configuration item for RabbitMQ...Looking into /etc/keystone/keystone.conf, it seems there is a transport_url setting in the [default] section, but it's not clear how to set the item, and for what purpose keystone uses rabbitmq.

It would be good to have a brief explanation and config example in the keystone install guide for that part.

thanks,
/bruin

-----------------------------------
Release: 0.1 on 2017-01-21 09:26
SHA: 92041c71f50a88b33d3afe19390ec9f3c2c4c4b7
Source: http://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/install-guide/source/keystone-install.rst
URL: http://docs.openstack.org/newton/install-guide-rdo/keystone-install.html

Revision history for this message
Alexandra Settle (alexandra-settle) wrote :

Hi Bruin,

From looking into the documentation myself, it appears that Keystone deprecated the settings for RabbitMQ in their conf file, which you can see here: https://github.com/openstack/keystone/blob/master/etc/keystone.conf.sample#L411

If I am correct, then the install guide does not document deprecated features.

Thank you :)

Alex

Changed in openstack-manuals:
status: New → Won't Fix
Revision history for this message
Lance Bragstad (lbragstad) wrote :

Hello Bruin,

Alex is exactly right. Since keystone is a single service, it doesn't have a use case to talk to other keystone nodes through a message bus (unlike inter-service communication between various nova components). Keystone does provide the option to use a message bus for delivering notifications though (i.e. if configured to do so, keystone will emit a notification when things change in keystone - other services can consume these notifications off the message bus and take action on them). When keystone first implemented notifications, we used the oslo-incubator code. We've since deprecated those options in favor of using official oslo libraries, which have their own dedicated configuration sections [0]. We deprecated the homegrown options in keystone in favor of the options provided through the official libraries.

Hopefully this helps clear things up.

[0] https://github.com/openstack/keystone/blob/fa63f893d487d54fe932e42ad9b53eea7a24932f/etc/keystone.conf.sample#L1781-L1800

Revision history for this message
yuwu xiong (xiongyw) wrote : 回复:[Bug 1658396] Re: What's the transport_url for keystone service?

Thank you very much, Lance and Alexandra.

It's very clear... I can safely left that RabbitMQ section for keystone un-configured now :)
Btw, I was concerned with the dependencies of keystone, in the scenario of using Pacemaker to manage openstack services, that's why I wanted to know if keystone has a dependency on RabbitMQ...

Thanks again,
/bruin

------------------ 原始邮件 ------------------
发件人: "Lance Bragstad";<email address hidden>;
发送时间: 2017年1月23日(星期一) 晚上10:51
收件人: "熊育武"<email address hidden>;

主题: [Bug 1658396] Re: What's the transport_url for keystone service?

Hello Bruin,

Alex is exactly right. Since keystone is a single service, it doesn't
have a use case to talk to other keystone nodes through a message bus
(unlike inter-service communication between various nova components).
Keystone does provide the option to use a message bus for delivering
notifications though (i.e. if configured to do so, keystone will emit a
notification when things change in keystone - other services can consume
these notifications off the message bus and take action on them). When
keystone first implemented notifications, we used the oslo-incubator
code. We've since deprecated those options in favor of using official
oslo libraries, which have their own dedicated configuration sections
[0]. We deprecated the homegrown options in keystone in favor of the
options provided through the official libraries.

Hopefully this helps clear things up.

[0] https://github.com/openstack/keystone/blob/fa63f893d487d54fe932e42ad9b53eea7a24932f/etc/keystone.conf.sample#L1781-L1800

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1658396

Title:
  What's the transport_url for keystone service?

Status in openstack-manuals:
  Won't Fix

Bug description:
  Hi,

  In the keystone install guide, after installation, it updates two
  configuration items for keystone: mysql and fernet. I am wondering
  what's the configuration item for RabbitMQ...Looking into
  /etc/keystone/keystone.conf, it seems there is a transport_url setting
  in the [default] section, but it's not clear how to set the item, and
  for what purpose keystone uses rabbitmq.

  It would be good to have a brief explanation and config example in the
  keystone install guide for that part.

  thanks,
  /bruin

  -----------------------------------
  Release: 0.1 on 2017-01-21 09:26
  SHA: 92041c71f50a88b33d3afe19390ec9f3c2c4c4b7
  Source: http://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/install-guide/source/keystone-install.rst
  URL: http://docs.openstack.org/newton/install-guide-rdo/keystone-install.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/openstack-manuals/+bug/1658396/+subscriptions

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.