[
https://issues.apache.org/jira/browse/HDDS-4806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Glen Geng updated HDDS-4806:
----------------------------
Description:
For now, SCMContainerLocationFailoverProxyProvider first use ozone.scm.names to
create rpcProxy, if ozone.scm.names is not set, it falls back to use
ozone.scm.client.address. However, it breaks the master's behavior, which
directly use ozone.scm.client.address to build the rpcProxy.
In ozone admin --verbose pipeline list --scm unknown-host, unknown-host will be
set to ozone.scm.client.address, the created rpcProxy will trigger
"java.net.UnknownHostException: Invalid host name: "
This Jira https://issues.apache.org/jira/browse/HDDS-4556 and PR
[https://github.com/apache/ozone/pull/1671
|https://github.com/apache/ozone/pull/1671] adds a smoketest for
{{ozonescripts}} environment, helps to find this bug.
{code:java}
------------------------------------------------------------------------------
List pipelines on unknown host | FAIL |
1'Pipeline[ Id: abdee66c-4fce-4099-a7b6-ab0dab03f52f, Nodes:
8df277fe-9d11-4dce-8c64-898e2ad83901{ip: 172.26.0.2, host:
ozonescripts_datanode_1.ozonescripts_default, ports: [REPLICATION=9886,
RATIS=9858, STANDALONE=9859], networkLocation: /default-rack, certSerialId:
null, persistedOpState: IN_SERVICE, persistedOpStateExpiryEpochSec: 0},
Type:RATIS, Factor:ONE, State:OPEN,
leaderId:8df277fe-9d11-4dce-8c64-898e2ad83901,
CreationTimestamp2021-02-08T04:05:29.452Z]
Pipeline[ Id: d1ad94f4-bbe2-4676-8e4d-2f7261754b31, Nodes:
8df277fe-9d11-4dce-8c64-898e2ad83901{ip: 172.26.0.2, host:
ozonescripts_datanode_1.ozonescripts_default, ports: [REPLICATION=9886,
RATIS=9858, STANDALONE=9859], networkLocation: /default-rack, certSerialId:
null, persistedOpState: IN_SERVICE, persistedOpStateExpiryEpochSec: 0},
Type:STAND_ALONE, Factor:ONE, State:CLOSED, leaderId:,
CreationTimestamp2021-02-08T04:05:53.496Z]' does not contain 'Invalid host
name'
------------------------------------------------------------------------------
Pipeline :: Test ozone admin pipeline command | FAIL |{code}
was:
For now, SCMContainerLocationFailoverProxyProvider first use ozone.scm.names to
create rpcProxy, if ozone.scm.names is not set, it falls back to use
ozone.scm.client.address. However, it breaks the master's behavior, which
directly use ozone.scm.client.address to build the rpcProxy.
In ozone admin --verbose pipeline list --scm unknown-host, unknown-host will be
set to ozone.scm.client.address, the created rpcProxy will trigger
"java.net.UnknownHostException: Invalid host name: "
This Jira https://issues.apache.org/jira/browse/HDDS-4556 and PR
[https://github.com/apache/ozone/pull/1671
|https://github.com/apache/ozone/pull/1671] adds a smoketest for
{{ozonescripts}} environment, help to find this bug.
{code:java}
------------------------------------------------------------------------------
List pipelines on unknown host | FAIL |
1'Pipeline[ Id: abdee66c-4fce-4099-a7b6-ab0dab03f52f, Nodes:
8df277fe-9d11-4dce-8c64-898e2ad83901{ip: 172.26.0.2, host:
ozonescripts_datanode_1.ozonescripts_default, ports: [REPLICATION=9886,
RATIS=9858, STANDALONE=9859], networkLocation: /default-rack, certSerialId:
null, persistedOpState: IN_SERVICE, persistedOpStateExpiryEpochSec: 0},
Type:RATIS, Factor:ONE, State:OPEN,
leaderId:8df277fe-9d11-4dce-8c64-898e2ad83901,
CreationTimestamp2021-02-08T04:05:29.452Z]
Pipeline[ Id: d1ad94f4-bbe2-4676-8e4d-2f7261754b31, Nodes:
8df277fe-9d11-4dce-8c64-898e2ad83901{ip: 172.26.0.2, host:
ozonescripts_datanode_1.ozonescripts_default, ports: [REPLICATION=9886,
RATIS=9858, STANDALONE=9859], networkLocation: /default-rack, certSerialId:
null, persistedOpState: IN_SERVICE, persistedOpStateExpiryEpochSec: 0},
Type:STAND_ALONE, Factor:ONE, State:CLOSED, leaderId:,
CreationTimestamp2021-02-08T04:05:53.496Z]' does not contain 'Invalid host
name'
------------------------------------------------------------------------------
Pipeline :: Test ozone admin pipeline command | FAIL |{code}
> Fix misc acceptance test: List pipelines on unknown host
> --------------------------------------------------------
>
> Key: HDDS-4806
> URL: https://issues.apache.org/jira/browse/HDDS-4806
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: SCM HA
> Affects Versions: 1.2.0
> Reporter: Glen Geng
> Assignee: Glen Geng
> Priority: Major
>
> For now, SCMContainerLocationFailoverProxyProvider first use ozone.scm.names
> to create rpcProxy, if ozone.scm.names is not set, it falls back to use
> ozone.scm.client.address. However, it breaks the master's behavior, which
> directly use ozone.scm.client.address to build the rpcProxy.
>
> In ozone admin --verbose pipeline list --scm unknown-host, unknown-host will
> be set to ozone.scm.client.address, the created rpcProxy will trigger
> "java.net.UnknownHostException: Invalid host name: "
>
> This Jira https://issues.apache.org/jira/browse/HDDS-4556 and PR
> [https://github.com/apache/ozone/pull/1671
> |https://github.com/apache/ozone/pull/1671] adds a smoketest for
> {{ozonescripts}} environment, helps to find this bug.
> {code:java}
> ------------------------------------------------------------------------------
>
> List pipelines on unknown host | FAIL |
> 1'Pipeline[ Id: abdee66c-4fce-4099-a7b6-ab0dab03f52f, Nodes:
> 8df277fe-9d11-4dce-8c64-898e2ad83901{ip: 172.26.0.2, host:
> ozonescripts_datanode_1.ozonescripts_default, ports: [REPLICATION=9886,
> RATIS=9858, STANDALONE=9859], networkLocation: /default-rack, certSerialId:
> null, persistedOpState: IN_SERVICE, persistedOpStateExpiryEpochSec: 0},
> Type:RATIS, Factor:ONE, State:OPEN,
> leaderId:8df277fe-9d11-4dce-8c64-898e2ad83901,
> CreationTimestamp2021-02-08T04:05:29.452Z]
> Pipeline[ Id: d1ad94f4-bbe2-4676-8e4d-2f7261754b31, Nodes:
> 8df277fe-9d11-4dce-8c64-898e2ad83901{ip: 172.26.0.2, host:
> ozonescripts_datanode_1.ozonescripts_default, ports: [REPLICATION=9886,
> RATIS=9858, STANDALONE=9859], networkLocation: /default-rack, certSerialId:
> null, persistedOpState: IN_SERVICE, persistedOpStateExpiryEpochSec: 0},
> Type:STAND_ALONE, Factor:ONE, State:CLOSED, leaderId:,
> CreationTimestamp2021-02-08T04:05:53.496Z]' does not contain 'Invalid host
> name'
>
> ------------------------------------------------------------------------------
>
> Pipeline :: Test ozone admin pipeline command | FAIL |{code}
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]