You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Zhao Yongming (JIRA)" <ji...@apache.org> on 2011/06/20 09:39:47 UTC

[jira] [Created] (TS-845) invalid setting of proxy.config.cluster.ethernet_interface will prevent traffc_manager from starting

invalid setting of proxy.config.cluster.ethernet_interface will prevent traffc_manager from starting
----------------------------------------------------------------------------------------------------

                 Key: TS-845
                 URL: https://issues.apache.org/jira/browse/TS-845
             Project: Traffic Server
          Issue Type: Bug
          Components: Clustering
    Affects Versions: 3.0.0, 3.1.0
            Reporter: Zhao Yongming
            Priority: Critical
             Fix For: 3.1.0


when you set an invalid interface in proxy.config.cluster.ethernet_interface, it will just crash.

{code}
[Jun 20 15:31:15.350] Manager {140230882367264} FATAL: [LocalManager::initCCom] Unable to find network interface eth5.  Exiting...
[Jun 20 15:31:15.350] Manager {140230882367264} FATAL:  (last system error 2: No such file or directory)
[Jun 20 15:31:15.351] Manager {140230882367264} NOTE: [LocalManager::mgmtShutdown] Executing shutdown request.
[Jun 20 15:31:15.351] Manager {140230882367264} NOTE: [LocalManager::processShutdown] Executing process shutdown request.
{code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (TS-845) invalid setting of proxy.config.cluster.ethernet_interface will prevent traffc_manager from starting

Posted by "Zhao Yongming (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhao Yongming reassigned TS-845:
--------------------------------

    Assignee: Zhao Yongming

> invalid setting of proxy.config.cluster.ethernet_interface will prevent traffc_manager from starting
> ----------------------------------------------------------------------------------------------------
>
>                 Key: TS-845
>                 URL: https://issues.apache.org/jira/browse/TS-845
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 3.1.0, 3.0.0
>            Reporter: Zhao Yongming
>            Assignee: Zhao Yongming
>            Priority: Critical
>              Labels: cluster, network
>             Fix For: 3.1.0
>
>
> when you set an invalid interface in proxy.config.cluster.ethernet_interface, it will just crash.
> {code}
> [Jun 20 15:31:15.350] Manager {140230882367264} FATAL: [LocalManager::initCCom] Unable to find network interface eth5.  Exiting...
> [Jun 20 15:31:15.350] Manager {140230882367264} FATAL:  (last system error 2: No such file or directory)
> [Jun 20 15:31:15.351] Manager {140230882367264} NOTE: [LocalManager::mgmtShutdown] Executing shutdown request.
> [Jun 20 15:31:15.351] Manager {140230882367264} NOTE: [LocalManager::processShutdown] Executing process shutdown request.
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TS-845) invalid setting of proxy.config.cluster.ethernet_interface will prevent traffc_manager from starting

Posted by "Zhao Yongming (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052338#comment-13052338 ] 

Zhao Yongming commented on TS-845:
----------------------------------

yeah, it does no effect when you really want to setup the cluster type=1, in that case you will need to change the interface to a real interface like eth0. this patch will just make it is safe to remove the whole cluster config block from records.config if you like, and don't drive the newbie crazy when they copy the records.config to another system where there is no eth0 but bonding0 :D



> invalid setting of proxy.config.cluster.ethernet_interface will prevent traffc_manager from starting
> ----------------------------------------------------------------------------------------------------
>
>                 Key: TS-845
>                 URL: https://issues.apache.org/jira/browse/TS-845
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 3.1.0, 3.0.0
>            Reporter: Zhao Yongming
>            Assignee: Zhao Yongming
>            Priority: Critical
>              Labels: cluster, network
>             Fix For: 3.1.0
>
>         Attachments: TS-845.patch
>
>
> when you set an invalid interface in proxy.config.cluster.ethernet_interface, it will just crash.
> {code}
> [Jun 20 15:31:15.350] Manager {140230882367264} FATAL: [LocalManager::initCCom] Unable to find network interface eth5.  Exiting...
> [Jun 20 15:31:15.350] Manager {140230882367264} FATAL:  (last system error 2: No such file or directory)
> [Jun 20 15:31:15.351] Manager {140230882367264} NOTE: [LocalManager::mgmtShutdown] Executing shutdown request.
> [Jun 20 15:31:15.351] Manager {140230882367264} NOTE: [LocalManager::processShutdown] Executing process shutdown request.
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (TS-845) invalid setting of proxy.config.cluster.ethernet_interface will prevent traffc_manager from starting

Posted by "Zhao Yongming (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhao Yongming resolved TS-845.
------------------------------

    Resolution: Fixed

fixed, and I don't want it to be backported to 3.0, as we'll do more cluster networking enhancement later

> invalid setting of proxy.config.cluster.ethernet_interface will prevent traffc_manager from starting
> ----------------------------------------------------------------------------------------------------
>
>                 Key: TS-845
>                 URL: https://issues.apache.org/jira/browse/TS-845
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 3.1.0, 3.0.0
>            Reporter: Zhao Yongming
>            Assignee: Zhao Yongming
>            Priority: Critical
>              Labels: cluster, network
>             Fix For: 3.1.0
>
>         Attachments: TS-845.patch
>
>
> when you set an invalid interface in proxy.config.cluster.ethernet_interface, it will just crash.
> {code}
> [Jun 20 15:31:15.350] Manager {140230882367264} FATAL: [LocalManager::initCCom] Unable to find network interface eth5.  Exiting...
> [Jun 20 15:31:15.350] Manager {140230882367264} FATAL:  (last system error 2: No such file or directory)
> [Jun 20 15:31:15.351] Manager {140230882367264} NOTE: [LocalManager::mgmtShutdown] Executing shutdown request.
> [Jun 20 15:31:15.351] Manager {140230882367264} NOTE: [LocalManager::processShutdown] Executing process shutdown request.
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-845) invalid setting of proxy.config.cluster.ethernet_interface will prevent traffc_manager from starting

Posted by "Zhao Yongming (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhao Yongming updated TS-845:
-----------------------------

    Attachment: TS-845.patch

set the default cluster interface to system default LOOPBACK virtual network interface, this is a fast fix for this bug, and we may need to rework the whole ClusterComunication system initialize when we have someone cleanup the mgmt/web2(the webui).

> invalid setting of proxy.config.cluster.ethernet_interface will prevent traffc_manager from starting
> ----------------------------------------------------------------------------------------------------
>
>                 Key: TS-845
>                 URL: https://issues.apache.org/jira/browse/TS-845
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 3.1.0, 3.0.0
>            Reporter: Zhao Yongming
>            Assignee: Zhao Yongming
>            Priority: Critical
>              Labels: cluster, network
>             Fix For: 3.1.0
>
>         Attachments: TS-845.patch
>
>
> when you set an invalid interface in proxy.config.cluster.ethernet_interface, it will just crash.
> {code}
> [Jun 20 15:31:15.350] Manager {140230882367264} FATAL: [LocalManager::initCCom] Unable to find network interface eth5.  Exiting...
> [Jun 20 15:31:15.350] Manager {140230882367264} FATAL:  (last system error 2: No such file or directory)
> [Jun 20 15:31:15.351] Manager {140230882367264} NOTE: [LocalManager::mgmtShutdown] Executing shutdown request.
> [Jun 20 15:31:15.351] Manager {140230882367264} NOTE: [LocalManager::processShutdown] Executing process shutdown request.
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Work started] (TS-845) invalid setting of proxy.config.cluster.ethernet_interface will prevent traffc_manager from starting

Posted by "Zhao Yongming (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on TS-845 started by Zhao Yongming.

> invalid setting of proxy.config.cluster.ethernet_interface will prevent traffc_manager from starting
> ----------------------------------------------------------------------------------------------------
>
>                 Key: TS-845
>                 URL: https://issues.apache.org/jira/browse/TS-845
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 3.1.0, 3.0.0
>            Reporter: Zhao Yongming
>            Assignee: Zhao Yongming
>            Priority: Critical
>              Labels: cluster, network
>             Fix For: 3.1.0
>
>
> when you set an invalid interface in proxy.config.cluster.ethernet_interface, it will just crash.
> {code}
> [Jun 20 15:31:15.350] Manager {140230882367264} FATAL: [LocalManager::initCCom] Unable to find network interface eth5.  Exiting...
> [Jun 20 15:31:15.350] Manager {140230882367264} FATAL:  (last system error 2: No such file or directory)
> [Jun 20 15:31:15.351] Manager {140230882367264} NOTE: [LocalManager::mgmtShutdown] Executing shutdown request.
> [Jun 20 15:31:15.351] Manager {140230882367264} NOTE: [LocalManager::processShutdown] Executing process shutdown request.
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TS-845) invalid setting of proxy.config.cluster.ethernet_interface will prevent traffc_manager from starting

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052337#comment-13052337 ] 

Leif Hedstrom commented on TS-845:
----------------------------------

Seems reasonable to me, assuming clustering still works with the interface set to lo / lo0 (I have not tested that).

> invalid setting of proxy.config.cluster.ethernet_interface will prevent traffc_manager from starting
> ----------------------------------------------------------------------------------------------------
>
>                 Key: TS-845
>                 URL: https://issues.apache.org/jira/browse/TS-845
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 3.1.0, 3.0.0
>            Reporter: Zhao Yongming
>            Assignee: Zhao Yongming
>            Priority: Critical
>              Labels: cluster, network
>             Fix For: 3.1.0
>
>         Attachments: TS-845.patch
>
>
> when you set an invalid interface in proxy.config.cluster.ethernet_interface, it will just crash.
> {code}
> [Jun 20 15:31:15.350] Manager {140230882367264} FATAL: [LocalManager::initCCom] Unable to find network interface eth5.  Exiting...
> [Jun 20 15:31:15.350] Manager {140230882367264} FATAL:  (last system error 2: No such file or directory)
> [Jun 20 15:31:15.351] Manager {140230882367264} NOTE: [LocalManager::mgmtShutdown] Executing shutdown request.
> [Jun 20 15:31:15.351] Manager {140230882367264} NOTE: [LocalManager::processShutdown] Executing process shutdown request.
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira