Nova network available in 7.0 after upgrade from 6.1 with KVM/QEMU through CLI
Steps to reproduce:
1)Create cluster with 6.1 KVM/Ubuntu
2)Upgrade to 7.0
3)Create new cluster KVM/Ubuntu with nova network through CLI
4)Download/edit/upload network changes
5)Create cluster
Expected result - error message must be showed on step 3
Actual result - Cluster created, ready to deploy:
[root@nailgun var]# fuel env create --name test --rel 4 --mode ha --network-mode nova
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.
WARNING: nova-network is deprecated since 6.1 release.
Environment 'test' with id=2, mode=ha_compact and network-mode=nova_network was created!
[root@nailgun var]# fuel --env 2 network download
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.
Network configuration for environment with id=2 downloaded to /var/network_2.yaml
[root@nailgun var]# vim /var/network_2.yaml
[root@nailgun var]# fuel --env 2 network upload
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.
Network configuration uploaded.
{"build_id": "2015-08-17_03-04-59", "build_number": "182", "release_versions": {"2014.2.2-6.1": {"VERSION": {"build_id": "2015-06-19_13-02-31", "build_number": "525", "api": "1.0", "fuel-library_sha": "2e7a08ad9792c700ebf08ce87f4867df36aa9fab", "nailgun_sha": "dbd54158812033dd8cfd7e60c3f6650f18013a37", "feature_groups": ["mirantis"], "openstack_version": "2014.2.2-6.1", "production": "docker", "python-fuelclient_sha": "4fc55db0265bbf39c369df398b9dc7d6469ba13b", "astute_sha": "1ea8017fe8889413706d543a5b9f557f5414beae", "fuel-ostf_sha": "8fefcf7c4649370f00847cc309c24f0b62de718d", "release": "6.1", "fuelmain_sha": "a3998372183468f56019c8ce21aa8bb81fee0c2f"}}, "2015.1.0-7.0": {"VERSION": {"build_id": "2015-08-17_03-04-59", "build_number": "182", "api": "1.0", "fuel-library_sha": "9de2625d26c3b88d22082baecd789b6bd5ddf3fa", "nailgun_sha": "4710801a2f4a6d61d652f8f1e64215d9dde37d2e", "feature_groups": ["mirantis"], "fuel-nailgun-agent_sha": "e01693992d7a0304d926b922b43f3b747c35964c", "openstack_version": "2015.1.0-7.0", "fuel-agent_sha": "57145b1d8804389304cd04322ba0fb3dc9d30327", "production": "docker", "python-fuelclient_sha": "4c74a60aa60c06c136d9197c7d09fa4f8c8e2863", "astute_sha": "e24ca066bf6160bc1e419aaa5d486cad1aaa937d", "fuel-ostf_sha": "17786b86b78e5b66d2b1c15500186648df10c63d", "release": "7.0", "fuelmain_sha": "d8c726645be087bc67e2eeca134f0f9747cfeacd"}}}, "auth_required": true, "api": "1.0", "fuel-library_sha": "9de2625d26c3b88d22082baecd789b6bd5ddf3fa", "nailgun_sha": "4710801a2f4a6d61d652f8f1e64215d9dde37d2e", "feature_groups": ["mirantis"], "fuel-nailgun-agent_sha": "e01693992d7a0304d926b922b43f3b747c35964c", "openstack_version": "2015.1.0-7.0", "fuel-agent_sha": "57145b1d8804389304cd04322ba0fb3dc9d30327", "production": "docker", "python-fuelclient_sha": "4c74a60aa60c06c136d9197c7d09fa4f8c8e2863", "astute_sha": "e24ca066bf6160bc1e419aaa5d486cad1aaa937d", "fuel-ostf_sha": "17786b86b78e5b66d2b1c15500186648df10c63d", "release": "7.0", "fuelmain_sha": "d8c726645be087bc67e2eeca134f0f9747cfeacd"}
But did you saw the waring "WARNING: nova-network is deprecated since 6.1 release."?
The problem here is that when creating a cluster API just gets information like: name, release, network provider. API do not know (when creating cluster) what hypervisor will be used and if vcenter (which allow to use nove-network for 7.0) will be used because it is controlled but completely different API endpoint.
I think that for 7.0 we should not touch it and leave it as is since we have warining in place in UI and in CLI and the plan (AFAIK) is to deprecate nova network in 8.0 completely.