You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe the upgrade bundle was smaller than 2Gb at some point, but now its not anymore. Manually uploading the mub works fine, but getting it from a webserver requires it to run on http only (no TLS) because it seems to fail on our internal CA certs (even when they are added to the normal truststore using the certificates task).
Reproduction steps
1. Install python (latest)
2. Install ansible (latest)
3. Run the nsxt_upgrade_upload_mub with the file parameter
Expected behavior
mub file is uploaded and ready to be used
Additional context
No response
The text was updated successfully, but these errors were encountered:
The 2GB+ filesize is the issue. You can find multiple references to the error, usualy refrring to the httplib, urllib or ssl..
One solution is to use streaming upload.
This is what we did to make the upload work.
Install request-toolbelt package
Edit nsxt_upgrade_upload_mub.py Add:
import requests
from requests_toolbelt.multipart import encoder
from requests.auth import HTTPBasicAuth
Describe the bug
When trying to upload the mub file from the ansible controller, using the following task:
The task will fail with the following error message:
Maybe the upgrade bundle was smaller than 2Gb at some point, but now its not anymore. Manually uploading the mub works fine, but getting it from a webserver requires it to run on http only (no TLS) because it seems to fail on our internal CA certs (even when they are added to the normal truststore using the certificates task).
Reproduction steps
Expected behavior
mub file is uploaded and ready to be used
Additional context
No response
The text was updated successfully, but these errors were encountered: