<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi again,</p>
<p>The aforementioned error broke also the <b>Physical Interface
list </b>web page (in our case
<a class="moz-txt-link-freetext" href="https://portal.gr-ix.gr/interfaces/physical/list">https://portal.gr-ix.gr/interfaces/physical/list</a>) returning<img
src="cid:part1.M2HpTj3E.MHbur0PM@netmode.ntua.gr" alt=""></p>
<div class="moz-cite-prefix">BR,</div>
<div class="moz-cite-prefix">Marinos</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 12/22/2021 1:53 PM, Marinos
Dimolianis wrote:<br>
</div>
<blockquote type="cite"
cite="mid:005184e2-d3d5-8488-de47-b49f68e90105@netmode.ntua.gr">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Hi all, <br>
</p>
<p>We (in GRIX) upgraded recently IXPManager to version 6.0.0 and
we bumped into a strange issue.</p>
<p>We changed the port of a resold customer to a new one and also
the corresponding fanout port of the reseller. <br>
</p>
<p>Upon saving the new changes we received the following SQL
error:</p>
<pre class="c-mrkdwn__pre" data-stringify-type="pre" style="box-sizing: inherit; margin: 4px 0px; padding: 8px; --saf-0:rgba(var(--sk_foreground_low,29,28,29),0.13); font-size: 12px; line-height: 1.50001; font-variant-ligatures: none; white-space: pre-wrap; overflow-wrap: break-word; word-break: normal; tab-size: 4; font-family: Monaco, Menlo, Consolas, "Courier New", monospace !important; border: 1px solid var(--saf-0); border-radius: 4px; background: rgba(var(--sk_foreground_min,29,28,29),0.04); counter-reset: list-0 0 list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(29, 28, 29); font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">500
Server Error :: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`ixpmanager6`.`physicalinterface`, CONSTRAINT `FK_5FFF4D60BFDF15D5` FOREIGN KEY (`virtualinterfaceid`) REFERENCES `virtualinterface` (`id`) ON DELETE CASCADE) (SQL: update `physicalinterface` set `virtualinterfaceid` = 150, `speed` = 1000, `status` = 1, `duplex` = full, `physicalinterface`.`updated_at` = 2021-12-22 11:35:39 where `id` = 365)</pre>
<p>Since then, we are not able to edit the port configuration of
the resold customer, receiving the following:</p>
<p><img src="cid:part2.b0P8Z6ik.ACE19iiK@netmode.ntua.gr" alt=""
class=""></p>
<p>Any ideas?</p>
<p>BR,</p>
<p>Marinos<br>
</p>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
INEX IXP Manager mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ixpmanager@inex.ie">ixpmanager@inex.ie</a>
Unsubscribe or change options here: <a class="moz-txt-link-freetext" href="https://www.inex.ie/mailman/listinfo/ixpmanager">https://www.inex.ie/mailman/listinfo/ixpmanager</a>
</pre>
</blockquote>
</body>
</html>