sahara-engine failed to create trust

Bug #1687635 reported by Junbo Jiang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Junbo Jiang
Ocata
Fix Released
Undecided
Unassigned

Bug Description

error information

2017-05-02 22:19:22.234 5 DEBUG keystoneauth.session [req-82b73835-6af7-4426-982f-af4b24aa5158 efef7436676347168cbf6137a6e4737c 56ae0154d095465997e8ebe029444740 - - -] [instance: none, cluster: 805b0dde-4c76-4577-b39e-18837e776398] Request returned failure status: 400 request /var/lib/kolla/venv/lib/python2.7/site-packages/keystoneauth1/session.py:654
2017-05-02 22:19:22.235 5 ERROR sahara.service.trusts [req-82b73835-6af7-4426-982f-af4b24aa5158 efef7436676347168cbf6137a6e4737c 56ae0154d095465997e8ebe029444740 - - -] [instance: none, cluster: 805b0dde-4c76-4577-b39e-18837e776398] Unable to create trust (reason: Invalid input for field 'identity/password/user/password': None is not of type 'string' (HTTP 400) (Request-ID: req-95a611f9-b04d-4b2c-83ca-6e7ebb895a42))
2017-05-02 22:19:22.288 5 ERROR sahara.service.ops [req-82b73835-6af7-4426-982f-af4b24aa5158 efef7436676347168cbf6137a6e4737c 56ae0154d095465997e8ebe029444740 - - -] [instance: none, cluster: 805b0dde-4c76-4577-b39e-18837e776398] Error during rollback of cluster (reason: Failed to create trust
Error ID: 97a8bb12-060e-4bce-b971-da7b9ec83213)
2017-05-02 22:19:22.288 5 ERROR sahara.service.ops [instance: none, cluster: 805b0dde-4c76-4577-b39e-18837e776398] Traceback (most recent call last):
2017-05-02 22:19:22.288 5 ERROR sahara.service.ops [instance: none, cluster: 805b0dde-4c76-4577-b39e-18837e776398] File "/var/lib/kolla/venv/lib/python2.7/site-packages/sahara/service/ops.py", line 211, in wrapper
2017-05-02 22:19:22.288 5 ERROR sahara.service.ops [instance: none, cluster: 805b0dde-4c76-4577-b39e-18837e776398] if _rollback_cluster(cluster, ex):
2017-05-02 22:19:22.288 5 ERROR sahara.service.ops [instance: none, cluster: 805b0dde-4c76-4577-b39e-18837e776398] File "/var/lib/kolla/venv/lib/python2.7/site-packages/sahara/service/ops.py", line 239, in _rollback_cluster
2017-05-02 22:19:22.288 5 ERROR sahara.service.ops [instance: none, cluster: 805b0dde-4c76-4577-b39e-18837e776398] _setup_trust_for_cluster(cluster)
2017-05-02 22:19:22.288 5 ERROR sahara.service.ops [instance: none, cluster: 805b0dde-4c76-4577-b39e-18837e776398] File "/var/lib/kolla/venv/lib/python2.7/site-packages/sahara/service/ops.py", line 181, in _setup_trust_for_cluster
2017-05-02 22:19:22.288 5 ERROR sahara.service.ops [instance: none, cluster: 805b0dde-4c76-4577-b39e-18837e776398] trusts.create_trust_for_cluster(cluster)
2017-05-02 22:19:22.288 5 ERROR sahara.service.ops [instance: none, cluster: 805b0dde-4c76-4577-b39e-18837e776398] File "/var/lib/kolla/venv/lib/python2.7/site-packages/sahara/service/trusts.py", line 97, in create_trust_for_cluster
2017-05-02 22:19:22.288 5 ERROR sahara.service.ops [instance: none, cluster: 805b0dde-4c76-4577-b39e-18837e776398] allow_redelegation=True)
2017-05-02 22:19:22.288 5 ERROR sahara.service.ops [instance: none, cluster: 805b0dde-4c76-4577-b39e-18837e776398] File "/var/lib/kolla/venv/lib/python2.7/site-packages/sahara/service/trusts.py", line 75, in create_trust
2017-05-02 22:19:22.288 5 ERROR sahara.service.ops [instance: none, cluster: 805b0dde-4c76-4577-b39e-18837e776398] raise ex.CreationFailed(_('Failed to create trust'))
2017-05-02 22:19:22.288 5 ERROR sahara.service.ops [instance: none, cluster: 805b0dde-4c76-4577-b39e-18837e776398] CreationFailed: Failed to create trust
2017-05-02 22:19:22.288 5 ERROR sahara.service.ops [instance: none, cluster: 805b0dde-4c76-4577-b39e-18837e776398] Error ID: 97a8bb12-060e-4bce-b971-da7b9ec83213
2017-05-02 22:19:22.288 5 ERROR sahara.service.ops [instance: none, cluster: 805b0dde-4c76-4577-b39e-18837e776398]
2017-05-02 22:19:22.749 5 INFO sahara.utils.cluster [req-82b73835-6af7-4426-982f-af4b24aa5158 efef7436676347168cbf6137a6e4737c 56ae0154d095465997e8ebe029444740 - - -] [instance: none, cluster: 805b0dde-4c76-4577-b39e-18837e776398] Cluster status has been changed. New status=Error
2017-05-02 22:19:22.750 5 DEBUG sahara.utils.notification.sender [req-82b73835-6af7-4426-982f-af4b24aa5158 efef7436676347168cbf6137a6e4737c 56ae0154d095465997e8ebe029444740 - - -] [instance: none, cluster: 805b0dde-4c76-4577-b39e-18837e776398] Notification about cluster is going to be sent. Notification type=sahara.cluster.update _notify /var/lib/kolla/venv/lib/python2.7/site-packages/sahara/utils/notification/sender.py:54
2017-05-02 22:19:32.985 19 WARNING oslo_messaging.server [-] Possible hang: wait is waiting for stop to complete

Junbo Jiang (junbo)
Changed in kolla-ansible:
status: New → In Progress
assignee: nobody → junbo (junbo)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.openstack.org/461814

Changed in kolla-ansible:
milestone: none → pike-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/461814
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=0bb72638db641a150ed0000ae2d3d614a674e802
Submitter: Jenkins
Branch: master

commit 0bb72638db641a150ed0000ae2d3d614a674e802
Author: junbo <jiang.junbo@99cloud.net>
Date: Tue May 2 22:36:26 2017 +0800

    Fix saraha-engine authencation issue

    Change-Id: Ieb6ad24bf76efaafa0f8e7391ad671ce094a8ece
    Closes-Bug: #1687635

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/ocata)

Reviewed: https://review.openstack.org/462411
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=8b3e06fb55bf7b098764e2d54e95b28aaf77b425
Submitter: Jenkins
Branch: stable/ocata

commit 8b3e06fb55bf7b098764e2d54e95b28aaf77b425
Author: junbo <jiang.junbo@99cloud.net>
Date: Tue May 2 22:36:26 2017 +0800

    Fix saraha-engine authencation issue

    Change-Id: Ieb6ad24bf76efaafa0f8e7391ad671ce094a8ece
    Closes-Bug: #1687635
    (cherry picked from commit 0bb72638db641a150ed0000ae2d3d614a674e802)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 5.0.0.0b2

This issue was fixed in the openstack/kolla-ansible 5.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 4.0.2

This issue was fixed in the openstack/kolla-ansible 4.0.2 release.

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.