Project

General

Profile

Actions

Bug #5763

closed

ceph-deploy new [IP] should error out

Added by Alfredo Deza almost 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
ceph-deploy
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When calling `new` with ceph-deploy, sometimes it is possible a user may use an IP instead of a hostname. The tool should be able to detect that an IP was passed in and not perform any actions since a hostname is actually preferred.

A good error message should be returned with an example of acceptable input types:

$ ceph-deploy new 192.168.1.111
[error] Cannot create new environments with IPs
[error] Acceptable inputs are: hostnames or hostname:IP
Actions

Also available in: Atom PDF