Designate installation in Devstack results in Error

Bug #1500867 reported by muralidharan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
Expired
Undecided
Unassigned

Bug Description

I was trying to install Devstack with Designate enabled in it.

When I was trying to do stack.sh I am always used to get Error.

I have tried with different releases.(JUNO,KILO,LIBERTY as well as MASTER).

But it always results in Error as follows:

2015-09-28 15:28:09.363 | [ERROR] /opt/devstack/lib/designate:340 Designate did not start
2015-09-28 15:28:10.368 | Error on exit

Then I have checked with screen for the same.

So that I can be able to know that issue is that it is missing some modules.

root@asdf-01:/opt/devstack# /usr/local/bin/designate-mdns --config-file /etc/designate/designate.conf
Traceback (most recent call last):
  File "/usr/local/bin/designate-mdns", line 6, in <module>
    from designate.cmd.mdns import main
  File "/opt/stack/designate/designate/cmd/mdns.py", line 22, in <module>
    from designate import service
  File "/opt/stack/designate/designate/service.py", line 32, in <module>
    from oslo_service import service
ImportError: No module named oslo_service

All the designate components was stucked with this issue.

I have framed the solution for the same as follows:

I have manually installed the oslo_service to fix the same.

pip install oslo.service

I can be able to see that it is working fine.

Take a look at this and fix the same.

description: updated
summary: - Designate installation in Devstack reuslts in Error
+ Designate installation in Devstack results in Error
Revision history for this message
Tim Simmons (timsim) wrote :

This definitely works on master. Could you give us more info.

How you're running Devstack, what OS? Maybe give it another try too, because we're pretty sure this works :)

Changed in designate:
status: New → Incomplete
Revision history for this message
muralidharan (muraliselva-10) wrote :

I have tried in all versions which I specified.

JUNO,KILO,LIBERTY and master.

There was a error in all the versions.

Tried with Ubuntu 14.04

Revision history for this message
Graham Hayes (grahamhayes) wrote :

Can you paste the localrc file?

Revision history for this message
muralidharan (muraliselva-10) wrote :

Here it is correct localrc file attached.

[[local|localrc]]
#Network
#HOST_IP=
HOST_IP_IFACE=eth0

# Database user
DATABASE_USER=root

# Passwords
DATABASE_PASSWORD=guest
ADMIN_PASSWORD=guest
SERVICE_PASSWORD=guest
SERVICE_TOKEN=guest
RABBIT_PASSWORD=guest
SWIFT_HASH=guest

# Branches
# Modified the branch after the Openstack change
KEYSTONE_BRANCH=stable/kilo
NOVA_BRANCH=stable/kilo
NEUTRON_BRANCH=stable/kilo
SWIFT_BRANCH=stable/kilo
GLANCE_BRANCH=stable/kilo
CINDER_BRANCH=stable/kilo
HEAT_BRANCH=stable/kilo
TROVE_BRANCH=stable/kilo
HORIZON_BRANCH=stable/kilo

# Services
ENABLED_SERVICES=rabbit,mysql,key
ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch,n-novnc,n-cauth
ENABLED_SERVICES+=,neutron,q-svc,q-agt,q-dhcp,q-l3,q-meta,q-lbaas
#ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
ENABLED_SERVICES+=,g-api,g-reg
ENABLED_SERVICES+=,cinder,c-api,c-vol,c-sch,c-bak
ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng
ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond
ENABLED_SERVICES+=,ceilometer-acompute,ceilometer-acentral,ceilometer-anotification,ceilometer-collector
ENABLED_SERVICES+=,ceilometer-alarm-notifier,ceilometer-alarm-evaluator
ENABLED_SERVICES+=,ceilometer-api
ENABLED_SERVICES+=,horizon
enable_plugin cloudkitty https://github.com/stackforge/cloudkitty master
ENABLED_SERVICES+=,ck-api,ck-proc
ENABLED_SERVICES+=,designate,designate-central,designate-api,designate-pool-manager,designate-zone-manager,designate-mdns

# Enable Logging
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=True
SCREEN_LOGDIR=/opt/stack/logs

# For adding code to nova.conf for generating notifications
[[post-config|$NOVA_CONF]]
[DEFAULT]
notification_driver=nova.openstack.common.notifier.rpc_notifier
notification_topics=notifications,trackinstance

# For adding code to cinder.conf for generating notifications
[[post-config|$CINDER_CONF]]
[DEFAULT]
notification_driver=cinder.openstack.common.notifier.rpc_notifier
notification_topics=notifications,trackinstance

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Designate because there has been no activity for 60 days.]

Changed in designate:
status: Incomplete → Expired
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.