Authentication cannot be scoped to multiple targets during hook-clear

Bug #1731029 reported by Joe D'Andrea
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
New
Undecided
Unassigned

Bug Description

In heat-newton, when trying to clear a pre-create hook for a floating IP resource, the following error is returned: "ERROR: HEAT-E99001 Service neutron is not available for resource type OS::Neutron::Port, reason: Authentication cannot be scoped to multiple targets. Pick one of: project, domain, trust or unscoped."

The OS_* environment variables appear correct, e.g.:

OS_AUTH_URL=http://controller:35357/v3
OS_IDENTITY_API_VERSION=3
OS_INSECURE=1
OS_PASSWORD=password
OS_PROJECT_DOMAIN_ID=default
OS_PROJECT_NAME=my_project
OS_REGION_NAME=RegionOne
OS_TENANT_NAME=my_project
OS_USERNAME=username
OS_USER_DOMAIN_ID=default

Heat environment contains the following in order to set the hook:

resource_registry:
  resources:
    "*_floating_ip":
      hooks: pre-create

Meanwhile, polling shows:

Resource Name: my_floating_ip
ID: abd58e48-1b05-4f77-84be-77d9c8b5aa03
Resource Status Reason: CREATE paused until Hook pre-create is cleared
Resource Status: INIT_COMPLETE

Then, to clear the hook:

# openstack stack hook clear my_stack my_floating_ip --pre-create
ERROR: HEAT-E99001 Service neutron is not available for resource type OS::Neutron::Port, reason: Authentication cannot be scoped to multiple targets. Pick one of: project, domain, trust or unscoped

Using the UUID results in no visible ERROR message, and the hook still isn't cleared.

Possibly related: https://bugs.launchpad.net/heat/+bug/1526293

Joe D'Andrea (jdandrea)
description: updated
description: updated
summary: - Authentication cannot be scoped to multiple targets
+ Authentication cannot be scoped to multiple targets during hook-clear
Rico Lin (rico-lin)
Changed in heat:
milestone: none → no-priority-tag-bugs
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.