"mistral-db-manage populate" works too slowly

Bug #1713941 reported by Renat Akhmerov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mistral
Confirmed
High
Unassigned

Bug Description

If run "mistral-db-manage --config-file=... populate" then it will hang for a very long time.

The problem is in registering OpenStack actions. If we comment the method call on this line https://github.com/openstack/mistral/blob/master/mistral/services/action_manager.py#L128 then it finishes quickly but it creates only actions with "std." prefix

Changed in mistral:
importance: Undecided → Critical
milestone: none → queens-1
status: New → Confirmed
Changed in mistral:
milestone: queens-1 → none
Dougal Matthews (d0ugal)
Changed in mistral:
importance: Critical → High
Revision history for this message
Onap Sig (onapsig) wrote :
Download full text (7.1 KiB)

Installed All Basic Controller Services on a Single Machine then tried to install Mistral.

Getting this Error while executing.

mistral-db-manage --config-file /etc/mistral/mistral.conf populate

2020-07-23 13:48:02.495 27202 INFO mistral.db.sqlalchemy.migration.cli [-] Populating db
2020-07-23 13:48:02.557 27202 ERROR stevedore.extension [-] Could not load 'tacker.vim_ping_action': cannot import name 'base'
2020-07-23 13:48:03.057 27202 INFO mistral_extra.actions.openstack.action_generator.base [-] Processing OpenStack action mapping from file: /usr/local/lib/python3.6/dist-packages/mistral_extra/actions/openstack/mapping.json
2020-07-23 13:48:03.500 27202 INFO mistral_extra.actions.openstack.action_generator.base [-] Processing OpenStack action mapping from file: /usr/local/lib/python3.6/dist-packages/mistral_extra/actions/openstack/mapping.json
2020-07-23 13:48:03.640 27202 INFO mistral_extra.actions.openstack.action_generator.base [-] Processing OpenStack action mapping from file: /usr/local/lib/python3.6/dist-packages/mistral_extra/actions/openstack/mapping.json
2020-07-23 13:48:03.958 27202 INFO mistral_extra.actions.openstack.action_generator.base [-] Processing OpenStack action mapping from file: /usr/local/lib/python3.6/dist-packages/mistral_extra/actions/openstack/mapping.json
2020-07-23 13:48:04.052 27202 INFO mistral_extra.actions.openstack.action_generator.base [-] Processing OpenStack action mapping from file: /usr/local/lib/python3.6/dist-packages/mistral_extra/actions/openstack/mapping.json
2020-07-23 13:48:04.381 27202 INFO mistral_extra.actions.openstack.action_generator.base [-] Processing OpenStack action mapping from file: /usr/local/lib/python3.6/dist-packages/mistral_extra/actions/openstack/mapping.json
2020-07-23 13:48:04.686 27202 INFO mistral_extra.actions.openstack.action_generator.base [-] Processing OpenStack action mapping from file: /usr/local/lib/python3.6/dist-packages/mistral_extra/actions/openstack/mapping.json
2020-07-23 13:48:04.921 27202 INFO mistral_extra.actions.openstack.action_generator.base [-] Processing OpenStack action mapping from file: /usr/local/lib/python3.6/dist-packages/mistral_extra/actions/openstack/mapping.json
2020-07-23 13:48:05.033 27202 INFO mistral_extra.actions.openstack.action_generator.base [-] Processing OpenStack action mapping from file: /usr/local/lib/python3.6/dist-packages/mistral_extra/actions/openstack/mapping.json
2020-07-23 13:48:05.109 27202 INFO mistral_extra.actions.openstack.action_generator.base [-] Processing OpenStack action mapping from file: /usr/local/lib/python3.6/dist-packages/mistral_extra/actions/openstack/mapping.json
2020-07-23 13:48:05.132 27202 INFO mistral_extra.actions.openstack.action_generator.base [-] Processing OpenStack action mapping from file: /usr/local/lib/python3.6/dist-packages/mistral_extra/actions/openstack/mapping.json
2020-07-23 13:48:05.148 27202 INFO mistral_extra.actions.openstack.action_generator.base [-] Processing OpenStack action mapping from file: /usr/local/lib/python3.6/dist-packages/mistral_extra/actions/openstack/mapping.json
2020-07-23 13:48:05.157 27202 INFO mistral_extra.actions.openstack.action_generator.base [-] Pro...

Read more...

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.