Ask Your Question
1

Tacker- VIM status "pending" after registering

asked 2017-08-22 23:02:02 -0500

anhtrung87 gravatar image

updated 2017-08-22 23:03:09 -0500

Hi all,

After installing tacker successfully on Ocata version, I did register a VIM but its status is pending. I installed mistral as well. Please help to take a look the below log.

2017-08-22 23:52:14.546 119242 DEBUG tacker.wsgi [-] (119242) accepted ('10.250.191.65', 33095) server /usr/lib/python2.7/site-packages/eventlet/wsgi.py:867
2017-08-22 23:52:14.548 119242 DEBUG tacker.alarm_receiver [-] Process request: POST /v1.0/vims.json HTTP/1.0
Accept: application/json
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Length: 293
Content-Type: application/json
Host: 10.250.191.65:9890
User-Agent: python-tackerclient
X-Auth-Token: gAAAAABZnPYWAZMp1FkLfGfRheRFMyr7DDBJkSmBazlxWVCI1tZm12tnxlUABKr8gya-RQu55ccpThEVokeo0WXKMeciG6GcWxKd3E2VVyLPn6EH7tuOcJB5YEHR21b-gUm9CiguADG4-7imnEF1VPrTMvog7HwRKZ-94r4P05TF3Y5txhO7LNXZpL2EMRjXl4IFneikdsNE

{"vim": {"vim_project": {"name": "admin", "project_domain_name": "Default"}, "description": "", "is_default": false, "auth_cred": {"username": "admin", "user_domain_name": "Default", "password": "password"}, "auth_url": "http://10.250.191.65:5000", "type": "openstack", "name": "default_VIM"}} process_request /usr/lib/python2.7/site-packages/tacker/alarm_receiver.py:43
2017-08-22 23:52:14.965 119242 DEBUG tacker.api.v1.base [req-66050313-9a75-44f7-bb43-10e9ddd98fba 3e7be2d4499141fa928fc17473f1a577 ebce5bd3b8de43838f1cbf1d2551497b - - -] Request body: {u'vim': {u'vim_project': {u'name': u'admin', u'project_domain_name': u'Default'}, u'name': u'default_VIM', u'is_default': False, u'auth_url': u'http://10.250.191.65:5000', u'auth_cred': {u'username': u'admin', u'user_domain_name': u'Default', u'password': u'***'}, u'type': u'openstack', u'description': u''}} prepare_request_body /usr/lib/python2.7/site-packages/tacker/api/v1/base.py:510
2017-08-22 23:52:14.965 119242 DEBUG tacker.common.log [req-66050313-9a75-44f7-bb43-10e9ddd98fba 3e7be2d4499141fa928fc17473f1a577 ebce5bd3b8de43838f1cbf1d2551497b - - -] tacker.nfvo.nfvo_plugin.NfvoPlugin method create_vim called with arguments (<tacker.context.Context object at 0x525be90>,) {'vim': {u'vim': {u'vim_project': {u'name': u'admin', u'project_domain_name': u'Default'}, 'tenant_id': u'ebce5bd3b8de43838f1cbf1d2551497b', u'name': u'default_VIM', u'is_default': False, u'auth_url': u'http://10.250.191.65:5000', u'auth_cred': {u'username': u'admin', u'user_domain_name': u'Default', u'password': u'***'}, u'type': u'openstack', u'description': u''}}} wrapper /usr/lib/python2.7/site-packages/tacker/common/log.py:34
2017-08-22 23:52:14.966 119242 DEBUG tacker.nfvo.nfvo_plugin [req-66050313-9a75-44f7-bb43-10e9ddd98fba 3e7be2d4499141fa928fc17473f1a577 ebce5bd3b8de43838f1cbf1d2551497b - - -] Create vim called with parameters {u'vim': {u'vim_project': {u'name': u'admin', u'project_domain_name': u'Default'}, 'tenant_id': u'ebce5bd3b8de43838f1cbf1d2551497b', u'name': u'default_VIM', u'is_default': False, u'auth_url': u'http://10.250.191.65:5000', u'auth_cred': {u'username': u'admin', u'user_domain_name': u'Default', u'password': u'***'}, u'type': u'openstack', u'description': u''}} create_vim /usr/lib/python2.7/site-packages/tacker/nfvo/nfvo_plugin.py:104
2017-08-22 23:52:14.967 119242 DEBUG tacker.common.log [req-66050313-9a75-44f7-bb43-10e9ddd98fba 3e7be2d4499141fa928fc17473f1a577 ebce5bd3b8de43838f1cbf1d2551497b - - -] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method register_vim called with arguments () {'vim_obj': {'status': 'PENDING', u'vim_project': {u'name': u'admin', u'project_domain_name': u'Default'}, 'tenant_id': u'ebce5bd3b8de43838f1cbf1d2551497b', u'name': u'default_VIM', u'is_default': False, u'auth_url': u'http://10.250.191.65:5000', u'auth_cred': {u'username': u'admin', u'user_domain_name': u'Default', u'password': u'***'}, u'type': u'openstack', 'id': '91be084e-52ba-4fbf-acd9-4967cac66e59', u'description': u''}, 'context': <tacker.context.Context object at 0x525be90>} wrapper /usr/lib/python2.7/site-packages/tacker/common/log.py:34
2017-08-22 23:52:14.968 119242 DEBUG keystoneclient.session [req-66050313-9a75-44f7-bb43-10e9ddd98fba 3e7be2d4499141fa928fc17473f1a577 ebce5bd3b8de43838f1cbf1d2551497b - - -] REQ: curl -g -i -X GET http ...
(more)
edit retag flag offensive close merge delete

Comments

Please, check mistral-executor and mistral-engine for more logs. BTW, mistral is only required in master(pike) in ocata shoulnd't have that code. Something is wrong in your env.

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-08-23 05:39:06 -0500 )edit
1

Common errors I found are:

  • Mistral host does not have tacker installed (missing vim_ping_action action)
  • Mistral does not have coordination backend (multinode only i think)
  • Bad auth parameters in tacker vim
Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-08-23 05:43:40 -0500 )edit

Thanks Eduardo, I did not start executor, after starting it, I saw ping_action, it changed to REACHABLE but wait for a while, it was time out. You can see the log: https://hastebin.com/vorurabela.sql

anhtrung87 gravatar imageanhtrung87 ( 2017-08-24 11:15:19 -0500 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2017-08-25 02:44:10 -0500

anhtrung87 gravatar image

Because I installed tacker by master branch, so it failed. I re-installed with branch stable/ocata. It worked well.

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: 2017-08-22 23:02:02 -0500

Seen: 487 times

Last updated: Aug 25 '17