heat-keystone-setup shall quit, when fail to get tenant_id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Undecided
|
DennyZhang |
Bug Description
When run heat-keystone-setup to enable heat, I encounter below problem.
,-----------
| [root@control ~(keystone_admin)]# /usr/bin/
| /usr/bin/
| 'NoneType' object has no attribute 'has_service_
| Using the OS_PASSWORD for the SERVICE_PASSWORD.
| ADMIN_ROLE 95d3ef28a0d7488
| SERVICE_TENANT
| SERVICE_PASSWORD 9d278a0b5fcc4f4e
| SERVICE_TOKEN 672d35ceb6c1452
| SERVICE_HOST 192.168.209.131
| ...
`-----------
After some trouble shooting, the problem is caused by the failure of
"keystone token-get".
,-----------
| [root@control ~(keystone_admin)]# keystone token-get
| keystone token-get
| WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
| 'NoneType' object has no attribute 'has_service_
`-----------
This means keystone_setup function in heat-keystone-setup fail to get the tenant_id.
But the script keep going, with this serious problem.
Before making the problem more complex, we'd better quit the script for this severes problem.
Changed in heat: | |
milestone: | none → icehouse-2 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | icehouse-2 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/61905
Review: https:/