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.
Bug 1572297 - [RFE] Satellite should be able to deploy image payloads (see anaconda's liveimg directive)
Summary: [RFE] Satellite should be able to deploy image payloads (see anaconda's livei...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: 6.4.0
Assignee: satellite6-bugs
QA Contact: Sanket Jagtap
URL:
Whiteboard:
Depends On: 1585092 1600906
Blocks: ovirt-node-ng-43-el76-platform
TreeView+ depends on / blocked
 
Reported: 2018-04-26 16:01 UTC by Satellite Program
Modified: 2020-06-22 18:21 UTC (History)
21 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of: 1186915
Environment:
Last Closed: 2018-10-16 15:30:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 22736 0 None None None 2018-04-26 16:02:03 UTC
Github /theforeman community-templates pull 460 0 None None None 2018-04-26 16:02:03 UTC
Github /theforeman community-templates pull 466 0 None None None 2018-04-26 16:02:03 UTC
Red Hat Product Errata RHSA-2018:2927 0 None None None 2018-10-16 15:32:18 UTC

Comment 2 Sanket Jagtap 2018-07-12 07:11:14 UTC
Build: Satellite 6.4.0 snap11

I am unable to upload the squashfs.img to a repository

hammer repository upload-content --name "$REPO" --product "$PRODUCT" --organization "$ORG" --path /root/squashfs.img
warning: Overriding "Content-Type" header "multipart/form-data" with "multipart/form-data; boundary=----RubyFormBoundaryFZEuLKKG3UC1oGKF" due to payload
Failed to upload file 'squashfs.img' to repository. Please check the file and try again.

And also the production log is filled with binary data when we hit upload.
PFA Partial production log

Comment 4 Ivan Necas 2018-07-12 16:22:51 UTC
I was able to reproduce: The relevant error logs are actually in /var/log/messages and comming from pulp

```
Jul 12 16:20:03 sat-6-4-qa-rhel7 pulp: pulp.server.webservices.middleware.exception:ERROR: Unhandled Exception
Jul 12 16:20:03 sat-6-4-qa-rhel7 pulp: pulp.server.webservices.middleware.exception:ERROR: (1125-57920) Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZE.
Jul 12 16:20:03 sat-6-4-qa-rhel7 pulp: pulp.server.webservices.middleware.exception:ERROR: (1125-57920) Traceback (most recent call last):
Jul 12 16:20:03 sat-6-4-qa-rhel7 pulp: pulp.server.webservices.middleware.exception:ERROR: (1125-57920)   File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
Jul 12 16:20:03 sat-6-4-qa-rhel7 pulp: pulp.server.webservices.middleware.exception:ERROR: (1125-57920)     response = wrapped_callback(request, *callback_args, **callback_kwargs)
Jul 12 16:20:03 sat-6-4-qa-rhel7 pulp: pulp.server.webservices.middleware.exception:ERROR: (1125-57920)   File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view
Jul 12 16:20:03 sat-6-4-qa-rhel7 pulp: pulp.server.webservices.middleware.exception:ERROR: (1125-57920)     return self.dispatch(request, *args, **kwargs)
Jul 12 16:20:03 sat-6-4-qa-rhel7 pulp: pulp.server.webservices.middleware.exception:ERROR: (1125-57920)   File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 88, in dispatch
Jul 12 16:20:03 sat-6-4-qa-rhel7 pulp: pulp.server.webservices.middleware.exception:ERROR: (1125-57920)     return handler(request, *args, **kwargs)
Jul 12 16:20:03 sat-6-4-qa-rhel7 pulp: pulp.server.webservices.middleware.exception:ERROR: (1125-57920)   File "/usr/lib/python2.7/site-packages/pulp/server/webservices/views/decorators.py", line 241, in _auth_decorator
Jul 12 16:20:03 sat-6-4-qa-rhel7 pulp: pulp.server.webservices.middleware.exception:ERROR: (1125-57920)     return _verify_auth(self, operation, super_user_only, method, *args, **kwargs)
Jul 12 16:20:03 sat-6-4-qa-rhel7 pulp: pulp.server.webservices.middleware.exception:ERROR: (1125-57920)   File "/usr/lib/python2.7/site-packages/pulp/server/webservices/views/decorators.py", line 195, in _verify_auth
Jul 12 16:20:03 sat-6-4-qa-rhel7 pulp: pulp.server.webservices.middleware.exception:ERROR: (1125-57920)     value = method(self, *args, **kwargs)
Jul 12 16:20:03 sat-6-4-qa-rhel7 pulp: pulp.server.webservices.middleware.exception:ERROR: (1125-57920)   File "/usr/lib/python2.7/site-packages/pulp/server/webservices/views/content.py", line 482, in put
Jul 12 16:20:03 sat-6-4-qa-rhel7 pulp: pulp.server.webservices.middleware.exception:ERROR: (1125-57920)     upload_manager.save_data(upload_id, offset, request.body)
Jul 12 16:20:03 sat-6-4-qa-rhel7 pulp: pulp.server.webservices.middleware.exception:ERROR: (1125-57920)   File "/usr/lib/python2.7/site-packages/django/http/request.py", line 269, in body
Jul 12 16:20:03 sat-6-4-qa-rhel7 pulp: pulp.server.webservices.middleware.exception:ERROR: (1125-57920)     raise RequestDataTooBig('Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZE.')
Jul 12 16:20:03 sat-6-4-qa-rhel7 pulp: pulp.server.webservices.middleware.exception:ERROR: (1125-57920) RequestDataTooBig: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZE.
~                                                                                                                                                                                          
```

Comment 5 Ivan Necas 2018-07-13 10:51:05 UTC
After further analysis, it turns out this is not a provisioning issue (to which changes in this BZ aim for), but rather an issue with uploading content to repository. Therefore, I'm putting this BZ back to ON_QA and setting to depend on #1600906, which tracks the upload issue

Comment 6 Sanket Jagtap 2018-07-24 13:11:41 UTC
Build:Satellite 6.4.0 snap13

When rendering the template with safe rendering on I get error ,
There was an error rendering the Kickstart oVirt-RHVH template: undefined method '#params' for Host::Managed::Jail (Host::Managed)

This also blocks provisioning and you get a HTTP transient error followed by 500 error code from provisioning token url on the provisioned VM

Comment 7 Sanket Jagtap 2018-07-24 13:18:34 UTC
There is another issue, filled for the same problem.
Moving this BZ to ON_QA

Comment 8 Sanket Jagtap 2018-08-01 13:33:27 UTC
Build : Satellite 6.4.0 snap14


Was able to build and subscribe the RHVH node to satellite

Cannot upload enabled repos report, is this client registered?
Retrieving http://sat-host/pub/katello-ca-consumer-latest.noarch.rpm
Preparing...                          ########################################
Updating / installing...
katello-ca-consumer-qe-testing-rhel7.s########################################
The system has been registered with ID: 5dasa43-4a92-4e85-bbd0-55sa84789b3
The registered system name is: kay-newlan.domain
Installed Product Current Status:
Product Name: Red Hat Virtualization Host
Status:       Subscribed

Loaded plugins: enabled_repos_upload, imgbased-persist, package_upload, product-
              : id, search-disabled-repos, subscription-manager, vdsmupgrade
Resolving Dependencies
--> Running transaction check

Loaded plugins: product-id, subscription-manager
Note: Forwarding request to 'systemctl enable goferd.service'.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
Running in chroot, ignoring request.

Comment 10 errata-xmlrpc 2018-10-16 15:30:48 UTC
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


Note You need to log in before you can comment on or make changes to this bug.