Comment 19 for bug 1365368

Revision history for this message
Ed Balduf (ebalduf) wrote :

This seems to have reverted in 7.0

[root@fuel-ra ~]# fuel --fuel-version
DEPRECATION WARNING: /etc/fuel/client/config.yaml exists and will be used as the source for settings. This behavior is deprecated. Please specify the path to your custom settings file in the FUELCLIENT_CUSTOM_SETTINGS environment variable.
api: '1.0'
astute_sha: 6c5b73f93e24cc781c809db9159927655ced5012
auth_required: true
build_id: '301'
build_number: '301'
feature_groups:
- mirantis
fuel-agent_sha: 50e90af6e3d560e9085ff71d2950cfbcca91af67
fuel-library_sha: 5d50055aeca1dd0dc53b43825dc4c8f7780be9dd
fuel-nailgun-agent_sha: d7027952870a35db8dc52f185bb1158cdd3d1ebd
fuel-ostf_sha: 2cd967dccd66cfc3a0abd6af9f31e5b4d150a11c
fuelmain_sha: a65d453215edb0284a2e4761be7a156bb5627677
nailgun_sha: 4162b0c15adb425b37608c787944d1983f543aa8
openstack_version: 2015.1.0-7.0
production: docker
python-fuelclient_sha: 486bde57cda1badb68f915f66c61b544108606f3
release: '7.0'
release_versions:
  2015.1.0-7.0:
    VERSION:
      api: '1.0'
      astute_sha: 6c5b73f93e24cc781c809db9159927655ced5012
      build_id: '301'
      build_number: '301'
      feature_groups:
      - mirantis
      fuel-agent_sha: 50e90af6e3d560e9085ff71d2950cfbcca91af67
      fuel-library_sha: 5d50055aeca1dd0dc53b43825dc4c8f7780be9dd
      fuel-nailgun-agent_sha: d7027952870a35db8dc52f185bb1158cdd3d1ebd
      fuel-ostf_sha: 2cd967dccd66cfc3a0abd6af9f31e5b4d150a11c
      fuelmain_sha: a65d453215edb0284a2e4761be7a156bb5627677
      nailgun_sha: 4162b0c15adb425b37608c787944d1983f543aa8
      openstack_version: 2015.1.0-7.0
      production: docker
      python-fuelclient_sha: 486bde57cda1badb68f915f66c61b544108606f3
      release: '7.0'

[root@fuel-ra ~]# fuel --debug --env 6 network -d
DEPRECATION WARNING: /etc/fuel/client/config.yaml exists and will be used as the source for settings. This behavior is deprecated. Please specify the path to your custom settings file in the FUELCLIENT_CUSTOM_SETTINGS environment variable.
GET http://172.27.30.99:8000/api/v1/clusters/6/
GET http://172.27.30.99:8000/api/v1/clusters/6/network_configuration/neutron
Network configuration for environment with id=6 downloaded to /root/network_6.yaml
[root@fuel-ra ~]# cp network_6.yaml network_6.yaml.orig
[root@fuel-ra ~]# vi network_6.yaml
[root@fuel-ra ~]# diff network_6.yaml network_6.yaml.orig
96,97c96,97
< - - 172.27.25.180
< - 172.27.25.190
---
> - - 172.27.25.1
> - 172.27.25.254
[root@fuel-ra ~]# cp network_6.yaml network_6.yaml.mod
[root@fuel-ra ~]# fuel --debug --env 6 network -u
DEPRECATION WARNING: /etc/fuel/client/config.yaml exists and will be used as the source for settings. This behavior is deprecated. Please specify the path to your custom settings file in the FUELCLIENT_CUSTOM_SETTINGS environment variable.
GET http://172.27.30.99:8000/api/v1/clusters/6/
PUT http://172.27.30.99:8000/api/v1/clusters/6/network_configuration/neutron data={"vips": {"vrouter_pub": {"node_roles": ["controller", "primary-controller"], "ipaddr": "172.27.31.100", "namespace": "vrouter", "network_role": "public/vip"}, "management": {"node_roles": ["controller", "primary-controller"], "ipaddr": "172.27.34.2", "namespace": "haproxy", "network_role": "mgmt/vip"}, "public": {"node_roles": ["controller", "primary-controller"], "ipaddr": "172.27.31.101", "namespace": "haproxy", "network_role": "public/vip"}, "vrouter": {"node_roles": ["controller", "primary-controller"], "ipaddr": "172.27.34.1", "namespace": "vrouter", "network_role": "mgmt/vip"}}, "public_vrouter_vip": "172.27.31.100", "management_vrouter_vip": "172.27.34.1", "networking_parameters": {"configuration_template": null, "dns_nameservers": ["8.8.4.4", "8.8.8.8"], "floating_ranges": [["172.27.31.120", "172.27.31.149"]], "net_l23_provider": "ovs", "base_mac": "fa:16:3e:00:00:00", "internal_gateway": "192.168.111.1", "internal_cidr": "192.168.111.0/24", "gre_id_range": [2, 65535], "vlan_range": [1000, 1030], "segmentation_type": "tun"}, "management_vip": "172.27.34.2", "public_vip": "172.27.31.101", "networks": [{"name": "public", "ip_ranges": [["172.27.31.100", "172.27.31.119"]], "gateway": "172.27.31.254", "meta": {"vips": ["haproxy", "vrouter"], "name": "public", "notation": "ip_ranges", "render_type": null, "map_priority": 1, "configurable": true, "floating_range_var": "floating_ranges", "ip_range": ["172.16.0.2", "172.16.0.126"], "vlan_start": null, "render_addr_mask": "public", "cidr": "172.16.0.0/24", "use_gateway": true}, "vlan_start": 1001, "cidr": "172.27.31.0/24", "group_id": 6, "id": 22}, {"name": "management", "ip_ranges": [["172.27.34.1", "172.27.34.254"]], "gateway": null, "meta": {"vips": ["haproxy", "vrouter"], "name": "management", "notation": "cidr", "render_type": "cidr", "map_priority": 2, "configurable": true, "use_gateway": false, "vlan_start": 101, "render_addr_mask": "internal", "cidr": "192.168.0.0/24"}, "vlan_start": 1004, "cidr": "172.27.34.0/24", "group_id": 6, "id": 23}, {"name": "private", "ip_ranges": [["172.27.33.1", "172.27.33.254"]], "gateway": null, "meta": {"name": "private", "notation": "cidr", "render_type": "cidr", "map_priority": 2, "configurable": true, "use_gateway": false, "vlan_start": 103, "render_addr_mask": null, "cidr": "192.168.2.0/24", "seg_type": "tun"}, "vlan_start": 1003, "cidr": "172.27.33.0/24", "group_id": 6, "id": 25}, {"name": "storage", "ip_ranges": [["172.27.25.180", "172.27.25.190"]], "gateway": null, "meta": {"name": "storage", "notation": "cidr", "render_type": "cidr", "map_priority": 2, "configurable": true, "use_gateway": false, "vlan_start": 102, "render_addr_mask": "storage", "cidr": "192.168.1.0/24"}, "vlan_start": 25, "cidr": "172.27.25.0/24", "group_id": 6, "id": 24}, {"name": "fuelweb_admin", "ip_ranges": [["172.27.30.100", "172.27.30.110"]], "gateway": "172.27.30.254", "meta": {"unmovable": true, "use_gateway": true, "notation": "ip_ranges", "render_addr_mask": null, "render_type": null, "map_priority": 0, "configurable": false}, "vlan_start": null, "cidr": "172.27.30.0/24", "group_id": null, "id": 1}]}
Network configuration uploaded.
[root@fuel-ra ~]# fuel --debug --env 6 network -d
DEPRECATION WARNING: /etc/fuel/client/config.yaml exists and will be used as the source for settings. This behavior is deprecated. Please specify the path to your custom settings file in the FUELCLIENT_CUSTOM_SETTINGS environment variable.
GET http://172.27.30.99:8000/api/v1/clusters/6/
GET http://172.27.30.99:8000/api/v1/clusters/6/network_configuration/neutron
Network configuration for environment with id=6 downloaded to /root/network_6.yaml
[root@fuel-ra ~]# diff network_6.yaml network_6.yaml.mod
96,97c96,97
< - - 172.27.25.1
< - 172.27.25.254
---
> - - 172.27.25.180
> - 172.27.25.190
[root@fuel-ra ~]# diff network_6.yaml network_6.yaml.orig
[root@fuel-ra ~]#