Bug 1797133

Summary: etcd: certagent can not parse escaped IPv6 addresses
Product: OpenShift Container Platform Reporter: Sam Batschelet <sbatsche>
Component: EtcdAssignee: Sam Batschelet <sbatsche>
Status: CLOSED CURRENTRELEASE QA Contact: ge liu <geliu>
Severity: unspecified Docs Contact:
Priority: high    
Version: 4.4CC: skolicha
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1797153 1797636 (view as bug list) Environment:
Last Closed: 2020-02-22 00:41:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1797153    
Bug Blocks: 1797636    

Description Sam Batschelet 2020-02-01 00:38:46 UTC
Description of problem: For example passing --ipaddrs=[::1] would currently fail as this is not a valid IPv6 address. The reason we want this ability is to simplify IPv6 validation as we do not need to worry about changing the format of the address before passing it to the agent. If the underlying IPv6 address is valid kube-client-agent will do the right thing and handle unescaping for free.

Version-Release number of selected component (if applicable):

How reproducible: always

Steps to Reproduce:
1. pass escaped ipv6 address to certagent

Actual results: failure

Expected results: address is handled

Additional info: