Ask Your Question
0

Undefined stack_owner creating a stack using Orquestation APIRest V1

asked 2017-07-11 02:50:04 -0600

danisc23 gravatar image

Hi, I'm creating a stack using /v1/{tenant_id}/stacks in Kilo, but unlike when I use heatclient these stacks has no stack_owner.

heat stack-list --g

http://i.imgur.com/rtBBWuF.png (image description)

I'm unable to find what I'm missing in my request:

My data Post is like { "stack_name" : 'template_name', "template" : '[The entire template]', "environment" : [The entire environment] }

Headers are Content-type, and X-Auth-Token

Stack Create API: https://developer.openstack.org/api-ref/orchestration/v1/index.html?expanded=update-stack-detail,create-stack-detail#stacks (https://developer.openstack.org/api-r...)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-07-12 11:33:40 -0600

zaneb gravatar image

I'm not sure it matters, but it comes from the X-Auth-User header.

Other headers that heat-api will look at if available include:

  • X-Project-Name
  • X-Region-Name
  • X-Auth-Url
edit flag offensive delete link more

Comments

Nice! It worked just by adding X-Auth-User! Thanks a lot

danisc23 gravatar imagedanisc23 ( 2017-07-13 02:26:31 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-07-11 02:30:01 -0600

Seen: 22 times

Last updated: Jul 12