Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem: I created a ostree type repos, it was synced properly and later created a CV and included the ostree to publish and promote to next environmnent from webUI. Publish and promote was successful from webUI but production.log thrown two exceptions:
2016-03-15 08:01:25 [app] [I] Completed 200 OK in 50ms (Views: 0.9ms | ActiveRecord: 1.3ms)
2016-03-15 08:01:27 [katello/pulp_rest] [E] RestClient.post "https://ibm-x3550m3-06.lab.eng.brq.redhat.com/pulp/api/v2/repositories/", 10554 byte(s) length, "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"10554", "accept"=>"application/json", "content_type"=>"application/json"
| \n# => 400 BadRequest | application/json 385 bytes
|
2016-03-15 08:01:27 [foreman-tasks/action] [E] 400 Bad Request (RestClient::BadRequest)
| /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in `return!'
| /opt/theforeman/tfm/root/usr/share/gems/gems/runcible-1.6.0/lib/runcible/base.rb:79:in `block in get_response'
2016-03-15 08:01:27 [katello/pulp_rest] [I] RestClient.post "https://ibm-x3550m3-06.lab.eng.brq.redhat.com/pulp/api/v2/repositories/Default_Organization-Dev-cv_exclusive_ostree-ostree-ostree_fed22/actions/sync/", "{}", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"2", "accept"=>"application/json", "content_type"=>"application/json"
| \n# => 404 NotFound | application/json 690 bytes
|
2016-03-15 08:01:27 [foreman-tasks/action] [E] 404 Resource Not Found (RestClient::ResourceNotFound)
| /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in `return!'
| /opt/theforeman/tfm/root/usr/share/gems/gems/runcible-1.6.0/lib/runcible/base.rb:79:in `block in get_response'
| /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:228:in `call'
Version-Release number of selected component (if applicable):
sat6.2 beta snap3
How reproducible:
always
Steps to Reproduce:
1. promote ostree repo
2.
3.
Actual results:
2016-03-15 08:01:27 [foreman-tasks/action] [E] 400 Bad Request (RestClient::BadRequest)
2016-03-15 08:01:27 [foreman-tasks/action] [E] 404 Resource Not Found (RestClient::ResourceNotFound)
Expected results:
no exception should be raised.
Additional info:
The error looks like this occured during capsule syncing, which is why the promote worked fine.
Was the capsule up and running at the time (with ostree enabled on it).
Yeah. I tried that when no capsule is associated and I don't see any error. Ostree contents were promoted to next environment successfully.
2016-08-22 03:42:03 [app] [I] Started POST "/katello/api/v2/content_view_versions/2/promote" for 10.65.223.218 at 2016-08-22 03:42:03 -0400
2016-08-22 03:42:03 [app] [I] Processing by Katello::Api::V2::ContentViewVersionsController#promote as JSON
2016-08-22 03:42:03 [app] [I] Parameters: {"id"=>"2", "environment_id"=>2, "force"=>true, "api_version"=>"v2", "content_view_version"=>{"id"=>"2"}}
2016-08-22 03:42:04 [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.73/app/views/katello/api/v2/common/async.json.rabl within katello/api/v2/layouts/resource (36.6ms)
2016-08-22 03:42:04 [app] [I] Completed 202 Accepted in 614ms (Views: 37.1ms | ActiveRecord: 34.2ms)