Issue #1286
closedpulp nodes: docker not supported?
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).
Updated by mihai.ibanescu@gmail.com over 8 years ago
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
Updated by mihai.ibanescu@gmail.com over 8 years ago
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.
Updated by jortel@redhat.com over 8 years ago
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.
Updated by mhrivnak over 8 years ago
- Priority changed from Normal to High
- Triaged changed from No to Yes
Updated by ipanova@redhat.com over 8 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ipanova@redhat.com
Added by ipanova@redhat.com over 8 years ago
Added by ipanova@redhat.com over 8 years ago
Revision 0b624b4b | View on GitHub
Improving pulp nodes bind/unbind behaviour
Updated by ipanova@redhat.com over 8 years ago
- Status changed from ASSIGNED to POST
Updated by ipanova@redhat.com over 8 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|0b624b4b84731eb22dc5bd56f419bb5acea7bd75.
Updated by ipanova@redhat.com over 8 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Improving pulp nodes bind/unbind behaviour
closes #1286 https://pulp.plan.io/issues/1286