Bug 677879 - [VDSM]- vdsm does not report an error when editing interface's ip address to an already used address.
Summary: [VDSM]- vdsm does not report an error when editing interface's ip address to ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.1
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: 6.1
Assignee: Erez Shinan
QA Contact: Jakub Libosvar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-16 07:55 UTC by David Naori
Modified: 2011-12-06 07:07 UTC (History)
10 users (show)

Fixed In Version: vdsm-4.9-69.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 07:07:18 UTC
Target Upstream Version:


Attachments (Terms of Use)
full vdsm log (3.13 MB, application/octet-stream)
2011-02-16 07:55 UTC, David Naori
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:1782 0 normal SHIPPED_LIVE new packages: vdsm 2011-12-06 11:55:51 UTC

Description David Naori 2011-02-16 07:55:43 UTC
Created attachment 479043 [details]
full vdsm log

Description of problem:
When addNetwork is initiated with ip address of an already used address in the network- vdsm gets a message "some other host already uses address x.x.x.x" and reports no error (code:0)

- vdsm should propagate error message to rhevm.

Version-Release number of selected component (if applicable):
-vdsm-4.9-48

vdsm log:

Thread-67628::DEBUG::2011-02-16 09:32:22,619::clientIF::42::vds::(wrapper) [10.35.116.10]::call addNetwork with ('Storage', '160', 'bond0', ['eth2', 'eth3'], {'STP': 'no', 'NETMASK': '255.255.255.0', 'IPADDR': '10.35.64.25'}) {}
Thread-67628::DEBUG::2011-02-16 09:32:22,620::clientIF::1249::vds::(addNetwork) addNetwork(Storage,160,bond0,['eth2', 'eth3'],{'STP': 'no', 'NETMASK': '255.255.255.0', 'IPADDR': '10.35.64.25'})
Thread-67628::DEBUG::2011-02-16 09:32:22,620::utils::570::Storage.Misc.excCmd::(execCmd) '/usr/bin/sudo -n /usr/share/vdsm/addNetwork Storage 160 bond0 eth2,eth3 STP=no NETMASK=255.255.255.0 IPADDR=10.35.64.25' (cwd None)
Thread-67628::DEBUG::2011-02-16 09:32:23,118::utils::570::Storage.Misc.excCmd::(execCmd) SUCCESS: <err> = ''; <rc> = 0
Thread-67628::DEBUG::2011-02-16 09:32:23,119::clientIF::47::vds::(wrapper) return addNetwork with {'status': {'message': 'Device eth3 has different MAC address than expected, ignoring.\nDevice eth3 has different MAC address than expected, ignoring.\nError, some other host already uses address 10.35.64.25.\n', 'code': 0}}

*full vdsm-log attached

Comment 1 Erez Shinan 2011-05-12 12:25:44 UTC
http://gerrit.usersys/#change,384

Comment 3 Jakub Libosvar 2011-05-27 08:47:11 UTC
Verified using vdsm-4.9-70

Comment 4 errata-xmlrpc 2011-12-06 07:07:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2011-1782.html


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