Issue #1286
closed
pulp nodes: docker not supported?
Status:
CLOSED - CURRENTRELEASE
Description
I tried to bind a docker repo to a child node.
pulp-admin node bind --repo-id docker-repo-1 --node-id miiban-f22-pulp --strategy mirror
Invalid properties: ['distributor_id']
Is docker not supported under nodes, or is this a bug?
Parent is 2.6.3, child is 2.7.0 beta (but there's no 2.6.4 version that I can choose).
rpm -qa | grep pulp
python-pulp-docker-common-1.0.2-1.fc21.noarch
python-pulp-common-2.6.4-1.fc21.noarch
pulp-rpm-plugins-2.6.4-1.fc21.noarch
pulp-selinux-2.6.4-1.fc21.noarch
pulp-nodes-parent-2.6.4-1.fc21.noarch
python-pulp-client-lib-2.6.4-1.fc21.noarch
python-isodate-0.5.0-4.pulp.fc21.noarch
pulp-docker-plugins-1.0.2-1.fc21.noarch
pulp-server-2.6.4-1.fc21.noarch
python-pulp-puppet-common-2.6.4-1.fc21.noarch
pulp-puppet-plugins-2.6.4-1.fc21.noarch
pulp-nodes-common-2.6.4-1.fc21.noarch
pulp-win-plugins-2.4.0-1.fc21.noarch
pulp-admin-client-2.6.4-1.fc21.noarch
python-kombu-3.0.24-8.pulp.fc21.noarch
python-pulp-rpm-common-2.6.4-1.fc21.noarch
python-pulp-bindings-2.6.4-1.fc21.noarch
python-pulp-win-common-2.4.0-1.fc21.noarch
pulp-nodes-admin-extensions-2.6.4-1.fc21.noarch
My mistake, I forgot to enable the repo for node.
pulp-admin node repo enable --repo-id docker-repo-1
pulp-admin node bind --repo-id docker-repo-1 --node-id miiban-f22-pulp --strategy mirror
Node bind succeeded.
Probably a better error message would be helpful.
mihai.ibanescu@gmail.com wrote:
My mistake, I forgot to enable the repo for node.
pulp-admin node repo enable --repo-id docker-repo-1
pulp-admin node bind --repo-id docker-repo-1 --node-id miiban-f22-pulp --strategy mirror
Node bind succeeded.
Probably a better error message would be helpful.
Performing a bind on a repository that has not been nodes enabled has always produced the following error message:
Repository not enabled. See: the 'node repo enable' command.
This is a regression that is possibly related to django conversion. The CLI command is expecting a NotFoundException exception to be raised by the CLI framework and now getting a BadRequestException instead.
Should be an easy fix.
- Priority changed from Normal to High
- Triaged changed from No to Yes
- Status changed from NEW to ASSIGNED
- Assignee set to ipanova@redhat.com
- Status changed from ASSIGNED to POST
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
- Platform Release set to 2.6.5
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Also available in: Atom
PDF
Improving pulp nodes bind/unbind behaviour
closes #1286 https://pulp.plan.io/issues/1286