Comment 0 for bug 1471568

Revision history for this message
Tatyanka (tatyana-leontovich) wrote : Re-deployment of controller fails if net04 name of network was changed

Steps to reproduce:
1. Deploy ha vlan (Centos)
2. 3 controllers + 2 compute
3. As soon as deployment becomes ready - ssh on any controller
4. .Update keystone admin user and password
5. re-name net04 network
6. Delete 1 controller and 1 compute
7. Add new controller
8. Change interface configuration and dissk configuration
9. Press deploy changes

Expected Result:

Cluster is ready, OSTF tests are passed

Actual Result:
Nodes from step 6 was removed, new controller was provisioned and re-deployment of existing controller starts(those one that was primary. and finishes with error:
 Non-fatal error: "Execution of '/usr/bin/neutron net-create --format=shell --tenant_id=0810fd72bf2a4a3c8893d94a7f91c459 --provider:network_type=gre --provider:segmentation_id=2 --router:external=False net04' returned 1: Conflict (HTTP 409) (Request-ID: req-dae2bb05-0f34-480c-a2c1-8635f927b435)

2015-07-05 11:33:50 DEBUG

 Executing '/usr/bin/neutron net-create --format=shell --tenant_id=0810fd72bf2a4a3c8893d94a7

After re-naming of neutron net - networks looks like
[root@node-1 ~]# neutron net-list
+--------------------------------------+-----------+-------------------------------------------------------+
| id | name | subnets |
+--------------------------------------+-----------+-------------------------------------------------------+
| fd9d4e48-13bb-41d7-8e37-b9ecc601fa67 | net04_ext | fd662a47-9d3f-473c-81df-a3adb90ec22f 10.109.1.0/24 |
| f572f5d8-c3ca-4c77-b20f-978da4abd73d | admin1 | 0a62cfb2-4757-43ae-ab70-a8d7bba82f06 192.168.111.0/24 |
+--------------------------------------+-----------+-------------------------------------------------------+

[root@node-1 ~]# /usr/bin/neutron router-show --format=shell 7a827626-0f5c-4323-9921-7924f7738747
admin_state_up="True"
distributed="False"
external_gateway_info="{\"network_id\": \"fd9d4e48-13bb-41d7-8e37-b9ecc601fa67\", \"enable_snat\": true, \"external_fixed_ips\": [{\"subnet_id\": \"fd662a47-9d3f-473c-81df-a3adb90ec22f\", \"ip_address\": \"10.109.1.128\"}]}"
ha="False"
id="7a827626-0f5c-4323-9921-7924f7738747"
name="router04"
routes=""
status="ACTIVE"
tenant_id="0810fd72bf2a4a3c8893d94a7f91c459"
[root@node-1 ~]# /usr/bin/neutron router-show --format=shell 7a827626-0f5c-4323-9921-7924f7738747
admin_state_up="True"
distributed="False"
external_gateway_info="{\"network_id\": \"fd9d4e48-13bb-41d7-8e37-b9ecc601fa67\", \"enable_snat\": true, \"external_fixed_ips\": [{\"subnet_id\": \"fd662a47-9d3f-473c-81df-a3adb90ec22f\", \"ip_address\": \"10.109.1.128\"}]}"
ha="False"
id="7a827626-0f5c-4323-9921-7924f7738747"
name="router04"
routes=""
status="ACTIVE"
tenant_id="0810fd72bf2a4a3c8893d94a7f91c459"

[root@nailgun ~]# cat /etc/fuel/version.yaml
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.1"
  openstack_version: "2014.2.2-6.1"
  api: "1.0"
  build_number: "525"
  build_id: "2015-06-19_13-02-31"
  nailgun_sha: "dbd54158812033dd8cfd7e60c3f6650f18013a37"
  python-fuelclient_sha: "4fc55db0265bbf39c369df398b9dc7d6469ba13b"
  astute_sha: "1ea8017fe8889413706d543a5b9f557f5414beae"
  fuel-library_sha: "2e7a08ad9792c700ebf08ce87f4867df36aa9fab"
  fuel-ostf_sha: "8fefcf7c4649370f00847cc309c24f0b62de718d"
  fuelmain_sha: "a3998372183468f56019c8ce21aa8bb81fee0c2f"