Project

Profile

Help

Issue #799

closed

node sync can't use a hostname as node-id

Added by cristi.falcas@gmail.com about 9 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.6 Beta
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:

Description

A node consumer can be registered with the hostname, but the sync command fails:
Consumer [ hostname ] not activated as a node. See: the 'node activate' command.

Commands used:
parent> pulp-admin rpm repo create --repo-id=pulp_beta --relative-url=pulp_beta --feed=https://repos.fedorapeople.org/repos/pulp/pulp/v2/stable/7Server/x86_64/
parent> pulp-admin rpm repo sync run --repo-id=pulp_beta
parent> pulp-admin node repo enable --repo-id pulp_beta
parent> pulp-admin node repo publish --repo-id pulp_beta
child> pulp-consumer -u admin -p admin register --consumer-id $(hostname)
child> pulp-consumer node activate
child> pulp-consumer node bind --repo-id pulp_beta
child> pulp-admin node sync run --node-id $(hostname)

The help from "pulp-consumer -u admin -p admin register":
consumer-id - (required) uniquely identifies the consumer; only
alphanumeric, ., -, and _ allowed

The help from "pulp-admin node sync run":
node-id - (required) unique identifier; only alphanumeric, -, and _
allowed

Also available in: Atom PDF