[racktables-users] Re: missing ipv4

Yup that did it and also brought to my attention what was causing the issue.

The contents of that field were: 
{$typeid_5} or {$typeid_4} or {$typeid_7} or {$typeid_8} or {$typeid_12} or 
{$typeid_445} or {$typeid_447} or {$typeid_2} or {$typeid_6} or {$typeid_50040} 
or {$typeid_50041} or {$typeid_50043} or {$typeid_50055} or {$typeid_1055} or 
{$typeid_1502} or {$t or {$typeid_1397}

Somehow at the end it was changed incorrectly to "{$t or {$typeid_1397}".

I took a backup of the DB before each upgrade.  I went back to see what the 
content of that table was in each backup.:

18.4 - 
('IPV4OBJ_LISTSRC','{$typeid_5} or {$typeid_4} or {$typeid_7} or {$typeid_8} or 
{$typeid_12} or {$typeid_445} or {$typeid_447} or {$typeid_2} or {$typeid_6} or 
{$typeid_50040} or {$typeid_50041} or {$typeid_50043} or {$typeid_50055} or 
{$typeid_1055}','string','yes','no','no','List source: IPv4-enabled objects')

18.7 - 
('IPV4OBJ_LISTSRC','{$typeid_5} or {$typeid_4} or {$typeid_7} or {$typeid_8} or 
{$typeid_12} or {$typeid_445} or {$typeid_447} or {$typeid_2} or {$typeid_6} or 
{$typeid_50040} or {$typeid_50041} or {$typeid_50043} or {$typeid_50055} or 
{$typeid_1055}','string','yes','no','no','List source: IPv4-enabled objects')

19.6 -
('IPV4OBJ_LISTSRC','{$typeid_5} or {$typeid_4} or {$typeid_7} or {$typeid_8} or 
{$typeid_12} or {$typeid_445} or {$typeid_447} or {$typeid_2} or {$typeid_6} or 
{$typeid_50040} or {$typeid_50041} or {$typeid_50043} or {$typeid_50055} or 
{$typeid_1055} or {$typeid_1502} or {$t or 
{$typeid_1397}','string','yes','no','no','List source: IPv4-enabled objects')


So "or {$typeid_1502} or {$t or {$typeid_1397}" was introduced with the 19.6 
upgrade.

Thank you Denis for your assistance and an excellent product.

Jason Lifsey

-----Original Message-----
From: racktables-users-bounce@xxxxxxxxxxxxx 
[mailto:racktables-users-bounce@xxxxxxxxxxxxx] On Behalf Of Denis Ovsienko
Sent: Friday, July 15, 2011 11:15 AM
To: racktables-users@xxxxxxxxxxxxx
Subject: [racktables-users] Re: missing ipv4

15.07.2011, 19:49, "Jason Lifsey" <jlifsey@xxxxxxxxxx>:
> Hello,
>
> After upgrading from 18.4 to 18.7 then from 18.7 to 19.6, objects which have 
> been enabled for the IPv4 tab are no longer displaying the tab.  Objects 
> which had previous IP allocations do display the IPv4 tab (but interesting 
> not the IPv6).  If I go to the allocation tab of an IP object under object it 
> only displays ‘(none)’ and no drop down list like normal.
>
> I confirmed under the user interface settings that the object types are still 
> set under ‘IPv4-enabled objects’.

Hello.
Could you save the current content of this option and replace it with string 
"true"? Does it change anything?

> INSERT INTO Dictionary (dict_key, chapter_id, dict_value) VALUES (995, 18, 
> 'Dell PowerVault MD1000') -- Duplicate entry '18-Dell PowerVault MD1000' for 
> key 2

This probably means you have two records for "Dell PowerVault MD1000", one 
created by the system and a site-specific one. I would suggest updating the 
objects to use the former and deleting the latter.

-- 
    Denis Ovsienko

Other related posts: