icon/statusmap images don't work after upgrading to Zesty

Bug #1683109 reported by Ben Coleman
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nagios-images (Ubuntu)
Fix Released
Undecided
Unassigned
Zesty
Fix Released
Undecided
Nish Aravamudan
nagios3 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

[Impact]

 * nagios3 icons are not displayed (404) on the nagios hosts (and other) pages.

[Test Case]

 * sudo apt install nagios3
 * Navigate to http://<ip>/nagios
 * Login with nagiosadmin & password as specified during package installation
 * Click on hosts link in left navigation panel
 * If the bug is fixed, the ubuntu icon will be displayed for the host. If not, it will show a missing icon image (and the network console in a browser debugger will show a 404).

[Regression Potential]

 * This is a case of Ubuntu and Debian being out of sync as Debian has already removed src:nagios3. The only regression potential appears to be if a user has manually fixed their filesystem by either copying directories around (from /usr/share/nagios to /usr/share/nagios3) or making a symlink. I believe in both cases, dpkg will indicate it is unable to proceed, but the resolution should be straight-forward. More likely, a user running Zesty (the only affected release) will have just assumed it was a bug.

---

I just upgraded my Nagios3 server from Yakkety to Zesty, and the icn and status map images no longer display. Icons come up as broken images, and status map images show as question marks. I can see the images under both /usr/share/nagios/htdocs/images/logos/ and /usr/share/nagios3/htdocs/images/logos/. Evidently, the images are for some reason not being found in either place.

Revision history for this message
Nish Aravamudan (nacc) wrote :

Thank you very much for filing this bug report!

Being completely ignorant of nagios, can you provide more concrete details of what you mean? I assume it's a webpage not displaying some graphics?

Please mark the bug as New again once you are able to provide that input.

Changed in nagios3 (Ubuntu):
status: New → Incomplete
Revision history for this message
Ben Coleman (oloryn) wrote :

Yes, this is the host icons not showing (or, specifically, pointing to the wrong location) on the map, hosts, services, host groups, and host groups/grid pages (at least).

Revision history for this message
Nish Aravamudan (nacc) wrote :

Thanks! I think the actual bug is in nagios-images, which in yakkety:

# dpkg -S /usr/share/nagios3/htdocs/images/logos/base
nagios-images: /usr/share/nagios3/htdocs/images/logos/base

But in zesty:

# dpkg -S /usr/share/nagios3/htdocs/images/logos/base
dpkg-query: no path found matching pattern /usr/share/nagios3/htdocs/images/logos/base

Changed in nagios3 (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Nish Aravamudan (nacc) wrote :

From nagios-images 0.9 changelog:

+ * Drop symlinks for nagios3 (no longer in Debian).

Well, they are still in Ubuntu :) (May get dropped this release, but not yet).

tags: added: bitesize server-next
Nish Aravamudan (nacc)
no longer affects: nagios3 (Ubuntu Zesty)
Nish Aravamudan (nacc)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nagios-images - 0.9.1ubuntu1

---------------
nagios-images (0.9.1ubuntu1) artful; urgency=medium

  * d/links: undrop symlinks for nagios3 which is still present in
    Ubuntu (but not Debian).
    - LP: #1683109

 -- Nishanth Aravamudan <email address hidden> Fri, 02 Jun 2017 09:57:39 -0700

Changed in nagios-images (Ubuntu):
status: New → Fix Released
Nish Aravamudan (nacc)
Changed in nagios-images (Ubuntu Zesty):
status: New → In Progress
assignee: nobody → Nish Aravamudan (nacc)
Revision history for this message
Andy Whitcroft (apw) wrote : Please test proposed package

Hello Ben, or anyone else affected,

Accepted nagios-images into zesty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nagios-images/0.9.1ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-zesty to verification-done-zesty. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-zesty. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in nagios-images (Ubuntu Zesty):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-zesty
Revision history for this message
Ben Coleman (oloryn) wrote :

I tried the proposed nagios-immages/0.9.1ubuntu0.1, and it indeed fixes this problem.

tags: added: verification-done-zesty
removed: verification-needed-zesty
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for nagios-images has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nagios-images - 0.9.1ubuntu0.1

---------------
nagios-images (0.9.1ubuntu0.1) zesty; urgency=medium

  * d/links: undrop symlinks for nagios3 which is still present in
    Ubuntu (but not Debian).
    - LP: #1683109

 -- Nishanth Aravamudan <email address hidden> Fri, 02 Jun 2017 10:05:35 -0700

Changed in nagios-images (Ubuntu Zesty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.