[ 
https://issues.apache.org/jira/browse/KNOX-2919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pratyush Bhatt updated KNOX-2919:
---------------------------------
    Description: 
Corrupting the entry for one of the SCM Instance in the cdp-proxy.xml

Before:
{code:java}
    <service>
        <role>OZONE-SCM</role>
        <url>https://ozn-kx4-1.ozn-kx4.xxx.xxx.xxx:9821</url>
        <url>https://ozn-kx4-2.ozn-kx4.xxx.xxx.xxx:9821</url>
        <url>https://ozn-kx4-3.ozn-kx4.xxx.xxx.xxx:9821</url>
    </service> {code}
After:
{noformat}
    <service>
        <role>OZONE-SCM</role>
        <url>https://10.255.255.1/</url>
        <url>https://ozn-kx4-2.ozn-kx4.xxx.xxx.xxx:9821</url>
        <url>https://ozn-kx4-3.ozn-kx4.xxx.xxx.xxx:9821</url>
    </service>{noformat}
All the three SCM Instance become inaccessible.

  was:
Corrupting the entry for one of the SCM Instance in the cdp-proxy.xml
Before:
{noformat}
    <service>
        <role>OZONE-SCM</role>
        <url>https://ozn-kx4-3.ozn-kx4.xxx.xxx.xxx:9877</url>
        <url>https://ozn-kx4-2.ozn-kx4.xxx.xxx.xxx:9877</url>
        <url>https://ozn-kx4-1.ozn-kx4.xxx.xxx.xxx:9877</url>
    </service>{noformat}
After:
{noformat}
    <service>
        <role>OZONE-SCM</role>
        <url>https://ozn1-kx4-3.ozn-kx4.xxx.xxx.xxx:9877</url>
        <url>https://ozn-kx4-2.ozn-kx4.xxx.xxx.xxx:9877</url>
        <url>https://ozn-kx4-1.ozn-kx4.xxx.xxx.xxx:9877</url>
    </service>{noformat}
Issue 1: All the three SCM Instance become inaccessible.
Issue 2: 404 Error should be thrown, but 500 is thrown here.


> [Ozone-Knox] Topology Change for SCM throws wrong error code
> ------------------------------------------------------------
>
>                 Key: KNOX-2919
>                 URL: https://issues.apache.org/jira/browse/KNOX-2919
>             Project: Apache Knox
>          Issue Type: Bug
>            Reporter: Pratyush Bhatt
>            Priority: Major
>         Attachments: image (15).png, image (16).png, image (17).png
>
>
> Corrupting the entry for one of the SCM Instance in the cdp-proxy.xml
> Before:
> {code:java}
>     <service>
>         <role>OZONE-SCM</role>
>         <url>https://ozn-kx4-1.ozn-kx4.xxx.xxx.xxx:9821</url>
>         <url>https://ozn-kx4-2.ozn-kx4.xxx.xxx.xxx:9821</url>
>         <url>https://ozn-kx4-3.ozn-kx4.xxx.xxx.xxx:9821</url>
>     </service> {code}
> After:
> {noformat}
>     <service>
>         <role>OZONE-SCM</role>
>         <url>https://10.255.255.1/</url>
>         <url>https://ozn-kx4-2.ozn-kx4.xxx.xxx.xxx:9821</url>
>         <url>https://ozn-kx4-3.ozn-kx4.xxx.xxx.xxx:9821</url>
>     </service>{noformat}
> All the three SCM Instance become inaccessible.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to