View Issue Details

IDProjectCategoryView StatusLast Update
548RackTablesdefaultpublic2012-04-16 16:02
Reporteruser299Assigned Toandriyanov  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.19.11 
Target Version0.19.13Fixed in Version0.19.13 
Summary548: IPv4 Space/Properties/Name cleared after IPv4/Allocation/Object<->Interface add
DescriptionAfter adding an Object<->Interface allocation at the IPv4 space / Allocation tab, the previously entered IPv4 space / Properties / Name value is removed.
Additional InformationI found this issue starting with 0.19.11. Older versions didn't show this issue.

As well as i see this unrelated, I've modified the objects / ports tab to get some more infos abount mac addresses. This modification follows the wiki guidelines.
TagsNo tags attached.

Activities

infrastation

infrastation

2012-04-15 08:54

administrator   ~0000646

This behaviour is controled by 'Auto-release IPv4 addresses on allocation' option:

        if ($address['reserved'] == 'yes' or strlen ($address['name']))
        {
                $release = getConfigVar ('IPV4_AUTO_RELEASE');
                if ($release >= 1)
                        $address['reserved'] = 'no';
                if ($release >= 2)
                        $address['name'] = '';
                updateAddress ($ip, $address['name'], $address['reserved']);
        }

If you can confirm this resolves the issue, it will be closed.
P.S.
There is no patch for MAC addresses attached.

user299

2012-04-16 12:57

  ~0000648

Last edited: 2012-04-16 12:58

I just changed IPV4_AUTO_RELEASE from 1 to 0, but this didn't resolve the issue.
If I enter a Name (i use it as some kind of "which machine holds that ip"-label) to an IPv4 Address under the Tab "Properties" before allocate the respective IPv4 to a machine interface under the Tab "Allocation", the previously entered Name is wiped out. If I enter that Name AFTER the allocation, it persists.
My current setup has been updated during the last two years, if the Install/Update procedure didn't change the IPV4_AUTO_RELEASE it should hold the original setting (I've never touched it)

Regarding the (unrelated) MAC addresses: Sorry, I wasn't writing very clear, I added a few functions to the MAC tab by writing some wrapper function in the local.php. In detail, I changed $tabhandler['object']['ports'] and
$tab['object']['ports'] to fit my needs. I followed the guidelines of "adding something" ...

infrastation

infrastation

2012-04-16 14:17

administrator   ~0000650

You are right, this bug is specific to 0.19.11, it was introduced in revision 4835. Alexey will look into it. Let me know if you want to share the custom MAC address script.
andriyanov

andriyanov

2012-04-16 16:01

reporter   ~0000651

Thank you for reporting this issue.
The variable 'IPV4_AUTO_RELEASE' was not functional since 0.19.11 as it was set to '2'.

The fix will be released with 0.19.13

Issue History

Date Modified Username Field Change
2012-04-10 08:31 user299 New Issue
2012-04-15 08:54 infrastation Note Added: 0000646
2012-04-15 08:54 infrastation Assigned To => infrastation
2012-04-15 08:54 infrastation Status new => assigned
2012-04-16 12:57 user299 Note Added: 0000648
2012-04-16 12:58 user299 Note Edited: 0000648
2012-04-16 14:17 infrastation Note Added: 0000650
2012-04-16 14:17 infrastation Assigned To infrastation => andriyanov
2012-04-16 16:01 andriyanov Note Added: 0000651
2012-04-16 16:01 andriyanov Status assigned => closed
2012-04-16 16:01 andriyanov Fixed in Version => 0.19.13
2012-04-16 16:01 andriyanov Resolution open => fixed
2012-04-16 16:02 andriyanov Target Version => 0.19.13