[PR #1950] [MERGED] Prometheus PVE Exporter: Add --default-timeout=300 to pip install commands #3309

Closed
opened 2025-11-20 06:04:06 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/1950
Author: @andygrunwald
Created: 2/2/2025
Status: Merged
Merged: 2/2/2025
Merged by: @MickLesk

Base: mainHead: pve-exporter-pip-timeout


📝 Commits (1)

  • 7019752 Prometheus PVE Exporter: Add --default-timeout=300 to pip install commands

📊 Changes

2 files changed (+2 additions, -2 deletions)

View changed files

📝 ct/prometheus-pve-exporter.sh (+1 -1)
📝 install/prometheus-pve-exporter-install.sh (+1 -1)

📄 Description

✍️ Description

Fixing the error

✔️  Setup Python3
⠹  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x774de82eea50>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/3d/3d/851129dfba38bf4bd8c0f1b42bc26b82bbdb49e360659f2e6062784ff48c/prometheus_pve_exporter-3.5.1-py3-none-any.whl
⠙  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x774de82ef050>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/3d/3d/851129dfba38bf4bd8c0f1b42bc26b82bbdb49e360659f2e6062784ff48c/prometheus_pve_exporter-3.5.1-py3-none-any.whl
⠇  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x774de82ef850>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/3d/3d/851129dfba38bf4bd8c0f1b42bc26b82bbdb49e360659f2e6062784ff48c/prometheus_pve_exporter-3.5.1-py3-none-any.whl
⠸  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x774de843b350>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/3d/3d/851129dfba38bf4bd8c0f1b42bc26b82bbdb49e360659f2e6062784ff48c/prometheus_pve_exporter-3.5.1-py3-none-any.whl
⠇  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x774de82f0550>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/3d/3d/851129dfba38bf4bd8c0f1b42bc26b82bbdb49e360659f2e6062784ff48c/prometheus_pve_exporter-3.5.1-py3-none-any.whl
⠸ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/3d/3d/851129dfba38bf4bd8c0f1b42bc26b82bbdb49e360659f2e6062784ff48c/prometheus_pve_exporter-3.5.1-py3-none-any.whl (Caused by ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x774de82f0b90>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)'))

⠼
[ERROR] in line 31: exit code 0: while executing command python3 -m pip install --quiet --root-user-action=ignore prometheus-pve-exporter


Prerequisites

  • Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.)
  • [] Testing performed (I have thoroughly tested my changes and verified expected functionality.)

🛠️ Type of Change

  • Bug fix (non-breaking change that resolves an issue)
  • [] New feature (non-breaking change that adds functionality)
  • [] Breaking change (fix or feature that would cause existing functionality to change unexpectedly)
  • [] New script (a fully functional and thoroughly tested script or set of scripts)

📋 Additional Information (optional)

None


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/community-scripts/ProxmoxVE/pull/1950 **Author:** [@andygrunwald](https://github.com/andygrunwald) **Created:** 2/2/2025 **Status:** ✅ Merged **Merged:** 2/2/2025 **Merged by:** [@MickLesk](https://github.com/MickLesk) **Base:** `main` ← **Head:** `pve-exporter-pip-timeout` --- ### 📝 Commits (1) - [`7019752`](https://github.com/community-scripts/ProxmoxVE/commit/701975229e2e444798f2b4899bf19fc86b7aad6d) Prometheus PVE Exporter: Add `--default-timeout=300` to pip install commands ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `ct/prometheus-pve-exporter.sh` (+1 -1) 📝 `install/prometheus-pve-exporter-install.sh` (+1 -1) </details> ### 📄 Description ## ✍️ Description Fixing the error ``` ✔️ Setup Python3 ⠹ WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x774de82eea50>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/3d/3d/851129dfba38bf4bd8c0f1b42bc26b82bbdb49e360659f2e6062784ff48c/prometheus_pve_exporter-3.5.1-py3-none-any.whl ⠙ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x774de82ef050>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/3d/3d/851129dfba38bf4bd8c0f1b42bc26b82bbdb49e360659f2e6062784ff48c/prometheus_pve_exporter-3.5.1-py3-none-any.whl ⠇ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x774de82ef850>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/3d/3d/851129dfba38bf4bd8c0f1b42bc26b82bbdb49e360659f2e6062784ff48c/prometheus_pve_exporter-3.5.1-py3-none-any.whl ⠸ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x774de843b350>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/3d/3d/851129dfba38bf4bd8c0f1b42bc26b82bbdb49e360659f2e6062784ff48c/prometheus_pve_exporter-3.5.1-py3-none-any.whl ⠇ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x774de82f0550>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/3d/3d/851129dfba38bf4bd8c0f1b42bc26b82bbdb49e360659f2e6062784ff48c/prometheus_pve_exporter-3.5.1-py3-none-any.whl ⠸ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/3d/3d/851129dfba38bf4bd8c0f1b42bc26b82bbdb49e360659f2e6062784ff48c/prometheus_pve_exporter-3.5.1-py3-none-any.whl (Caused by ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x774de82f0b90>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')) ⠼ [ERROR] in line 31: exit code 0: while executing command python3 -m pip install --quiet --root-user-action=ignore prometheus-pve-exporter ``` - - - - Related Issue: #1936 - - - ## ✅ Prerequisites - [X] Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.) - [] Testing performed (I have thoroughly tested my changes and verified expected functionality.) ## 🛠️ Type of Change - [X] Bug fix (non-breaking change that resolves an issue) - [] New feature (non-breaking change that adds functionality) - [] Breaking change (fix or feature that would cause existing functionality to change unexpectedly) - [] New script (a fully functional and thoroughly tested script or set of scripts) --- ## 📋 Additional Information (optional) None --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2025-11-20 06:04:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#3309