Ask Your Question
0

Caught error: 'APIRouterV3' object has no attribute '_router'

asked 2014-09-29 10:43:34 -0500

updated 2014-09-29 10:45:55 -0500

Hi guys,

I'm trying to use a tool to autodiscover heat nodes: the tool is performing a simple API call (GET http://<rdo-controller>:8774/v3/servers/b0ab762f-9281-4c52-8fe6-9247ea9aa55e) that returns a 500 ERROR

Searching in nova logs I found that I have this kind of error:

2014-09-29 11:53:17.772 4296 ERROR nova.api.openstack [req-2ff1cfe7-d8ee-4370-aa25-6bcfa4cd98c9 2d68f446ed2c492d83c7c8119e5f3f4c 78cae9df849e47d6a3fe4d92f3849100] Caught error: 'APIRouterV3' object has no attribute '_router'

My installation is composed basically by a single node configured through RDO in neutron and vxlan configuration. All services seems to work fine.

I do not know how to let it work, any suggestion on how to solve the problem will be appreciated. Thanks in advance

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-09-29 12:57:17 -0500

larsks gravatar image

I'm a little confused, because I don't think that /v3 is a valid endpoint for Nova.

For my RDO Icehouse based install, if I want to get details on a server, I would normally use the v2 api like this:

GET /v2/<tenant-id>/servers/<server-id>

E.g.:

$ curl -H 'content-type: application/json' -H "X-auth-token: $token"  http://127.0.0.1:8774/v2/95d9bbd9b446438a89a353d8adb60704/servers/26691f56-3351-45d3-915f-3098529ef72e
{"server": {"status": "ACTIVE", "updated": "2014-09-29T17:48:11Z", "hostId": ...}
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: 2014-09-29 10:43:34 -0500

Seen: 291 times

Last updated: Sep 29 '14