Unable to change nodes' yaml configuration through CLI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Dima Shulyak | ||
5.0.x |
Fix Committed
|
High
|
Dima Shulyak |
Bug Description
Using the fuel CLI or curl directly we are unable to upload interface configuration. Even though the config uploaded is the same as the config downloaded it complains that the interface is missing a type. Type is clearly set as you can see below.
[root@fuel ~]# curl -X PUT http://
Node '1': each interface must have a type
[root@fuel ~]# fuel --debug --env 4 node --node-id 1 --network --download
GET http://
Node attributes for interfaces were written to:
/root/node_
[root@fuel ~]# cat node_1/
- assigned_networks:
- id: 1
name: fuelweb_admin
- id: 14
name: management
current_speed: 20000
id: 2
mac: 00:25:b5:61:0d:9f
max_speed: 10000
name: eth0
state: up
type: ether
- assigned_networks:
- id: 13
name: public
- id: 15
name: storage
- id: 16
name: private
current_speed: 20000
id: 1
mac: 00:25:b5:61:0d:8f
max_speed: 10000
name: eth1
state: up
type: ether
[root@fuel ~]# fuel --debug --env 4 node --node-id 1 --network --upload
PUT http://
HTTP Error 400: Bad Request (Node '1': each interface must have a type)
[root@fuel ~]#
Anton, thanks for issue post. For more clarification, please provide iso version.