Ask Your Question
0

configuring designate in Devstack

asked 2015-09-28 12:35:15 -0500

itsme gravatar image

updated 2015-09-28 12:36:23 -0500

I am trying to setup designate in Devstack.

I gone through this guide for the same.

http://docs.openstack.org/developer/d...

But when I am doing stack.sh, I am getting following error:

2015-09-28 15:28:09.360 | /opt/devstack/stack.sh:1320:run_phase
2015-09-28 15:28:09.360 | /opt/devstack/functions-common:1593:source
2015-09-28 15:28:09.360 | /opt/devstack/extras.d/85-designate.sh:38:start_designate
2015-09-28 15:28:09.360 | /opt/devstack/lib/designate:340:die
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

While I was trying to debug, I can be able to track where error was coming from.

In file opt/devstack/lib/designate

if ! timeout $SERVICE_TIMEOUT sh -c "while ! wget --no-proxy -q -O- $DESIGNATE_SERVICE_PROTOCOL://$DESIGNATE_SERVICE_HOST:$DESIGNATE_SERVICE_PORT; do sleep 1; done"; then
    die $LINENO "Designate did not start"
fi

Please some one help me with fixing the same.

Note: I am using KILO version

edit retag flag offensive close merge delete

Comments

I can be able to see that there was a issue is that designate-api is not getting enable .

2015-09-29 09:47:54.876 | ++ is_service_enabled designate-api
2015-09-29 09:47:54.880 | ++ return 0

Some one help me with this

itsme gravatar imageitsme ( 2015-09-29 04:49:58 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-11-10 02:14:20 -0500

swati-shukla1 gravatar image

updated 2015-11-10 04:58:27 -0500

Hi,

I am facing the same issue and my oslo.service is also installed.

Can you please let me know which screen are you talking about here " I have accessed the screen to see the service status."?

I have checked the file "screen-key.log", and saw the following errors-

2015-11-10 11:25:31.951527 23450 WARNING keystone.common.wsgi [-] Could not find service: dns

2015-11-10 13:39:20.865936 6280 WARNING keystone.common.wsgi [-] Could not find project: service

2015-11-10 13:39:21.645291 6278 DEBUG keystone.middleware.core [-] Auth token not in the request header. Will not build auth context. process_request /opt/stack/keystone/keystone/middleware/core.py:223

or if there is any other approach to find out the exact issue.

Thanks in advance, Swati

edit flag offensive delete link more
0

answered 2015-09-29 06:32:55 -0500

itsme gravatar image

I found the answer for the same myself.

Actually Issue was with the packages provided by designate.

After executing the stack.sh I have accessed the screen to see the service status.

So that I can be able to see that there was a error as follows:

ImportError: No module named oslo_service

I have installed the module manually, I can be able to see that It is working fine.

pip install oslo.service

Now I can be able to see that designate is working fine.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-09-28 12:35:15 -0500

Seen: 169 times

Last updated: Nov 10 '15