Bug 41642 - Падает при загрузке образа через web интерфейс
Summary: Падает при загрузке образа через web интерфейс
Status: CLOSED WORKSFORME
Alias: None
Product: Branch p10
Classification: Unclassified
Component: opennebula-sunstone (show other bugs)
Version: не указана
Hardware: x86_64 Linux
: P5 normal
Assignee: qa-team@altlinux.org
QA Contact: qa-p10@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-28 09:53 MSK by Alexander Makeenkov
Modified: 2022-12-01 17:19 MSK (History)
1 user (show)

See Also:


Attachments
logs (2.74 KB, application/octet-stream)
2021-12-28 09:54 MSK, Alexander Makeenkov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2021-12-28 09:53:19 MSK
При попытке загрузить образ в хранилище (Storage -> Images -> Create -> Upload) сервис падает с ошибкой:

дек 28 09:24:47 server-10-x86-64-20211228.localdomain ruby[6473]: == Sinatra has ended his set (crowd applauds)
дек 28 09:24:48 server-10-x86-64-20211228.localdomain ruby[6473]: /usr/lib/ruby/delegate.rb:343:in `write': closed stream (IOError)
дек 28 09:24:48 server-10-x86-64-20211228.localdomain ruby[6473]:         from /usr/lib/ruby/delegate.rb:343:in `<<'
дек 28 09:24:48 server-10-x86-64-20211228.localdomain ruby[6473]:         from /usr/lib/ruby/delegate.rb:343:in `block in delegating_block'
дек 28 09:24:48 server-10-x86-64-20211228.localdomain ruby[6473]:         from /usr/lib/ruby/gems/2.7.0/gems/thin-1.7.2/lib/thin/request.rb:79:in `parse'
дек 28 09:24:48 server-10-x86-64-20211228.localdomain ruby[6473]:         from /usr/lib/ruby/gems/2.7.0/gems/thin-1.7.2/lib/thin/connection.rb:39:in `receive_data'
дек 28 09:24:48 server-10-x86-64-20211228.localdomain ruby[6473]:         from /usr/lib/ruby/gems/2.7.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
дек 28 09:24:48 server-10-x86-64-20211228.localdomain ruby[6473]:         from /usr/lib/ruby/gems/2.7.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
дек 28 09:24:48 server-10-x86-64-20211228.localdomain ruby[6473]:         from /usr/lib/ruby/gems/2.7.0/gems/thin-1.7.2/lib/thin/backends/base.rb:73:in `start'
дек 28 09:24:48 server-10-x86-64-20211228.localdomain ruby[6473]:         from /usr/lib/ruby/gems/2.7.0/gems/thin-1.7.2/lib/thin/server.rb:162:in `start'
дек 28 09:24:48 server-10-x86-64-20211228.localdomain ruby[6473]:         from /usr/lib/ruby/gems/2.7.0/gems/rack-2.2.2/lib/rack/handler/thin.rb:22:in `run'
дек 28 09:24:48 server-10-x86-64-20211228.localdomain ruby[6473]:         from /usr/lib/ruby/gems/2.5.0/gems/sinatra-2.0.5/lib/sinatra/base.rb:1525:in `start_server'
дек 28 09:24:48 server-10-x86-64-20211228.localdomain ruby[6473]:         from /usr/lib/ruby/gems/2.5.0/gems/sinatra-2.0.5/lib/sinatra/base.rb:1459:in `run!'
дек 28 09:24:48 server-10-x86-64-20211228.localdomain ruby[6473]:         from /usr/lib/one/sunstone/sunstone-server.rb:990:in `<main>'
дек 28 09:24:48 server-10-x86-64-20211228.localdomain ruby[6473]: Thin web server (v1.7.2 codename Bachmanity)
дек 28 09:24:48 server-10-x86-64-20211228.localdomain ruby[6473]: Maximum connections set to 1024
дек 28 09:24:48 server-10-x86-64-20211228.localdomain ruby[6473]: Listening on 0.0.0.0:9869, CTRL+C to stop
дек 28 09:24:48 server-10-x86-64-20211228.localdomain ruby[6473]: Stopping ...
дек 28 09:24:48 server-10-x86-64-20211228.localdomain systemd[1]: opennebula-sunstone.service: Main process exited, code=exited, status=1/FAILURE
дек 28 09:24:48 server-10-x86-64-20211228.localdomain systemd[1]: opennebula-sunstone.service: Failed with result 'exit-code'.

Падает не сразу, может упасть на 18% загрузки, а может и на 70%.

Версии пакетов:
opennebula-sunstone-5.10.5-alt8
ruby-2.7.4-alt2.2.1
Comment 1 Alexander Makeenkov 2021-12-28 09:54:43 MSK
Created attachment 10089 [details]
logs
Comment 2 Alexander Makeenkov 2022-12-01 17:19:38 MSK
На данный момент ошибка больше не воспроизводится.

ruby-2.7.4-alt2.2.1
opennebula-sunstone-5.10.5-alt8