2015-04-02 06:21:24 |
huangtianhua |
description |
1. create a stack with a nova server, the template as bellow:
*******************
resources:
hth_server:
type: OS::Nova::Server
properties:
image: {get_param: image}
networks: [{network: 27f21725-4f84-447b-8a93-581580e132dd}}]
flavor: 1
name: {get_param: name}
***************************
2. the stack in CREATE_COMPLETE, and the server in active, and has an ip in network(27f21725-4f84-447b-8a93-581580e132dd)
3. update the stack: update the server to another network(36182127-d01e-488a-97af-463f1b5ef4fe), and using 'uuid' instead of 'network'
*******************
resources:
hth_server:
type: OS::Nova::Server
properties:
image: {get_param: image}
networks: [{uuid: 36182127-d01e-488a-97af-463f1b5ef4fe}}]
flavor: 1
name: {get_param: name}
***************************
4. stack update successful, but the server has no ip |
1. create a stack with a nova server, the template as bellow:
*******************
resources:
hth_server:
type: OS::Nova::Server
properties:
image: {get_param: image}
networks: [{uuid: 27f21725-4f84-447b-8a93-581580e132dd}}]
flavor: 1
name: {get_param: name}
***************************
2. the stack in CREATE_COMPLETE, and the server in active, and has an ip in network(27f21725-4f84-447b-8a93-581580e132dd)
3. update the stack: update the server to another network(36182127-d01e-488a-97af-463f1b5ef4fe), and using 'uuid' instead of 'network'
*******************
resources:
hth_server:
type: OS::Nova::Server
properties:
image: {get_param: image}
networks: [{uuid: 36182127-d01e-488a-97af-463f1b5ef4fe}}]
flavor: 1
name: {get_param: name}
***************************
4. stack update successful, but the server has no ip |
|