Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] network operator fails because of invalid proxy config #947

Closed
praveenkumar opened this issue Jan 22, 2020 · 0 comments
Closed

[BUG] network operator fails because of invalid proxy config #947

praveenkumar opened this issue Jan 22, 2020 · 0 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@praveenkumar
Copy link
Member

NoProxy is []string type for ProxyConfig struct and we are directly using it with %s which is causing issue for different operators.

$  ./crc status --log-level debug
DEBU HTTP-PROXY: http://proxy-user1:xxx@ec2-xxxx:3128, HTTPS-PROXY: http://proxy-user1:xxx@ec2-xxxx.com:3128, NO-PROXY: [127.0.0.1 localhost .testing] 
DEBU Unexpected operator status for insights: Disabled 
DEBU network operator is degraded, Reason: InvalidProxyConfig 
DEBU About to run SSH command:
df -B1 --output=size,used,target /sysroot | tail -1 
DEBU SSH cmd err, output: <nil>: 32719437824 8936333312 /sysroot 
CRC VM:          Running
OpenShift:       Stopped
Disk Usage:      8.936GB of 32.72GB (Inside the CRC VM)
Cache Usage:     30.93GB
Cache Directory: /Users/prkumar/.crc/cache
@praveenkumar praveenkumar added the kind/bug Something isn't working label Jan 22, 2020
@praveenkumar praveenkumar self-assigned this Jan 22, 2020
praveenkumar added a commit that referenced this issue Jan 23, 2020
NoProxy is `[]string` type for ProxyConfig struct and
we are directly using it with `%s` for proxy resource which need a `string` type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant