roshin-adukkath's profile - activity

2020-07-06 06:50:28 -0600 received badge  Famous Question (source)
2020-07-06 06:50:28 -0600 received badge  Notable Question (source)
2017-01-26 09:39:26 -0600 received badge  Popular Question (source)
2017-01-20 08:49:16 -0600 received badge  Self-Learner (source)
2017-01-20 08:49:16 -0600 received badge  Teacher (source)
2017-01-18 10:06:13 -0600 answered a question get availability_zone/compute host details in heat

The issue is fixed by assigning the compute node like below.

availability_zone:
    list_join: [':', [ 'nova', {get_attr: [insatnce_1, show, 'OS-EXT-SRV-ATTR:host']}]]
2017-01-18 10:05:15 -0600 commented question get availability_zone/compute host details in heat

Thanks for your comment. The above code was not working. The issue is fixed by assigning the compute node like below. availability_zone: list_join: [':', [ 'nova', {get_attr: [insatnce_1, show, 'OS-EXT-SRV-ATTR:host']}]]

2017-01-17 06:18:55 -0600 asked a question get availability_zone/compute host details in heat

How do I get the availability_zone /compute host of an instance from another instance in heat template . Tried using get_attribute. But not working.

insatnce_1:    
    type: OS::Nova::Server
    properties:      
      name: inst_1     
insatnce_2:    
    type: OS::Nova::Server
    properties:      
    name:inst_2
      availability_zone: { get_attr: [insatnce_1, availability_zone ] }