Ask Your Question

SangeethKumar's profile - activity

2017-03-02 01:47:02 -0600 received badge  Editor (source)
2017-03-02 01:42:56 -0600 answered a question ERROR: Error parsing template: while parsing Heat Template

It seems like Bad indentation error. Can you paste the input section of your YAML alone here ?

Usually YAML expects two spaces between each new blocks

2017-03-02 01:38:57 -0600 answered a question How to reach Openstack API endpoint from Openstack's VM

Please check with port 5000 is open to access the machine. Try with another instance running in same network with private IP, If it works fine, probably issue with your firewall settings.

2016-06-30 23:38:39 -0600 commented answer Where is the image/snapshot stored?

Thanks a lot

2016-06-30 02:11:48 -0600 received badge  Enthusiast
2016-06-29 00:23:22 -0600 answered a question Where is the image/snapshot stored?


  1. While creating the snapshot , it will access /var/lib/nova/instances/snapshots. It will create temporary file while doing snapshots

  2. After that snapshot file will be stored as glance image i.e it will be stored in path used by glance image service. /var/lib/glance/images

You can get more information from nova-compute.log while snapshot process

2015-09-25 01:23:59 -0600 commented answer How can i trace an error for software configuration and deployment in openstack heat template execution

Thank you Steve baker....

Could you please share how to apply software config in already launched Virtual machine. (Machine contains all agents for software config)

2015-09-24 16:05:59 -0600 received badge  Famous Question (source)
2015-08-14 06:32:42 -0600 received badge  Student (source)
2015-08-06 01:14:21 -0600 received badge  Notable Question (source)
2015-08-06 01:14:21 -0600 received badge  Popular Question (source)
2015-07-28 10:04:29 -0600 asked a question How can i trace an error for software configuration and deployment in openstack heat template execution

Hi all, I have executed a Heat template in with VM provisioning and software configuration and deployment. The templates that i get it from ( And i have executed template for software configuration group "script" . It works fine and completed successfully. Command used to execute template with software configuration and deployment :

           heat --debug --os-no-client-auth --os-username admin --os-password openstack --heat-url http://localhost:8004/v1/98073903698740af87fb57ca9e41eed5  --os-auth-url stack-create mystack -f example-templates/example-config-pristine-image.yaml -e boot-config/fedora_pip_env.yaml

It creates software configuration and deployment successfully Template file : (

Environment file : (

In this environment file they mapped "Heat::InstallConfigAgent": templates/install_config_agent_fedora_pip.yaml Please look at this ( file . This contains boot config agents and hooks configuration. For group script its working fine. Because in templates/install_config_agent_fedora_pip.yaml they mapped heat-config-script and hook script for "script" group.

Issue : But for executing software configuration for puppet group. I need to know what are the configurations need to be change in environment file. It results in CREATE FAILED due to time out.

For software configuration (group : puppet) , i made some changes before executing template as follows,

Execution command :

                heat --debug --os-no-client-auth --os-username admin --os-password openstack --heat-url http://localhost:8004/v1/98073903698740af87fb57ca9e41eed5  --os-auth-url stack-create nnnnn -f example-templates/example-puppet-template_bak.yaml -e boot-config/fedora_pip_env.yaml

In example-puppet-template_bak.yaml ( ( , I have added boot config resource and mapped to server shown here:

                       type: Heat::InstallConfigAgent**
                       type: OS::Nova::Server
                           image: {get_param: image}
                           flavor: {get_param: flavor}
                           key_name: {get_param: key_name}
                                  - network: {get_param: private_net}
                                  - {get_resource: the_sg}
                          **user_data_format: SOFTWARE_CONFIG
                          user_data: {get_attr: [boot_config, config]}**

And i made changes in (, Replaced the $hook_script at line 25 with

Error Message:

                                    stack_status          | CREATE_FAILED
                                    stack_status_reason   | Create timed out

Debugging Steps:

         -->  [root@nnnnn-server-cmrdykc5fib2 etc]# ll /var/run/heat-config
             total 8
             drwx------. 2 root root  120 Jul 28 12:22 deployed
             -rw-r--r--. 1 root root 4298 Jul 28 12:51 heat-config
             drwx------. 2 root root   40 Jul 28 09:45 heat-config-puppet

       --> [root@nnnnn-server-cmrdykc5fib2 etc]#  cat /etc/os-collect-config.conf
             command = os-refresh-config

             metadata_url =
             stack_name = nnnnn
             secret_access_key = b07c579cfbe34e1a89d0fee0c2240ca4
             access_key_id = 704daf1078324dde92cd168b06459594
             path = server.Metadata

      -->  [root@nnnnn-server-cmrdykc5fib2 os-collect-config]# cat heat_local.json
               "deployments": [], 
               "os-collect-config": {
               "cfn": {
                    "stack_name": "nnnnn", 
                    "metadata_url": "", 
                    "access_key_id": "704daf1078324dde92cd168b06459594", 
                    "secret_access_key": "b07c579cfbe34e1a89d0fee0c2240ca4", 
                    "path": "server.Metadata"

Shows some Warnings :

           --> [root@nnnnn-server-cmrdykc5fib2 heat-config-puppet]# os-collect-config --one-time
              2015-07-28 13:06:23.367 12772 WARNING os_collect_config.heat [-] No auth_url configured.
              2015-07-28 ...