Project

General

Profile

Actions

Bug #18186

closed

`hammer capsule update` with invalid url shows improper error message

Added by John Mitsch about 8 years ago. Updated almost 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1412807

Description of problem:
The error message shows the capsule could not be updated, but the capsule is actually updated. This happens when the proxy features are not available (i.e. https://proxy.example.com:8000/features).

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

How reproducible:
Always

Steps to Reproduce:
1. `hammer capsule update --id 1 --new-name "centos7-devel.example.com" --url "http://centos7-devel.example.com:8001"` # setting to port 8001 instead of 8000 as an example of an invalid URL

Actual results:
Could not update the proxy

Expected results:
Updated with errors getting proxy features

Additional info:

Actions

Also available in: Atom PDF