Bug 1538814
Summary: | Imageio-Proxy: Failed to verify proxy ticket: Ticket life time expired | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-imageio | Reporter: | Gabriel <gabrielstein> | ||||||||||||
Component: | Proxy | Assignee: | Daniel Erez <derez> | ||||||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Avihai <aefrat> | ||||||||||||
Severity: | high | Docs Contact: | |||||||||||||
Priority: | unspecified | ||||||||||||||
Version: | 1.1.0 | CC: | 729243088, amureini, bugs, ebenahar, fabiorauber, gabrielstein, ishaby, lveyde, tnisan, ylavi | ||||||||||||
Target Milestone: | ovirt-4.2.2 | Flags: | rule-engine:
ovirt-4.2+
|
||||||||||||
Target Release: | --- | ||||||||||||||
Hardware: | x86_64 | ||||||||||||||
OS: | Linux | ||||||||||||||
Whiteboard: | |||||||||||||||
Fixed In Version: | ovirt-engine-4.2.2 | Doc Type: | If docs needed, set a value | ||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | Environment: | ||||||||||||||
Last Closed: | 2018-03-29 10:57:11 UTC | Type: | Bug | ||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||
Documentation: | --- | CRM: | |||||||||||||
Verified Versions: | Category: | --- | |||||||||||||
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||
Embargoed: | |||||||||||||||
Attachments: |
|
Description
Gabriel
2018-01-25 21:45:25 UTC
Hi Gebriel, Yes, please attach full vdsm, engine, proxy and daemon logs so we can further investigate this bug. Thanks! *Gabriel, sorry for the typo :) Hi! No problem! I will do it again tomorrow at work and attach here all. Thanks!! (In reply to Gabriel from comment #3) > Hi! > > No problem! I will do it again tomorrow at work and attach here all. > > Thanks!! Also, * Which version of proxy and engine are you using? * Did you upload using the webadmin or the api/sdk? * What are the complete steps you've followed to upload? * Did you pause the upload during the transfer? Thanks! (In reply to Daniel Erez from comment #4) > (In reply to Gabriel from comment #3) > > Hi! > > > > No problem! I will do it again tomorrow at work and attach here all. > > > > Thanks!! > > Also, > > * Which version of proxy and engine are you using? Proxy(package): 1.0.0-0.201701151456.git Engine: 4.2.0.2-1 > * Did you upload using the webadmin or the api/sdk? Webadmin > * What are the complete steps you've followed to upload? Webadmin>Storage>Disks>Upload. > * Did you pause the upload during the transfer? No. > > Thanks! I noticed that exactly after 1 hour of upload the timeout happens. I didnt founda way to change it. One thing that is my problem, I'm running my storage connections with 10G cards and cables, but 1000G ports on switch. I will change it, probably helps making the upload on less time. Thanks. (In reply to Gabriel from comment #5) > (In reply to Daniel Erez from comment #4) > > (In reply to Gabriel from comment #3) > > > Hi! > > > > > > No problem! I will do it again tomorrow at work and attach here all. > > > > > > Thanks!! > > > > Also, > > > > * Which version of proxy and engine are you using? > Proxy(package): 1.0.0-0.201701151456.git > Engine: 4.2.0.2-1 > > * Did you upload using the webadmin or the api/sdk? > Webadmin > > * What are the complete steps you've followed to upload? > Webadmin>Storage>Disks>Upload. > > * Did you pause the upload during the transfer? > No. > > > > Thanks! > > I noticed that exactly after 1 hour of upload the timeout happens. I didnt > founda way to change it. The timeout is defined in ImageTransferClientTicketValidityInSeconds configuration value, which is 3600 seconds (can be altered in vdc_options table). The ticket should have been extended automatically, but we had some issues around this area in 4.2.0, so you can also try the update to latest version and see if it mitigates the issue. Also, when ready, please upload full logs for further investigation. > > One thing that is my problem, I'm running my storage connections with 10G > cards and cables, but 1000G ports on switch. I will change it, probably > helps making the upload on less time. > > Thanks. Created attachment 1387793 [details]
VDSM from Node
Created attachment 1387795 [details]
SuperVDSM from Node
Created attachment 1387796 [details]
ImageIO Daemon from Node
Created attachment 1387797 [details]
Engine.log from Hosted Engine
Created attachment 1387798 [details]
ImageIO Proxy from Hosted Engine
OK, I attached everything as you asked. After a yum update on hosted-engine, the results are the same, after 1 hour gave me a timeout. Will be nice to solve it without some hacking on DB, because I'm afraid that will bring some problems on further updates. And yes, there is an error because I installed the packages from hosted engine on the node and I tried to add it as replica 4 with hyperconverged hosted-engine(no, it wasn't smart idea from me). As hyperconverged engine needs a replica 3, I just gave up, but I will remove the packages after... The suggested solutions by the patches: * Expose 'ImageTransferClientTicketValidityInSeconds' key to engine-config so its value could be changed as follows: # engine-config -s ImageTransferClientTicketValidityInSeconds=36000 * Increased the default value of ImageTransferClientTicketValidityInSeconds to 36000 seconds. Also, note that it is recommended to upload a vast amount of data using the sdk: https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_disk.py Well, thank you. Using SDK I had another two bugs, but I will create them properly. First using the SDK, he claims that my SSL certificate is invalid and them fails without removing the 'upload' from disk and I can't find and remove this disk using SDK or the webui.. But as I said, another bugs. I will test this Patch and give you a feedback. Thanks, you are awesome! I just didn't understand how to apply the patches.... at *.properties I could do a copy/paste from gerrit. And the sql file? Should I change it on postgres DB running on hosted-engine? Thanks! * For the sdk, you should use the engine's ca.pem file, located at '/etc/pki/ovirt-engine' * For the patches, you can just wait for the next build that includes them. Verified on engine 4.2.2-0.1 . Both get/set method in engine-config works OK : - engine-config --set ImageTransferClientTicketValidityInSeconds=3600 - engine-config --get=ImageTransferClientTicketValidityInSeconds Also, DB is updated in the vdc_options table as expected after setting a new value. This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |