CheckMK upgrade 2.1.0p15 -> 2.3.0p27 - Failed to parse graph update response: ERROR: None

CMK version: 2.3.0p27
OS version: openSUSE 15.4

Error message:

File "/omd/sites/sitename/lib/python3/cmk/gui/wsgi/applications/checkmk.py", line 188, in _process_request
    resp = page_handler()
  File "/omd/sites/sitename/lib/python3/cmk/gui/wsgi/applications/utils.py", line 113, in _call_auth
    func()
  File "/omd/sites/sitename/lib/python3/cmk/gui/pages.py", line 187, in wrapper
    return hc().handle_page()
  File "/omd/sites/sitename/lib/python3/cmk/gui/pages.py", line 51, in handle_page
    self.page()
  File "/omd/sites/sitename/lib/python3/cmk/gui/pages.py", line 146, in <lambda>
    "page": lambda self: self._wrapped_callable[0](),
  File "/omd/sites/sitename/lib/python3/cmk/gui/views/page_show_view.py", line 100, in page_show_view
    process_view(GUIViewRenderer(view, show_buttons=True))
  File "/omd/sites/sitename/lib/python3/cmk/gui/views/page_show_view.py", line 174, in process_view
    _process_regular_view(view_renderer)
  File "/omd/sites/sitename/lib/python3/cmk/gui/views/page_show_view.py", line 192, in _process_regular_view
    _show_view(view_renderer, unfiltered_amount_of_rows, rows)
  File "/omd/sites/sitename/lib/python3/cmk/gui/views/page_show_view.py", line 412, in _show_view
    view_renderer.render(
  File "/omd/sites/sitename/lib/python3/cmk/gui/view_renderer.py", line 268, in render
    layout.render(
  File "/omd/sites/sitename/lib/python3/cmk/gui/views/layout/layouts.py", line 175, in render
    self._render_group(rows_with_ids, view, group_cells, cells, show_checkboxes)
  File "/omd/sites/sitename/lib/python3/cmk/gui/views/layout/layouts.py", line 254, in _render_group
    cell.paint(row, render_link_to_view)
  File "/omd/sites/sitename/lib/python3/cmk/gui/painter/v0/base.py", line 699, in paint
    tdclass, content = self.render(row, link_renderer)
  File "/omd/sites/sitename/lib/python3/cmk/gui/painter/v0/base.py", line 537, in render
    tdclass, content = self.render_content(row)
  File "/omd/sites/sitename/lib/python3/cmk/gui/painter/v0/base.py", line 691, in render_content
    return painter.render(row, self)
  File "/omd/sites/sitename/lib/python3/cmk/gui/views/graph.py", line 344, in render
    return paint_cmk_graphs_with_timeranges(row, cell)
  File "/omd/sites/sitename/lib/python3/cmk/gui/views/graph.py", line 265, in paint_cmk_graphs_with_timeranges
    return paint_time_graph_cmk(
  File "/omd/sites/sitename/lib/python3/cmk/gui/views/graph.py", line 191, in paint_time_graph_cmk
    graph_render_config = GraphRenderConfig.from_user_context_and_options(
  File "/omd/sites/sitename/lib/python3/cmk/gui/graphing/_graph_render_config.py", line 98, in from_user_context_and_options
    return cls(
  File "/omd/sites/sitename/lib/python3.12/site-packages/pydantic/main.py", line 164, in __init__
    __pydantic_self__.__pydantic_validator__.validate_python(data, self_instance=__pydantic_self__)

Hello All,
after upgrading checkmk version from 2.1 to 2.3 the graphs are not more shown:

The screen is being taken in a remote site, on the central site i got this error instead, while trying to view a graph:
image

Any guess on how to resolve the issue or why it is happening ?

Thanks,
Davide

Unclear as you have not given any detail as to the way (path) you followed upgrading from 2.1.0p15 → 2.3.0p27

Did you follow the recommended intermediate upgrades as discussed in this post ?

  • Glowsome

Hi Michael,
yes, I upgraded to the latest 2.1 version then to the latest 2.2 version and at the end to the latest 2.3.
Unfortunately, at the time, the latest version of the 2.3 was the p13 and a couple of weeks we applied the update this warning come out:

Today, I have updated the remote site to the patch 27, but this does not resolved the issue.
I still have the backup of the remote site at version 2.2.0p31, should i roll back and then update directly to the 2.3.0p27 ?

I want to add that the central site is a 2.2.0p31 and the graph of host managed directly by this site are showed and rendered correctly.
The strange thing, is that a couple o months ago we created a new site with 2.3.0.p23 from fresh installation and in this site the graphs are not rendered correctly, so is it legit to assume that there is some incompatibility between central and remote site versions ?

I am unfortunately unable to provide you with an answer to this, as i do not use a distributed setup.
Also the warning/issue you are describing was at a time where i was still trying to solve own setup issues which kept me from upgrading my setup at that time.

I do not recall me - when transferring from 2.2 → 2.3 that i did take this intermediate step, maybe i just got lucky ?

  • Glowsome

Update,
i have just downgraded the remote site to the central site version through the command line, (not from backup) and now i can view correctly graphs both from remote site and central site.

Since i have about 50 remote site, it is less expensive to just update the central site to the 2.3.

Even if different major release are supported (Distributed monitoring - Scaling and distributing Checkmk) i believe that not every feature is available.
PS. i have rolled back the central site due to a problem with apache, there was an abnourmous number of session opened which casued an elevated CPU usage and the impossibility to log to the dashboard.
Now i will retry the upgrade on the central site to a different version than before setting a limit to the maximum numbero of apache connection available.

Thanks,
Davide

For as far as i read up (after having seen your issue, and for others who read it, please correct me on it as i have limited insight in a/the situation) .

[ removed] - i stand corrected by @aeckstein - thankyou for giving me clarification

  • Glowsome

No, this is wrong. Please Read the Upgrade guide. Remotes first and the the central site last.

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.