Ask Your Question
0

XML missing style information

asked 2013-11-05 09:25:39 -0600

sethfloydjr gravatar image

updated 2013-11-05 14:26:57 -0600

larsks gravatar image

When i start up .stack.sh i see this at the end of the output:

2013-11-05 09:23:41 + service_check
2013-11-05 09:23:41 + local service
2013-11-05 09:23:41 + local failures
2013-11-05 09:23:41 + SCREEN_NAME=stack
2013-11-05 09:23:41 + SERVICE_DIR=/opt/stack/status
2013-11-05 09:23:41 + [[ ! -d /opt/stack/status/stack ]]
2013-11-05 09:23:41 ++ ls /opt/stack/status/stack/horizon.failure /opt/stack/status/stack/n-api.failure
2013-11-05 09:23:41 + failures='/opt/stack/status/stack/horizon.failure
2013-11-05 09:23:41 /opt/stack/status/stack/n-api.failure'
2013-11-05 09:23:41 + for service in '$failures'
2013-11-05 09:23:41 ++ basename /opt/stack/status/stack/horizon.failure
2013-11-05 09:23:41 + service=horizon.failure
2013-11-05 09:23:42 + service=horizon
2013-11-05 09:23:42 + echo 'Error: Service horizon is not running'
2013-11-05 09:23:42 Error: Service horizon is not running
2013-11-05 09:23:42 + for service in '$failures'
2013-11-05 09:23:42 ++ basename /opt/stack/status/stack/n-api.failure
2013-11-05 09:23:42 + service=n-api.failure
2013-11-05 09:23:42 + service=n-api
2013-11-05 09:23:42 + echo 'Error: Service n-api is not running'
2013-11-05 09:23:42 Error: Service n-api is not running
2013-11-05 09:23:42 + '[' -n '/opt/stack/status/stack/horizon.failure
2013-11-05 09:23:42 /opt/stack/status/stack/n-api.failure' ']'
2013-11-05 09:23:42 + echo 'More details about the above errors can be found with screen, with ./rejoin-stack.sh'
2013-11-05 09:23:42 More details about the above errors can be found with screen, with ./rejoin-stack.sh
2013-11-05 09:23:42 + set +o xtrace
2013-11-05 09:23:42 stack.sh completed in 1185 seconds.

When I navigate to 192.168.1.151:5000/v2.0 I see this:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<version xmlns="http://docs.openstack.org/identity/api/v2.0" status="stable" updated="2013-03-06T00:00:00Z" id="v2.0">
<media-types>
<media-type base="application/json" type="application/vnd.openstack.identity-v2.0+json"/>
<media-type base="application/xml" type="application/vnd.openstack.identity-v2.0+xml"/>
</media-types>
<links>
<link href="http://192.168.1.151:5000/v2.0/" rel="self"/>
<link href="http://docs.openstack.org/api/openstack-identity-service/2.0/content/" type="text/html" rel="describedby"/>
<link href="http://docs.openstack.org/api/openstack-identity-service/2.0/identity-dev-guide-2.0.pdf" type="application/pdf" rel="describedby"/>
</links>
<link href="http://192.168.1.151:5000/v2.0/" rel="self"/>
<link href="http://docs.openstack.org/api/openstack-identity-service/2.0/content/" type="text/html" rel="describedby"/>
<link href="http://docs.openstack.org/api/openstack-identity-service/2.0/identity-dev-guide-2.0.pdf" type="application/pdf" rel="describedby"/>
</version>

Can anyone point me in the right direction to resolve this? This is while running devstack on centos 6.4 if that matters. thanks!

edit retag flag offensive close merge delete

Comments

That last bit is not an error. You're connecting to 192.168.1.151:5000/v2.0, which is the Keystone identity API. That's the expected response. The error is "Error: Service n-api is not running", and to solve that you'll need to show us the logs created by your nova-api service.

larsks gravatar imagelarsks ( 2013-11-05 14:30:32 -0600 )edit

You can run the "./rejoin-stack.sh" to connect to your devstack screen session, and then navigate to the n-api screen to see the last bit of output.

larsks gravatar imagelarsks ( 2013-11-05 14:31:20 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-11-11 23:17:38 -0600

DennyZhang gravatar image

Before digging to issues like this, we should first resolves errors we are encountering when running ./stack.sh.

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: 2013-11-05 09:25:39 -0600

Seen: 734 times

Last updated: Nov 11 '13