Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Heat Stack Creation Failed

While creating stack it's showing Create Failed Authorization Failed.

The heat-engine log file look like this

2017-08-01 11:34:29.089 2943 INFO heat.engine.service [req-284b3ab6-7c68-4c3f-888b-d11745a57a75 - - - - -] Service bffa284a-66c7-4495-adc2-cefdba4e6a7d is updated

2017-08-01 11:34:31.801 2945 INFO heat.engine.service [req-7fc1a24f-7d4a-4d4c-9e85-87c73e157ca2 - Anand-162-77498 - - -] validate_template

2017-08-01 11:34:44.396 2944 INFO heat.engine.service [req-ab97ff8c-c57e-48e9-a8b6-b156d13e840f 162_Anand Anand-162-77498 - - -] Creating stack ISL

2017-08-01 11:34:44.409 2944 INFO heat.engine.resource [req-ab97ff8c-c57e-48e9-a8b6-b156d13e840f 162_Anand Anand-162-77498 - - -] Validating Server "server_0"

2017-08-01 11:34:45.052 2944 ERROR heat.common.keystoneclient [req-ab97ff8c-c57e-48e9-a8b6-b156d13e840f 162_Anand Anand-162-77498 - - -] Domain admin client authentication failed

2017-08-01 11:34:45.060 2944 INFO heat.engine.service [-] Stack create failed, status FAILED

2017-08-01 11:34:45.091 2944 INFO heat.engine.stack [-] Stack CREATE FAILED (ISL): Authorization failed.

2017-08-01 11:35:26.326 2942 INFO heat.engine.service [req-c1e5f6e1-faa5-4fac-9c63-f34f1c637717 - - - - -] Service 483131ec-d7dd-44af-bf28-86966faa4ab7 is updated

2017-08-01 11:35:27.751 2944 INFO heat.engine.service [req-1b90ec20-a85d-4f60-81f8-9843e37ef6f9 - - - - -] Service b0e85ba7-727d-403f-beac-b36dabb6bf2b is updated

Blockquote

Heat Stack Creation Failed

Hi i am trying to create a stack in openstack liberty heat version 5.0.3 but it's showing Authorization Failed when i am creating stack by uploading a valid template.

This is the template which i had used.

heat_template_version: 2015-10-15

parameters:

key_name:

type: string

default: SAN-KEY

description: oskeymitaka0420

flavor:

type: string

description: Instance type for the instance to be created

default: m1.small

constraints:

  - allowed_values: [m1.nano, m1.tiny, m1.small, m1.large]

    description: Value must be one of 'm1.tiny', 'm1.small' or 'm1.large'

image:

type: string

default: Cirros-0.3.4

description: ID or name of the image to use for the instance

private_net_id:

type: string

description: Private network id

private_subnet_id:

type: string

description: Private subnet id

public_net_id:

type: string

description: Public network id

resources:

instance1:

type: OS::Nova::Server

properties:

  name: instance1

  image: { get_param: image }

  flavor: { get_param: flavor }

  key_name: { get_param: key_name }

  networks:

    - port: { get_resource: instance1_port0 }

instance1_port0:

type: OS::Neutron::Port

properties:

  network_id: { get_param: private_net_id }

  security_groups:

    - default

  fixed_ips:

    - subnet_id: { get_param: private_subnet_id }

instance1_public:

type: OS::Neutron::FloatingIP

properties:

  floating_network_id: { get_param: public_net_id }

  port_id: { get_resource: instance1_port0 }

outputs:

instance1_private_ip:

description: IP address of instance1 in private network

value: { get_attr: [ instance1, first_address ] }

instance1_public_ip:

description: Floating IP address of instance1 in public network

value: { get_attr: [ instance1_public, floating_ip_address ] }

While creating stack it's showing Create Failed Authorization Failed.

The *This error is showing in heat-engine log file look like this*

2017-08-01 11:34:29.089 2943 INFO heat.engine.service [req-284b3ab6-7c68-4c3f-888b-d11745a57a75 - - - - -] Service bffa284a-66c7-4495-adc2-cefdba4e6a7d is updated

2017-08-01 11:34:31.801 2945 INFO heat.engine.service [req-7fc1a24f-7d4a-4d4c-9e85-87c73e157ca2 - Anand-162-77498 - - -] validate_template

2017-08-01 11:34:44.396 2944 INFO heat.engine.service [req-ab97ff8c-c57e-48e9-a8b6-b156d13e840f 162_Anand Anand-162-77498 - - -] Creating stack ISL

2017-08-01 11:34:44.409 2944 INFO heat.engine.resource [req-ab97ff8c-c57e-48e9-a8b6-b156d13e840f 162_Anand Anand-162-77498 - - -] Validating Server "server_0"

2017-08-01 11:34:45.052 2944 ERROR heat.common.keystoneclient [req-ab97ff8c-c57e-48e9-a8b6-b156d13e840f 162_Anand Anand-162-77498 - - -] Domain admin client authentication failed

2017-08-01 11:34:45.060 2944 INFO heat.engine.service [-] Stack create failed, status FAILED

2017-08-01 11:34:45.091 2944 INFO heat.engine.stack [-] Stack CREATE FAILED (ISL): Authorization failed.

2017-08-01 11:35:26.326 2942 INFO heat.engine.service [req-c1e5f6e1-faa5-4fac-9c63-f34f1c637717 - - - - -] Service 483131ec-d7dd-44af-bf28-86966faa4ab7 is updated

2017-08-01 11:35:27.751 2944 INFO heat.engine.service [req-1b90ec20-a85d-4f60-81f8-9843e37ef6f9 - - - - -] Service b0e85ba7-727d-403f-beac-b36dabb6bf2b is updated

Blockquote

Please help me to solve this issue.

Heat Stack Creation Failed

Hi i am trying to create a stack in openstack liberty heat version 5.0.3 but it's showing Authorization Failed when i am creating stack by uploading a valid template.

This is the template which i had used.

heat_template_version: 2015-10-15

parameters:

key_name:

2015-10-15
  parameters:
    key_name:
      type: string
  default: SAN-KEY
  description: oskeymitaka0420

flavor:

    flavor:
      type: string
  description: Instance type for the instance to be created
  default: m1.small
  constraints:
    - allowed_values: [m1.nano, m1.tiny, m1.small, m1.large]
      description: Value must be one of 'm1.tiny', 'm1.small' or 'm1.large'

image:

    image:
      type: string
  default: Cirros-0.3.4
  description: ID or name of the image to use for the instance

private_net_id:

    private_net_id:
      type: string
  description: Private network id

private_subnet_id:

    private_subnet_id:
      type: string
  description: Private subnet id

public_net_id:

    public_net_id:
      type: string
  description: Public network id

resources:

instance1:

  resources:
    instance1:
      type: OS::Nova::Server
  properties:
    name: instance1
    image: { get_param: image }
    flavor: { get_param: flavor }
    key_name: { get_param: key_name }
    networks:
      - port: { get_resource: instance1_port0 }

instance1_port0:

    instance1_port0:
      type: OS::Neutron::Port
  properties:
    network_id: { get_param: private_net_id }
    security_groups:
      - default
    fixed_ips:
      - subnet_id: { get_param: private_subnet_id }

instance1_public:

    instance1_public:
      type: OS::Neutron::FloatingIP
  properties:
    floating_network_id: { get_param: public_net_id }
    port_id: { get_resource: instance1_port0 }

outputs:

instance1_private_ip:

  outputs:
    instance1_private_ip:
      description: IP address of instance1 in private network
  value: { get_attr: [ instance1, first_address ] }

instance1_public_ip:

    instance1_public_ip:
      description: Floating IP address of instance1 in public network
  value: { get_attr: [ instance1_public, floating_ip_address ] }
}

While creating stack it's showing Create Failed Authorization Failed.

*This error is showing in heat-engine log file *

2017-08-01 11:34:29.089 2943 INFO heat.engine.service [req-284b3ab6-7c68-4c3f-888b-d11745a57a75 - - - - -] Service bffa284a-66c7-4495-adc2-cefdba4e6a7d is updated

2017-08-01 11:34:31.801 2945 INFO heat.engine.service [req-7fc1a24f-7d4a-4d4c-9e85-87c73e157ca2 - Anand-162-77498 - - -] validate_template

2017-08-01 11:34:44.396 2944 INFO heat.engine.service [req-ab97ff8c-c57e-48e9-a8b6-b156d13e840f 162_Anand Anand-162-77498 - - -] Creating stack ISL

2017-08-01 11:34:44.409 2944 INFO heat.engine.resource [req-ab97ff8c-c57e-48e9-a8b6-b156d13e840f 162_Anand Anand-162-77498 - - -] Validating Server "server_0"

2017-08-01 11:34:45.052 2944 ERROR heat.common.keystoneclient [req-ab97ff8c-c57e-48e9-a8b6-b156d13e840f 162_Anand Anand-162-77498 - - -] Domain admin client authentication failed

2017-08-01 11:34:45.060 2944 INFO heat.engine.service [-] Stack create failed, status FAILED

2017-08-01 11:34:45.091 2944 INFO heat.engine.stack [-] Stack CREATE FAILED (ISL): Authorization failed.

2017-08-01 11:35:26.326 2942 INFO heat.engine.service [req-c1e5f6e1-faa5-4fac-9c63-f34f1c637717 - - - - -] Service 483131ec-d7dd-44af-bf28-86966faa4ab7 is updated

2017-08-01 11:35:27.751 2944 INFO heat.engine.service [req-1b90ec20-a85d-4f60-81f8-9843e37ef6f9 - - - - -] Service b0e85ba7-727d-403f-beac-b36dabb6bf2b is updated

Blockquote

Please help me to solve this issue.

Heat Stack Creation Failed

Hi i am trying to create a stack in openstack liberty heat version 5.0.3 but it's showing Authorization Failed when i am creating stack by uploading a valid template.

This is the template which i had used.

heat_template_version: 2015-10-15 parameters: key_name: type: string default: SAN-KEY description: oskeymitaka0420 flavor: type: string description: Instance type for the instance to be created default: m1.small constraints: - allowed_values: [m1.nano, m1.tiny, m1.small, m1.large] description: Value must be one of 'm1.tiny', 'm1.small' or 'm1.large' image: type: string default: Cirros-0.3.4 description: ID or name of the image to use for the instance private_net_id: type: string description: Private network id private_subnet_id: type: string description: Private subnet id public_net_id: type: string description: Public network id resources: instance1: type: OS::Nova::Server properties: name: instance1 image: { get_param: image } flavor: { get_param: flavor } key_name: { get_param: key_name } networks: - port: { get_resource: instance1_port0 } instance1_port0: type: OS::Neutron::Port properties: network_id: { get_param: private_net_id } security_groups: - default fixed_ips: - subnet_id: { get_param: private_subnet_id } instance1_public: type: OS::Neutron::FloatingIP properties: floating_network_id: { get_param: public_net_id } port_id: { get_resource: instance1_port0 } outputs: instance1_private_ip: description: IP address of instance1 in private network value: { get_attr: [ instance1, first_address ] } instance1_public_ip: description: Floating IP address of instance1 in public network value: { get_attr: [ instance1_public, floating_ip_address ] }

While creating stack it's showing Create Failed Authorization Failed.

*This error is showing in heat-engine log file *

2017-08-01 11:34:29.089 2943 INFO heat.engine.service [req-284b3ab6-7c68-4c3f-888b-d11745a57a75 - - - - -] Service bffa284a-66c7-4495-adc2-cefdba4e6a7d is updated

2017-08-01 11:34:31.801 2945 INFO heat.engine.service [req-7fc1a24f-7d4a-4d4c-9e85-87c73e157ca2 - Anand-162-77498 - - -] validate_template

2017-08-01 11:34:44.396 2944 INFO heat.engine.service [req-ab97ff8c-c57e-48e9-a8b6-b156d13e840f 162_Anand Anand-162-77498 - - -] Creating stack ISL

2017-08-01 11:34:44.409 2944 INFO heat.engine.resource [req-ab97ff8c-c57e-48e9-a8b6-b156d13e840f 162_Anand Anand-162-77498 - - -] Validating Server "server_0"

2017-08-01 11:34:45.052 2944 ERROR heat.common.keystoneclient [req-ab97ff8c-c57e-48e9-a8b6-b156d13e840f 162_Anand Anand-162-77498 - - -] Domain admin client authentication failed

2017-08-01 11:34:45.060 2944 INFO heat.engine.service [-] Stack create failed, status FAILED

2017-08-01 11:34:45.091 2944 INFO heat.engine.stack [-] Stack CREATE FAILED (ISL): Authorization failed.

2017-08-01 11:35:26.326 2942 INFO heat.engine.service [req-c1e5f6e1-faa5-4fac-9c63-f34f1c637717 - - - - -] Service 483131ec-d7dd-44af-bf28-86966faa4ab7 is updated

2017-08-01 11:35:27.751 2944 INFO heat.engine.service [req-1b90ec20-a85d-4f60-81f8-9843e37ef6f9 - - - - -] Service b0e85ba7-727d-403f-beac-b36dabb6bf2b is updated

Blockquote

Please help me to solve this issue.

Heat Stack Creation Failed

Hi i am trying to create a stack in openstack liberty heat version 5.0.3 but it's showing Authorization Failed when i am creating stack by uploading a valid template.

This is the template which i had used.

heat_template_version: 2015-10-15
 parameters:
   key_name:
     type: string
     default: SAN-KEY
     description: oskeymitaka0420
   flavor:
     type: string
     description: Instance type for the instance to be created
     default: m1.small
     constraints:
       - allowed_values: [m1.nano, m1.tiny, m1.small, m1.large]
         description: Value must be one of 'm1.tiny', 'm1.small' or 'm1.large'
   image:
     type: string
     default: Cirros-0.3.4
     description: ID or name of the image to use for the instance
   private_net_id:
     type: string
     description: Private network id
   private_subnet_id:
     type: string
     description: Private subnet id
   public_net_id:
     type: string
     description: Public network id
 resources:
   instance1:
     type: OS::Nova::Server
     properties:
       name: instance1
       image: { get_param: image }
       flavor: { get_param: flavor }
       key_name: { get_param: key_name }
       networks:
         - port: { get_resource: instance1_port0 }
   instance1_port0:
     type: OS::Neutron::Port
     properties:
       network_id: { get_param: private_net_id }
       security_groups:
         - default
       fixed_ips:
         - subnet_id: { get_param: private_subnet_id }
   instance1_public:
     type: OS::Neutron::FloatingIP
     properties:
       floating_network_id: { get_param: public_net_id }
       port_id: { get_resource: instance1_port0 }
 outputs:
   instance1_private_ip:
     description: IP address of instance1 in private network
     value: { get_attr: [ instance1, first_address ] }
   instance1_public_ip:
     description: Floating IP address of instance1 in public network
     value: { get_attr: [ instance1_public, floating_ip_address ] }

}

While creating stack it's showing Create Failed Authorization Failed.

*This error is showing in heat-engine log file *

2017-08-01 11:34:29.089 2943 INFO heat.engine.service [req-284b3ab6-7c68-4c3f-888b-d11745a57a75 - - - - -] Service bffa284a-66c7-4495-adc2-cefdba4e6a7d is updated

updated 2017-08-01 11:34:31.801 2945 INFO heat.engine.service [req-7fc1a24f-7d4a-4d4c-9e85-87c73e157ca2 - Anand-162-77498 - - -] validate_template

validate_template 2017-08-01 11:34:44.396 2944 INFO heat.engine.service [req-ab97ff8c-c57e-48e9-a8b6-b156d13e840f 162_Anand Anand-162-77498 - - -] Creating stack ISL

ISL 2017-08-01 11:34:44.409 2944 INFO heat.engine.resource [req-ab97ff8c-c57e-48e9-a8b6-b156d13e840f 162_Anand Anand-162-77498 - - -] Validating Server "server_0"

"server_0" 2017-08-01 11:34:45.052 2944 ERROR heat.common.keystoneclient [req-ab97ff8c-c57e-48e9-a8b6-b156d13e840f 162_Anand Anand-162-77498 - - -] Domain admin client authentication failed

failed 2017-08-01 11:34:45.060 2944 INFO heat.engine.service [-] Stack create failed, status FAILED

FAILED 2017-08-01 11:34:45.091 2944 INFO heat.engine.stack [-] Stack CREATE FAILED (ISL): Authorization failed.

failed. 2017-08-01 11:35:26.326 2942 INFO heat.engine.service [req-c1e5f6e1-faa5-4fac-9c63-f34f1c637717 - - - - -] Service 483131ec-d7dd-44af-bf28-86966faa4ab7 is updated

updated 2017-08-01 11:35:27.751 2944 INFO heat.engine.service [req-1b90ec20-a85d-4f60-81f8-9843e37ef6f9 - - - - -] Service b0e85ba7-727d-403f-beac-b36dabb6bf2b is updated

updated

Please help me to solve this issue.