When we deloy an environment which contains some applications, In Murano how to call the Iaas layer?

Asked by xiangxinyong

When we deloy an environment which contains some applications,

In Murano how to call the Iaas layer?

For example,

will Murano call interface to create a VM, and then push the applications to VM?

or will Murano package the image mirror and the applications,

and then create a VM which includes the applications all at once?

Question information

Language:
English Edit question
Status:
Solved
For:
Murano Edit question
Assignee:
No assignee Edit question
Solved by:
Ekaterina Chernova
Solved:
Last query:
Last reply:
Revision history for this message
Ekaterina Chernova (efedorova) said :
#1

Hi!

Murano doesn't spawn vm's by itself.

Murano generates new heat stack on each 'deploy environment' action. And heat stack passed to heat to deploy stack with all required parameters.

Revision history for this message
xiangxinyong (xiangxinyong) said :
#2

Thanks Ekaterina Chernova, May i ask another question?

Does that mean that murano call the interface of heat, and then heat call the interface of nova?

I want to know about that how are the applications of murano environment delpoyed into vm?

Will nova create a vm firstly?

or will nova create a vm which includes the applications all at once?

Thanks.

Revision history for this message
Best Ekaterina Chernova (efedorova) said :
#3

heat interacts with nova, murano prepares valid heat stack with all images user is provided.

After vm is spawned, murano-agent accepts execution plans and scrips - all necessary information to deploy an application.

Core murano classes just interacts with neutron to set up provided network configuration, requested by a user.
And then this information is included in heat template.

Revision history for this message
xiangxinyong (xiangxinyong) said :
#4

@Ekaterina Chernova

It means that at first murano will call the interface of heat to create vm,

and then murano-agent will deploy the applications to this created vm?

Revision history for this message
Ekaterina Chernova (efedorova) said :
#5

yes, you understood it right.

Revision history for this message
xiangxinyong (xiangxinyong) said :
#6

Thanks Ekaterina Chernova, that solved my question.