[Openstack-operators] [Mitaka - Heat] HTTPInternalServerError: ERROR: Remote error: BadRequest Expecting to find domain in user

Saverio Proto zioproto at gmail.com
Tue May 2 20:06:45 UTC 2017


Edgar,

as admin, and using V3, do the following command:

openstack user show heat

in the field domain_id do you see default or Default with capital D ?

in the heat config you pasted you have capital D, is that correct ?

ciao,

Saverio



2017-05-02 21:47 GMT+02:00 Edgar Magana <edgar.magana at workday.com>:
> Hi,
>
> Yes, all that is in place. This is why #openstack stack list works.
> The openstack client is:
>
> # yum list installed |grep client
> python-openstackclient.noarch              3.2.0-2.el7              @3rdParty7
> python2-heatclient.noarch                  1.5.0-1.el7              @3rdParty7
>
> Edgar
>
> On 5/2/17, 12:39 PM, "Saverio Proto" <zioproto at gmail.com> wrote:
>
>     Hello Edgar,
>
>     what is the version of the openstack client ?
>
>     did you export this?
>
>     export OS_IDENTITY_API_VERSION=3
>
>     also the auth URL should have the v3, like;
>
>     export OS_AUTH_URL=https://urldefense.proofpoint.com/v2/url?u=https-3A__hostname-3A5000_v3&d=DwIBaQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=G0XRJfDQsuBvqa_wpWyDAUlSpeMV4W1qfWqBfctlWwQ&m=bwlIMYJQM6k26RrwtU0-iHi3-63kP3vUZLLHvFNSWZ0&s=aS1zOIR-pRfqhzkrTpilZrUBGwKku7fn_O5OjaYOV3g&e=
>
>     check the client configuration and give us feedback,
>
>     ciao,
>
>     Saverio
>
>     2017-05-02 21:15 GMT+02:00 Edgar Magana <edgar.magana at workday.com>:
>     > Hello Ops,
>     >
>     >
>     >
>     > In our Mitaka Deployment with SSL and Keystone v3, we are having the below
>     > errors while trying to create a stack but they do not show while listing
>     > them:
>     >
>     >
>     >
>     > # openstack stack list
>     >
>     > WARNING: openstackclient.common.utils is deprecated and will be removed
>     > after Jun 2017. Please use osc_lib.utils
>     >
>     >
>     >
>     > [root at wpc-controller ~]# openstack stack create --template instance-hot.yaml
>     > hot-instance
>     >
>     > ERROR: Remote error: BadRequest Expecting to find domain in user - the
>     > server could not comply with the request since it is either malformed or
>     > otherwise incorrect. The client is assumed to be in error. (HTTP 400)
>     > (Request-ID: req-e281f8bd-c7cd-486f-87be-dd6401b25cd3)
>     >
>     > [u'
>     >
>     >
>     >
>     > Our Heat Conf:
>     >
>     > [DEFAULT]
>     >
>     > log_dir = /var/log/heat
>     >
>     > heat_metadata_server_url =
>     > https://urldefense.proofpoint.com/v2/url?u=https-3A__wpc-2Dcontroller.cedev1.d002.eng.pdx.wd-3A8000&d=DwIBaQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=G0XRJfDQsuBvqa_wpWyDAUlSpeMV4W1qfWqBfctlWwQ&m=bwlIMYJQM6k26RrwtU0-iHi3-63kP3vUZLLHvFNSWZ0&s=JENHqqh-HFBKqgqYOoBuhULMNKV1XIV3lrsM2GKWfio&e=
>     >
>     > heat_waitcondition_server_url =
>     > https://urldefense.proofpoint.com/v2/url?u=https-3A__wpc-2Dcontroller.cedev1.d002.eng.pdx.wd-3A8000_v1_waitcondition&d=DwIBaQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=G0XRJfDQsuBvqa_wpWyDAUlSpeMV4W1qfWqBfctlWwQ&m=bwlIMYJQM6k26RrwtU0-iHi3-63kP3vUZLLHvFNSWZ0&s=3ja1hV81lm9YdBA3c9asFSLij9cYr9toU8oZ4giTHAQ&e=
>     >
>     > heat_watch_server_url = https://urldefense.proofpoint.com/v2/url?u=https-3A__wpc-2Dcontroller.cedev1.d002.eng.pdx.wd-3A8003&d=DwIBaQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=G0XRJfDQsuBvqa_wpWyDAUlSpeMV4W1qfWqBfctlWwQ&m=bwlIMYJQM6k26RrwtU0-iHi3-63kP3vUZLLHvFNSWZ0&s=X_TRvJLmYhjJXyOPwbfGan5uYINzsBwkyc6VfmIlZNE&e=
>     >
>     > region_name_for_services = RegionOne
>     >
>     > num_engine_workers = 5
>     >
>     > auth_encryption_key = orchestration_auth_encryption_32
>     >
>     >
>     >
>     > # Domain
>     >
>     > stack_domain_admin_password = redacted
>     >
>     > stack_domain_admin = heat_domain_admin
>     >
>     > stack_user_domain = d41933e4c1314a9e8f589db66cc9f844
>     >
>     > deferred_auth_method=trusts
>     >
>     >
>     >
>     >
>     >
>     > [oslo_messaging_notifications]
>     >
>     > driver = heat.openstack.common.notifier.rpc_notifier
>     >
>     >
>     >
>     > [keystone_authtoken]
>     >
>     > auth_type = v3password
>     >
>     > username = heat
>     >
>     > project_name = service
>     >
>     > project_domain_name = Default
>     >
>     > user_domain_name = Default
>     >
>     > auth_url = https://urldefense.proofpoint.com/v2/url?u=https-3A__wpc-2Dcontroller.cedev1.d002.eng.pdx.wd-3A5000_v3&d=DwIBaQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=G0XRJfDQsuBvqa_wpWyDAUlSpeMV4W1qfWqBfctlWwQ&m=bwlIMYJQM6k26RrwtU0-iHi3-63kP3vUZLLHvFNSWZ0&s=EDuJAtFHgXbovHF0QpJ_KEezY55ZJOejBB-SEryLmx0&e=
>     >
>     > password = REDACTED
>     >
>     >
>     >
>     > [trustee]
>     >
>     > auth_plugin = v3password
>     >
>     > username = heat
>     >
>     > auth_url = https://urldefense.proofpoint.com/v2/url?u=https-3A__wpc-2Dcontroller.cedev1.d002.eng.pdx.wd-3A35357_v3&d=DwIBaQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=G0XRJfDQsuBvqa_wpWyDAUlSpeMV4W1qfWqBfctlWwQ&m=bwlIMYJQM6k26RrwtU0-iHi3-63kP3vUZLLHvFNSWZ0&s=zHxyJNBgBbBhaoFqVs4JYjLRLPlJ3WIhArdyMeYP5yg&e=
>     >
>     > password = REDACTED
>     >
>     >
>     >
>     > [oslo_messaging_rabbit]
>     >
>     > rabbit_userid = admin
>     >
>     > rabbit_password = REDACTED
>     >
>     > [clients_keystone]
>     >
>     > auth_uri = https://urldefense.proofpoint.com/v2/url?u=https-3A__wpc-2Dcontroller.cedev1.d002.eng.pdx.wd-3A5000_&d=DwIBaQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=G0XRJfDQsuBvqa_wpWyDAUlSpeMV4W1qfWqBfctlWwQ&m=bwlIMYJQM6k26RrwtU0-iHi3-63kP3vUZLLHvFNSWZ0&s=TNlOxoo5HP3md1G8oUuc6f3Z-dzi38x49DxP_On4L5Y&e=
>     >
>     > [ec2authtoken]
>     >
>     > auth_uri = https://urldefense.proofpoint.com/v2/url?u=https-3A__wpc-2Dcontroller.cedev1.d002.eng.pdx.wd-3A5000_v3&d=DwIBaQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=G0XRJfDQsuBvqa_wpWyDAUlSpeMV4W1qfWqBfctlWwQ&m=bwlIMYJQM6k26RrwtU0-iHi3-63kP3vUZLLHvFNSWZ0&s=EDuJAtFHgXbovHF0QpJ_KEezY55ZJOejBB-SEryLmx0&e=
>     >
>     > [heat_api]
>     >
>     > bind_host = 0.0.0.0
>     >
>     > bind_port = 8004
>     >
>     > workers = 5
>     >
>     > cert_file = /etc/heat/ssl/certs/sslcert.pem
>     >
>     > key_file = /etc/heat/ssl/private/sslkey.pem
>     >
>     >
>     >
>     >
>     >
>     >
>     >
>     > Anyone has faced this problem? I tried any things and I got stuck!
>     >
>     >
>     >
>     > Edgar
>     >
>     >
>     > _______________________________________________
>     > OpenStack-operators mailing list
>     > OpenStack-operators at lists.openstack.org
>     > https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openstack.org_cgi-2Dbin_mailman_listinfo_openstack-2Doperators&d=DwIBaQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=G0XRJfDQsuBvqa_wpWyDAUlSpeMV4W1qfWqBfctlWwQ&m=bwlIMYJQM6k26RrwtU0-iHi3-63kP3vUZLLHvFNSWZ0&s=KKIeVOdLcTOmaj9z_FGL40OAjeRUOPX2Dzkbp15bvgM&e=
>     >
>
>



More information about the OpenStack-operators mailing list