Bug 1376012 - Provisioning 2 hosts with same IP address at same time
Summary: Provisioning 2 hosts with same IP address at same time
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Provisioning
Version: 570
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Dobes
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-14 12:51 UTC by Patrik Segedy
Modified: 2018-04-09 15:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-09 15:05:22 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Patrik Segedy 2016-09-14 12:51:25 UTC
Description of problem:
When there is running provision of system and I try to provision another system with same IP address, it will result in "IP Addresses must be unique. This IP Address has already been recorded. Please choose a different IP Address." error message.

Version-Release number of selected component (if applicable):
cobbler-2.0.7-66.el6sat.noarch

How reproducible:
always

Steps to Reproduce:
1. Have 2 hosts with same IP addresses
2. Register both hosts to Satellite and allow provisioning entitlement
3. Schedule provisioning of the first host
4. Schedule provisioning of the second host and we get error message "IP Addresses must be unique. This IP Address has already been recorded. Please choose a different IP Address."

From /var/log/cobbler/cobbler.log we get traceback:

Wed Sep 14 08:26:38 2016 - INFO | Exception occured: <class 'cobbler.cexceptions.CX'>
Wed Sep 14 08:26:38 2016 - INFO | Exception value: 'IP address duplicated: 192.168.122.100'
Wed Sep 14 08:26:38 2016 - INFO | Exception Info:
  File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 1762, in _dispatch
    return method_handle(*params)
   File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 767, in modify_system
    return self.modify_item("system",object_id,attribute,arg,token)
   File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 760, in modify_item
    return method(arg)
   File "/usr/lib/python2.6/site-packages/cobbler/item_system.py", line 581, in modify_interface
    if field == "ipaddress"           : self.set_ip_address(value, interface)
   File "/usr/lib/python2.6/site-packages/cobbler/item_system.py", line 300, in set_ip_address
    raise CX("IP address duplicated: %s" % address)


Actual results:
Simultaneous provision of 2 hosts with same IP address doesn't work.

Expected results:
Simultaneous provisioning of 2 hosts with same IP address should work.

Comment 1 Patrik Segedy 2016-09-14 13:08:25 UTC
And I forgot to mention, that it is possible scenario when we want to provision 2 virtual guests, which are behind NAT.

Comment 2 Tomas Lestach 2018-04-09 15:05:22 UTC
We have re-reviewed this bug, as part of an ongoing effort to improve Satellite/Proxy feature and bug updates, review and backlog.

This is a low priority bug and has no currently open customer cases. While this bug may still valid, we do not see it being implemented prior to the EOL of the Satellite 5.x product. As such, this is being CLOSED DEFERRED. 

Closing now to help set customer expectations as early as possible. You are welcome to re-open this bug if needed.


Note You need to log in before you can comment on or make changes to this bug.