Network yaml downloaded for environment with nodegroups is missing gateways for all networks associated with non-default nodegroups. Missing gateway is not detected prior to deployment causing the deployment to fail cause static routes from new networks are not set on hosts deployed in non-default nodegroups.
VERSION:
feature_groups:
- mirantis
- experimental
production: "docker"
release: "6.1"
openstack_version: "2014.2.2-6.1"
api: "1.0"
build_number: "521"
build_id: "2015-06-08_06-13-27"
nailgun_sha: "4340d55c19029394cd5610b0e0f56d6cb8cb661b"
python-fuelclient_sha: "4fc55db0265bbf39c369df398b9dc7d6469ba13b"
astute_sha: "7766818f079881e2dbeedb34e1f67e517ed7d479"
fuel-library_sha: "f43c2ae1af3b493ee0e7810eab7bb7b50c986c7d"
fuel-ostf_sha: "7c938648a246e0311d05e2372ff43ef1eb2e2761"
fuelmain_sha: "bcc909ffc5dd5156ba54cae348b6a07c1b607b24"
Steps to reproduce:
1) create new environment with neutron+gre
fuel env create --name nodegroup-test --release 2 --nst gre
2) create new node group in this environment
fuel --env 1 nodegroup --create --name "tor1"
3) download network yaml
fuel --env 1 network --download
Expected behavior:
Together with default IP ranges there is also a default IP used as a gateway for all networks with group_id different than 1.
If the gateway is not set it should be detected either during the upload of the file or before the deployment starts using "deploy changes".
Current behaviour:
gateway is set to null, and this value is not validated prior to deployment so if this parameter is missed new hosts deployed in separate network segments have no connectivity to internal networks (unless allowed via default gateway).
Looks like problem located in Nailgun. Assigned to Fuel Python Team.