[Openstack] [heat] Heat::SoftwareDeployment not working

Eugen Block eblock at nde.ag
Mon Jun 26 09:12:02 UTC 2017


Hi,

since heat is not really my strong suit I won't be able to help you  
there. Hopefully, someone else with more experience will help you.

Regards,
Eugen


Zitat von Amit Kumar <ebiibe82 at gmail.com>:

> Thanks Eugene and Ignazio for your replies.
>
> Please take note that Heat::SoftwareConfiguration is working perfectly at
> my end. Shell script provided with Software configuration works fine.
> Problem is occurring only when I am trying to use Heat::SoftwareDeployment
> instead of using SoftwareConfig directly. Only motive behind using
> SoftwareDeployment is to be able to pass input parameters to shell script.
>
> Adding more to the above, VM is accessible from external new using SSH.
> Flat NW is being used to put VM's eth0 on external NW. IP assigned is fixed
> using NW port. If Nw is provider Nw then does it make any difference for
> SoftwareConfig and SoftwareDeployment? curl -v http://169.254.169.254
> <http://169.254.169.254/latest> works fine.
>
> Regards,
> Amit
>
> On Jun 23, 2017 6:51 PM, "Eugen Block" <eblock at nde.ag> wrote:
>
> Hi,
>
> it seems like your VM fails to connect to the metadata server, so any
> configuration provided by user-data will have failed. Is the VM's network
> configured properly? Does it get its IP by DHCP? Is it a provider network
> or a self-service network?
> If it's a provider network (external router), you'll have to provide the
> user-data and network config by config-drive, this way you won't need a
> metadata-server. If it's a self-service network, is DHCP enabled? Check
> your ip config within your vm. If the ip config is as expected, try to
> execute "curl -v http://169.254.169.254/latest", does it timeout?
>
> Are dhcp-server and metadata-server up and running? What's the output of
> neutron agent-list
>
> If you launch an instance in the same network without heat, just with the
> user-data, does that work? If it does it's probably a heat issue. Have you
> checked the heat logs for any hints?
>
> Regards
> Eugen
>
>
> Zitat von Amit Kumar <ebiibe82 at gmail.com>:
>
> Hi All,
>>
>> I have installed OpenStack Mitaka using OpenStack-Ansible 13.3.13. Trying
>> to use Heat::SoftwareDeployment resource similar to as described in:
>> https://github.com/openstack/heat-templates/blob/master/hot/
>> software-config/example-templates/example-script-template.yaml
>> ;
>> but is not working as expected. SoftwareDeployment resource is always in
>> progress state once heat stack is created from command line.
>>
>> Here are the /var/log/cloud-init-output.log:
>> http://paste.openstack.org/show/613502/
>> /var/log/os-collect-config.log shows these logs:
>> http://paste.openstack.org/show/613503/. Can they cause any harm?
>> /var/run/heat-config/heat-config is showing the script and the input
>> parameters which I want to run on VM. Here are the logs:
>> http://paste.openstack.org/show/613504/ but in-spite of script and its
>> input being here, */var/lib/cloud/instances/i-0000003a/scripts/userdata*
>>
>> file is empty.
>> Here is the /var/lib/cloud/instances/i-0000003a/user-data.txt:
>> http://paste.openstack.org/show/613505/
>>
>> With the help of above logs, please see if you can point out if I am
>> missing anything here.
>>
>> Thanks.
>>
>> Regards,
>> Amit
>>
>
>
>
> --
> Eugen Block                             voice   : +49-40-559 51 75
> NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
> Postfach 61 03 15
> D-22423 Hamburg                         e-mail  : eblock at nde.ag
>
>         Vorsitzende des Aufsichtsrates: Angelika Mozdzen
>           Sitz und Registergericht: Hamburg, HRB 90934
>                   Vorstand: Jens-U. Mozdzen
>                    USt-IdNr. DE 814 013 983
>
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack



-- 
Eugen Block                             voice   : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
Postfach 61 03 15
D-22423 Hamburg                         e-mail  : eblock at nde.ag

         Vorsitzende des Aufsichtsrates: Angelika Mozdzen
           Sitz und Registergericht: Hamburg, HRB 90934
                   Vorstand: Jens-U. Mozdzen
                    USt-IdNr. DE 814 013 983




More information about the Openstack mailing list