[Bug 544355] New: [appliance 0.0.7] Icon of custom service not seen in Control Panel
http://bugzilla.novell.com/show_bug.cgi?id=544355 User jsuchome@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544355#c544332 Summary: [appliance 0.0.7] Icon of custom service not seen in Control Panel Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: WebYaST AssignedTo: schubi@novell.com ReportedBy: jsuchome@novell.com QAContact: qa@suse.de CC: lslezak@novell.com, mvidner@novell.com Depends on: 544332 Found By: --- +++ This bug was initially created as a clone of Bug #544332 +++ The icon for custom-services plugin is located under ..plugins/custom_services/public/icons directory, and shortcuts.yml refers to it as icon: 'icons/custom-service.png' However, the icon is not found in latest test appliance. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544355 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|544332 | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544355 User schubi@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544355#c1 Stefan Schubert <schubi@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Stefan Schubert <schubi@novell.com> 2009-10-06 05:27:22 MDT --- 10.10.0.163 waerden - [06/Oct/2009:13:26:31 +0200] "GET /icons/custom-service.png HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.11) Gecko/2009060200 SUSE/3.0.11-0.1 Firefox/3.0.11" runs with Mongrel and is not running with lighthttpd -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544355 User schubi@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544355#c2 Stefan Schubert <schubi@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkaempf@novell.com --- Comment #2 from Stefan Schubert <schubi@novell.com> 2009-10-06 06:42:52 MDT --- The initialization of the middleware stack seems to be ok: Rails.logger.info "xxxxxxxxxxxxxx #{plugin_assets.inspect}" init.configuration.middleware.use YaST::Rack::StaticOverlay, :roots => plugin_assets Logging: xxxxxxxxxxxxxx ["/srv/www/yast/vendor/plugins/custom_services/public"] It seems that we have the first case of not working stuff in lighttpd from which Carlos has already warned us :-( -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544355 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544355#c3 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Found By|--- |Development Target Milestone|--- |RC 1 --- Comment #3 from Klaus Kämpf <kkaempf@novell.com> 2009-10-06 09:44:24 MDT --- Is this a live ISO image ? See bnc#529655 in this case. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544355 User mvidner@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544355#c4 --- Comment #4 from Martin Vidner <mvidner@novell.com> 2009-10-07 00:10:59 MDT --- s/Carlos/Karel/ :-) No, it is a VMX image. BTW, there is a bug in status codes: in /srv/www/yast/log/lighttpd.access.log I see GET /icons/custom-service.png HTTP/1.1" 200 ... Notice the 200 status code even though the result is "It is embarrassing... no route matches..." -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544355 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544355#c5 --- Comment #5 from Klaus Kämpf <kkaempf@novell.com> 2009-10-07 02:12:58 MDT --- Does it work if you run webrick instead of lighttpd ? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544355 User lslezak@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544355#c6 --- Comment #6 from Ladislav Slezak <lslezak@novell.com> 2009-10-07 07:38:04 MDT --- Yes, it works with Webrick - tested on my WS using standard script/server launcher. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544355 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544355#c7 --- Comment #7 from Klaus Kämpf <kkaempf@novell.com> 2009-10-07 07:49:08 MDT --- Then I'd say its a duplicate of bnc#529655 (lighttpd using sendfile() for static files which is not supported by the underlying file system). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544355 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544355#c8 --- Comment #8 from Klaus Kämpf <kkaempf@novell.com> 2009-10-07 07:51:03 MDT --- So check the filesystem being used and eventually replace 'aufs' with 'clicfs'. Ask on the #builder channel for help. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544355 User lslezak@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544355#c9 --- Comment #9 from Ladislav Slezak <lslezak@novell.com> 2009-10-07 08:14:29 MDT --- No, the appliance is not a LiveCD, it's a disk image (for VMware or VirtualBox). It's running on ext3 fs: webyast-demo:/srv/www/yast/log # mount /dev/sda1 on / type ext3 (rw) .. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544355 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544355#c10 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |jsuchome@novell.com --- Comment #10 from Klaus Kämpf <kkaempf@novell.com> 2009-10-07 10:28:19 MDT --- Hmm, is it just one single file or are all static files (e.g. include the .css files) not properly transferred ? What does the error console of Firefox report ? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544355 User lslezak@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544355#c11 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|jsuchome@novell.com | --- Comment #11 from Ladislav Slezak <lslezak@novell.com> 2009-10-07 10:47:38 MDT --- It seems to be a problem of overlaid files - custom-service.png is not in webclient public/icons/ directory but in vendor/plugins/custom_services/public/icons/ directory which is overlaid by a Rack module defined in webclient/lib/yast/rack/static_overlay.rb file. Static files in webclient/public are transferred correctly (i.e. the other icons are displayed correctly). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544355 User lslezak@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544355#c12 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|schubi@novell.com |lslezak@novell.com --- Comment #12 from Ladislav Slezak <lslezak@novell.com> 2009-10-07 11:52:19 MDT --- I have found the difference: In Webrick/Mongrel the request is Request: resource: /icons/custom-service.png While in lighttpd it is: Request: resource: /dispatch.fcgi I'm working on the fix right now... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544355 User lslezak@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544355#c13 --- Comment #13 from Ladislav Slezak <lslezak@novell.com> 2009-10-07 12:30:41 MDT --- Well, the fix was not so easy, Rack expects the request path in env['PATH_INFO'] but lighttpd does not set it up and it failed at a nil exception. I had to add env['PATH_INFO'] = env['REQUEST_URI'] workaround. It seems that the environment is quite different compared to Webrick or Mongrel server... Fixed in yast2-webservice-0.0.6 and in yast2-webclient-0.0.6. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544355 User lslezak@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544355#c14 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #14 from Ladislav Slezak <lslezak@novell.com> 2009-10-07 12:31:14 MDT --- (Resolving to FIXED.) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544355 User lslezak@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544355#c15 --- Comment #15 from Ladislav Slezak <lslezak@novell.com> 2009-10-07 12:38:13 MDT --- Oops, it's in yast2-webservice-0.0.5... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com