Bug 1514887
Summary: | ImageIO- Reboot proxy VDSM host during disk upload - upload can't be cancled/resumed - RemoveImageTicketVDS failed - The resource could not be found | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Avihai <aefrat> | ||||
Component: | BLL.Storage | Assignee: | Idan Shaby <ishaby> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Avihai <aefrat> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.2.0 | CC: | amureini, bugs, derez, ishaby | ||||
Target Milestone: | ovirt-4.2.0 | Flags: | rule-engine:
ovirt-4.2+
|
||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-12-20 11:19:16 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
Avihai
2017-11-19 09:01:21 UTC
Daniel/Idan - shouldn't this be solved as part of your current work? No, it doesn't seem to be related. It should be fixed regardless. Checked on ovirt-engine-4.2.0-0.0.master.20171124141652.gita5b4f9b.el7.centos.noarch . - Cancle works good , good job! - Resume does not work , see errors below . - > Do you want to open a new bug on this issue or reopen current bug ? Errors see after Resume: Engine proxy log: (Thread-14792) INFO 2017-11-28 14:04:44,891 web:95:web:(log_start) START [10.35.4.172] OPTIONS /images/9bc8e944-d5e3-45b2-91a7-07d052702081 (Thread-14792) INFO 2017-11-28 14:04:44,895 web:102:web:(log_finish) FINISH [10.35.4.172] OPTIONS /images/9bc8e944-d5e3-45b2-91a7-07d052702081: [204] 0 (0.00s) (Thread-14793) INFO 2017-11-28 14:04:44,912 web:95:web:(log_start) START [10.35.4.172] PUT /images/9bc8e944-d5e3-45b2-91a7-07d052702081 (Thread-14793) ERROR 2017-11-28 14:04:44,922 auth:312:root:(_decode_ovirt_ticket) Failed to verify proxy ticket: Ticket life time expired (Thread-14793) ERROR 2017-11-28 14:04:44,926 auth:131:root:(start_session) Error starting session: Unable to verify proxy ticket Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/auth.py", line 129, in start_session session_id = _create_update_session(ticket, session_id) File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/auth.py", line 192, in _create_update_session ticket_vars = _decode_proxy_ticket(authorization) File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/auth.py", line 235, in _decode_proxy_ticket payload = _decode_ovirt_ticket(ticket) File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/auth.py", line 313, in _decode_ovirt_ticket raise ValueError("Unable to verify proxy ticket") ValueError: Unable to verify proxy ticket (Thread-14793) WARNING 2017-11-28 14:04:44,936 web:112:web:(log_error) ERROR [10.35.4.172] PUT /images/9bc8e944-d5e3-45b2-91a7-07d052702081: [401] Could not initialize session: Unable to verify proxy ticket (0.03s) (Thread-14794) INFO 2017-11-28 14:04:47,979 web:95:web:(log_start) START [10.35.4.172] PUT /images/9bc8e944-d5e3-45b2-91a7-07d052702081 (Thread-14794) ERROR 2017-11-28 14:04:47,986 auth:312:root:(_decode_ovirt_ticket) Failed to verify proxy ticket: Ticket life time expired (Thread-14794) ERROR 2017-11-28 14:04:47,987 auth:131:root:(start_session) Error starting session: Unable to verify proxy ticket Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/auth.py", line 129, in start_session session_id = _create_update_session(ticket, session_id) File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/auth.py", line 192, in _create_update_session ticket_vars = _decode_proxy_ticket(authorization) File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/auth.py", line 235, in _decode_proxy_ticket payload = _decode_ovirt_ticket(ticket) File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/auth.py", line 313, in _decode_ovirt_ticket raise ValueError("Unable to verify proxy ticket") ValueError: Unable to verify proxy ticket (Thread-14794) WARNING 2017-11-28 14:04:47,988 web:112:web:(log_error) ERROR [10.35.4.172] PUT /images/9bc8e944-d5e3-45b2-91a7-07d052702081: [401] Could not initialize session: Unable to verify proxy ticket (0.01s) (Thread-14795) INFO 2017-11-28 14:04:51,014 web:95:web:(log_start) START [10.35.4.172] PUT /images/9bc8e944-d5e3-45b2-91a7-07d052702081 (Thread-14795) ERROR 2017-11-28 14:04:51,018 auth:312:root:(_decode_ovirt_ticket) Failed to verify proxy ticket: Ticket life time expired (Thread-14795) ERROR 2017-11-28 14:04:51,019 auth:131:root:(start_session) Error starting session: Unable to verify proxy ticket Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/auth.py", line 129, in start_session session_id = _create_update_session(ticket, session_id) File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/auth.py", line 192, in _create_update_session ticket_vars = _decode_proxy_ticket(authorization) File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/auth.py", line 235, in _decode_proxy_ticket payload = _decode_ovirt_ticket(ticket) File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/auth.py", line 313, in _decode_ovirt_ticket raise ValueError("Unable to verify proxy ticket") ValueError: Unable to verify proxy ticket (Thread-14795) WARNING 2017-11-28 14:04:51,019 web:112:web:(log_error) ERROR [10.35.4.172] PUT /images/9bc8e944-d5e3-45b2-91a7-07d052702081: [401] Could not initialize session: Unable to verify proxy ticket (0.01s) VDSM image proxy log: 2017-11-28 14:04:42,426 INFO (ticket.server) [web] START [/] PATCH /tickets/9bc8e944-d5e3-45b2-91a7-07d052702081 2017-11-28 14:04:42,428 WARNING (ticket.server) [web] ERROR [/] PATCH /tickets/9bc8e944-d5e3-45b2-91a7-07d052702081: [404] No such ticket: 9bc8e944-d5e3-45b2-91a7-07d052702081 (0.00s) 2017-11-28 14:04:52,534 INFO (ticket.server) [web] START [/] PATCH /tickets/9bc8e944-d5e3-45b2-91a7-07d052702081 2017-11-28 14:04:52,536 WARNING (ticket.server) [web] ERROR [/] PATCH /tickets/9bc8e944-d5e3-45b2-91a7-07d052702081: [404] No such ticket: 9bc8e944-d5e3-45b2-91a7-07d052702081 (0.00s) 2017-11-28 14:04:52,631 INFO (ticket.server) [web] START [/] GET /tickets/9bc8e944-d5e3-45b2-91a7-07d052702081 2017-11-28 14:04:52,632 WARNING (ticket.server) [web] ERROR [/] GET /tickets/9bc8e944-d5e3-45b2-91a7-07d052702081: [404] No such ticket u'9bc8e944-d5e3-45b2-91a7-07d052702081' (0.00s) VDSM: 2017-11-28 14:04:52,641+0200 ERROR (jsonrpc/3) [storage.Dispatcher] FINISH get_image_ticket error=Image daemon request failed: u"status=404, code=404, title=Not Found, explanation=The resource could not be found ., detail=No such ticket u'9bc8e944-d5e3-45b2-91a7-07d052702081', reason=Not Found" (dispatcher:82) Hi Avihai, You can't resume a transfer (upload or download) after rebooting the daemon. This is not a bug, it's the design. In case that the daemon is restarted, the tickets are lost and therefore your only option is to start a new transfer. (In reply to Idan Shaby from comment #4) > Hi Avihai, > > You can't resume a transfer (upload or download) after rebooting the daemon. > This is not a bug, it's the design. > In case that the daemon is restarted, the tickets are lost and therefore > your only option is to start a new transfer. Ok, in that case I would expect that UI will no give me the option to resume at all right-> UI bug/RFE. Anyway , this bug is verified on: ovirt-engine-4.2.0-0.0.master.20171124141652.gita5b4f9b.el7.centos.noarch . This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |