Bug 1573239
Summary: | Unable to create a container using API - ArgumentError: wrong number of arguments (given 1, expected 0) | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Roman Plevka <rplevka> |
Component: | Container Management - Runtime | Assignee: | Daniel Lobato Garcia <dlobatog> |
Status: | CLOSED ERRATA | QA Contact: | Sanket Jagtap <sjagtap> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.4 | CC: | adprice, jhutar, mhulan, sgraessl, sjagtap |
Target Milestone: | 6.4.0 | Keywords: | Regression, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-foreman_docker-4.1.0-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-16 19:25:46 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Roman Plevka
2018-04-30 14:55:17 UTC
Connecting redmine issue http://projects.theforeman.org/issues/22761 from this bug This was caused by rails update to 5.1, the newer version is already compatible, but it never hit foreman repos, even though the spec already says 4.1.0. So we juts need to rebase to 4.1.0, moving to POST. For more details, see https://github.com/theforeman/foreman-packaging/blob/rpm/develop/packages/plugins/rubygem-foreman_docker/rubygem-foreman_docker.spec#L11 https://github.com/theforeman/foreman-packaging/commit/2f19c395004ab5c01c8dd43fd1c62fe42f62b8be#diff-93dd9b365378866aa3a2eb74ba14ee7b Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/22761 has been resolved. Build : Satellite 6.4.0 snap10 We are able toe create container on the docker resource successfully Logs from automation: 2018-07-02 12:39:40 - nailgun.client - DEBUG - Making HTTP GET request to https://sat-host/docker/api/v2/containers with options {'data': '{"compute_resource_id": 13}', 'auth': ('admin', 'changeme'), 'verify': False, 'headers': {'content-type': 'application/json'}}, no params and no data. 2018-07-02 12:39:40 - nailgun.client - DEBUG - Received HTTP 200 response: { "total": 1, "subtotal": 1, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [{"command":"top","compute_resource_id":13,"compute_resource_name":"kiC9dFo","entrypoint":null,"cpu_set":null,"cpu_shares":null,"memory":null,"tty":null,"attach_stdin":null,"attach_stdout":null,"attach_stderr":null,"repository_name":"busybox","tag":"latest","registry_id":null,"registry_name":null,"created_at":"2018-07-02 16:39:39 UTC","updated_at":"2018-07-02 16:39:39 UTC","id":3,"name":"Ka","uuid":"c5f6b1cf5c5f613c396f6344b48fcc7fb943c6c76684222345b484f26c8d9d6c"}] } Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:2927 |