_validate_no_ip_change() - error message contain wrong data

Bug #1756225 reported by Harald Jensås
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Low
Harald Jensås

Bug Description

Error message: Changing the local_ip is not allowed. Existing IP: 172.20.0.200/24, Configured IP: 172.20.0.192/26

$ grep local_ip undercloud.conf
local_ip = 172.20.0.200/26

The configured IP is not 172.20.0.192/26

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/553658

Changed in tripleo:
assignee: nobody → Harald Jensås (harald-jensas)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.openstack.org/553658
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=0329c2550714b5d297aef8f38c37058eca5c1df0
Submitter: Zuul
Branch: master

commit 0329c2550714b5d297aef8f38c37058eca5c1df0
Author: Harald Jensås <email address hidden>
Date: Fri Mar 16 01:42:18 2018 +0100

    Fix the error message in _validate_no_ip_change

    The validation is for existing ip == configured ip address but
    the error message prints the value of CONF.network_cidr.

    This patch changes the message to print the local_ip used in the
    config.

    Closes-Bug: #1756225
    Change-Id: I045d72e48d63ab5b25858b5886578e18637c8d43

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 10.0.0

This issue was fixed in the openstack/python-tripleoclient 10.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.