Clarification on PetaSAN_Online_Upgrade_Guide

neiltorda
99 Posts
August 9, 2023, 2:03 pmQuote from neiltorda on August 9, 2023, 2:03 pmI updated to 3.2.1 on this cluster following the guide, rebooted all nodes. Issue with graphs not working is still present.
I updated to 3.2.1 on this cluster following the guide, rebooted all nodes. Issue with graphs not working is still present.

admin
2,981 Posts
August 9, 2023, 2:41 pmQuote from admin on August 9, 2023, 2:41 pmMaybe related to
https://www.petasan.org/forums/?view=thread&id=1220
Maybe related to
https://www.petasan.org/forums/?view=thread&id=1220

neiltorda
99 Posts
August 14, 2023, 12:38 pmQuote from neiltorda on August 14, 2023, 12:38 pm
Quote from admin on August 9, 2023, 2:41 pm
Maybe related to
https://www.petasan.org/forums/?view=thread&id=1220
THANKS!
This was the issue, performing the following fixed the error with graphs not working:
FIX:
1. change in /usr/lib/python3/dist-packages/graphite/render/views.py:
from cgi import parse_qs
to:
from urllib.parse import parse_qs
2. then determine which server is running stats:
/opt/petasan/scripts/util/get_cluster_leader.py
3. restart stats server
/opt/petasan/scripts/stats-stop.sh
/opt/petasan/scripts/stats-setup.sh
/opt/petasan/scripts/stats-start.sh
Quote from admin on August 9, 2023, 2:41 pm
Maybe related to
https://www.petasan.org/forums/?view=thread&id=1220
THANKS!
This was the issue, performing the following fixed the error with graphs not working:
FIX:
1. change in /usr/lib/python3/dist-packages/graphite/render/views.py:
from cgi import parse_qs
to:
from urllib.parse import parse_qs
2. then determine which server is running stats:
/opt/petasan/scripts/util/get_cluster_leader.py
3. restart stats server
/opt/petasan/scripts/stats-stop.sh
/opt/petasan/scripts/stats-setup.sh
/opt/petasan/scripts/stats-start.sh

admin
2,981 Posts
August 14, 2023, 1:51 pmQuote from admin on August 14, 2023, 1:51 pmThanks all for the feedback. we did update the online update script to handle this.
Apparently we corrected this issue by applying a patch when we install a fresh system, but if an updated graphite package gets downloaded from ubuntu repository, it will still have the issue and will over-write the install package. the online script will silently handle this.
Thanks all for the feedback. we did update the online update script to handle this.
Apparently we corrected this issue by applying a patch when we install a fresh system, but if an updated graphite package gets downloaded from ubuntu repository, it will still have the issue and will over-write the install package. the online script will silently handle this.
Clarification on PetaSAN_Online_Upgrade_Guide
neiltorda
99 Posts
Quote from neiltorda on August 9, 2023, 2:03 pmI updated to 3.2.1 on this cluster following the guide, rebooted all nodes. Issue with graphs not working is still present.
I updated to 3.2.1 on this cluster following the guide, rebooted all nodes. Issue with graphs not working is still present.
admin
2,981 Posts
Quote from admin on August 9, 2023, 2:41 pmMaybe related to
https://www.petasan.org/forums/?view=thread&id=1220
Maybe related to
https://www.petasan.org/forums/?view=thread&id=1220
neiltorda
99 Posts
Quote from neiltorda on August 14, 2023, 12:38 pmQuote from admin on August 9, 2023, 2:41 pmMaybe related to
https://www.petasan.org/forums/?view=thread&id=1220
THANKS!
This was the issue, performing the following fixed the error with graphs not working:
FIX:
1. change in /usr/lib/python3/dist-packages/graphite/render/views.py:
from cgi import parse_qs
to:
from urllib.parse import parse_qs2. then determine which server is running stats:
/opt/petasan/scripts/util/get_cluster_leader.py
3. restart stats server
/opt/petasan/scripts/stats-stop.sh
/opt/petasan/scripts/stats-setup.sh
/opt/petasan/scripts/stats-start.sh
Quote from admin on August 9, 2023, 2:41 pmMaybe related to
https://www.petasan.org/forums/?view=thread&id=1220
THANKS!
This was the issue, performing the following fixed the error with graphs not working:
FIX:
1. change in /usr/lib/python3/dist-packages/graphite/render/views.py:
from cgi import parse_qs
to:
from urllib.parse import parse_qs
2. then determine which server is running stats:
/opt/petasan/scripts/util/get_cluster_leader.py
3. restart stats server
/opt/petasan/scripts/stats-stop.sh
/opt/petasan/scripts/stats-setup.sh
/opt/petasan/scripts/stats-start.sh
admin
2,981 Posts
Quote from admin on August 14, 2023, 1:51 pmThanks all for the feedback. we did update the online update script to handle this.
Apparently we corrected this issue by applying a patch when we install a fresh system, but if an updated graphite package gets downloaded from ubuntu repository, it will still have the issue and will over-write the install package. the online script will silently handle this.
Thanks all for the feedback. we did update the online update script to handle this.
Apparently we corrected this issue by applying a patch when we install a fresh system, but if an updated graphite package gets downloaded from ubuntu repository, it will still have the issue and will over-write the install package. the online script will silently handle this.