RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1222326 - trove conf files require update when neutron disabled
Summary: trove conf files require update when neutron disabled
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: openstack-puppet-modules
Version: Kilo
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: Kilo
Assignee: Ivan Chavero
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-17 16:58 UTC by Pete MacKinnon
Modified: 2016-05-19 15:56 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-19 15:56:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Pete MacKinnon 2015-05-17 16:58:29 UTC
Install kilo-1 packstack with CONFIG_TROVE_INSTALL=y and CONFIG_NEUTRON_INSTALL=n (i.e., nova networking).

Subsequent trove instance launch will fail when creating the per-instance security group with an error similar to the following (found in /var/log/trove/trove-taskmanager.log):


2015-05-14 18:24:41.171 32286 INFO trove.taskmanager.models [req-d6a2c39c-6813-42b2-b04c-a2460d4b1203 admin services - - -] Creating instance 958b919b-3653-4c6d-8be7-8df1e536d12f.
2015-05-14 18:24:41.181 32286 ERROR trove.taskmanager.models [req-d6a2c39c-6813-42b2-b04c-a2460d4b1203 admin services - - -] Error creating security group for instance: 958b919b-3653-4c6d-8be7-8df1e536d12f
2015-05-14 18:24:41.182 32286 ERROR trove.taskmanager.models [req-d6a2c39c-6813-42b2-b04c-a2460d4b1203 admin services - - -] Endpoint not found for service_type=network, endpoint_type=publicURL, endpoint_region=RegionOne.
2015-05-14 18:24:41.183 32286 ERROR trove.taskmanager.models [req-d6a2c39c-6813-42b2-b04c-a2460d4b1203 admin services - - -] Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/trove/taskmanager/models.py", line 284, in create_instance
    security_groups = self._create_secgroup(datastore_manager)
  File "/usr/lib/python2.7/site-packages/trove/taskmanager/models.py", line 862, in _create_secgroup
    self.id, self.context)
  File "/usr/lib/python2.7/site-packages/trove/extensions/security_group/models.py", line 77, in create_for_instance
    sec_group = cls.create_sec_group(name, description, context)
  File "/usr/lib/python2.7/site-packages/trove/extensions/security_group/models.py", line 55, in create_sec_group
    context)
  File "/usr/lib/python2.7/site-packages/trove/extensions/security_group/models.py", line 225, in create
    driver = cls.get_driver(context)
  File "/usr/lib/python2.7/site-packages/trove/common/models.py", line 108, in get_driver
    return cls.network_driver(context)
  File "/usr/lib/python2.7/site-packages/trove/network/neutron.py", line 45, in __init__
    self.client = remote.create_neutron_client(context)
  File "/usr/lib/python2.7/site-packages/trove/common/remote.py", line 181, in neutron_client
    endpoint_type=CONF.neutron_endpoint_type)
  File "/usr/lib/python2.7/site-packages/trove/common/remote.py", line 70, in get_endpoint
    endpoint_type=endpoint_type)
NoServiceEndpoint: Endpoint not found for service_type=network, endpoint_type=publicURL, endpoint_region=RegionOne.


The root cause is that there are default trove networking drivers specified in the trove config at /etc/trove/trove.conf and /etc/trove/trove-taskmanager.conf for the neutron use case.

network_driver=trove.network.neutron.NeutronDriver

This needs to be set to:

network_driver=trove.network.nova.NovaNetwork

for the nova networking use case. Note that commenting out any network_driver will also render the NoveNetwork option.

Comment 3 Chandan Kumar 2016-05-19 15:56:17 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.


Note You need to log in before you can comment on or make changes to this bug.