improve the heat-cfn error when "without credentials"
Bug #1154759 reported by
Steven Dake
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Low
|
Steven Hardy |
Bug Description
running heat-cfn without loaded credentials locks up and never completes.
Changed in heat: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → grizzly-rc1 |
Changed in heat: | |
assignee: | nobody → Angus Salkeld (asalkeld) |
summary: |
- heat-cfn without credentials locks up + improve the heat-cfn error when "without credentials" |
Changed in heat: | |
importance: | High → Low |
Changed in heat: | |
status: | Incomplete → Confirmed |
Changed in heat: | |
assignee: | Angus Salkeld (asalkeld) → Steven Hardy (shardy) |
milestone: | none → havana-1 |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | havana-1 → 2013.2 |
To post a comment you must log in.
with openrc sourced: ------- ------- --
-------
heat list
heat-cfn list onse> sult> ries/> esult> ponse>
<ListStacksResp
<ListStacksRe
<StackSumma
</ListStacksR
</ListStacksRes
then unsetting the creds ------- ------- ------- -
-------
unset OS_PASSWORD
unset OS_AUTH_URL
unset OS_USERNAME
unset OS_TENANT_NAME
unset OS_CACERT
heat list
You must provide a username via either --os-username or env[OS_USERNAME]
heat-cfn list
ERROR:Failed to list. Got error:
ERROR:[Errno -2] Name or service not known
This is a little slower (1.2 sec), but I wouldn't call it a lockup.