Title: SystemVM template upgrade fails on security hardened management servers · Issue #10029 · apache/cloudstack · GitHub
Open Graph Title: SystemVM template upgrade fails on security hardened management servers · Issue #10029 · apache/cloudstack
X Title: SystemVM template upgrade fails on security hardened management servers · Issue #10029 · apache/cloudstack
Description: ISSUE TYPE Improvement Request COMPONENT NAME Upgrade, systemVM template CLOUDSTACK VERSION 4.19.1.3 CONFIGURATION Upgrade from 4.18.2.3 to 4.19.1.3 OS / ENVIRONMENT EL SUMMARY On management servers with security hardening implemented fo...
Open Graph Description: ISSUE TYPE Improvement Request COMPONENT NAME Upgrade, systemVM template CLOUDSTACK VERSION 4.19.1.3 CONFIGURATION Upgrade from 4.18.2.3 to 4.19.1.3 OS / ENVIRONMENT EL SUMMARY On management server...
X Description: ISSUE TYPE Improvement Request COMPONENT NAME Upgrade, systemVM template CLOUDSTACK VERSION 4.19.1.3 CONFIGURATION Upgrade from 4.18.2.3 to 4.19.1.3 OS / ENVIRONMENT EL SUMMARY On management server...
Opengraph URL: https://github.com/apache/cloudstack/issues/10029
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SystemVM template upgrade fails on security hardened management servers ","articleBody":"\u003c!--\r\nVerify first that your issue/request is not already reported on GitHub.\r\nAlso test if the latest release and main branch are affected too.\r\nAlways add information AFTER of these HTML comments, but no need to delete the comments.\r\n--\u003e\r\n\r\n##### ISSUE TYPE\r\n\u003c!-- Pick one below and delete the rest --\u003e\r\n* Improvement Request\r\n\r\n\r\n##### COMPONENT NAME\r\n\u003c!--\r\nCategorize the issue, e.g. API, VR, VPN, UI, etc.\r\n--\u003e\r\n~~~\r\nUpgrade, systemVM template\r\n~~~\r\n\r\n##### CLOUDSTACK VERSION\r\n\u003c!--\r\nNew line separated list of affected versions, commit ID for issues on main branch.\r\n--\u003e\r\n\r\n~~~\r\n4.19.1.3\r\n~~~\r\n\r\n##### CONFIGURATION\r\n\u003c!--\r\nInformation about the configuration if relevant, e.g. basic network, advanced networking, etc. N/A otherwise\r\n--\u003e\r\n\r\nUpgrade from 4.18.2.3 to 4.19.1.3\r\n\r\n##### OS / ENVIRONMENT\r\n\u003c!--\r\nInformation about the environment if relevant, N/A otherwise\r\n--\u003e\r\n\r\nEL \r\n\r\n##### SUMMARY\r\n\u003c!-- Explain the problem/feature briefly --\u003e\r\n\r\nOn management servers with security hardening implemented for example umask set to 0027 the systemVM template upgrade fails. Script 'setup-sysvm-tmplt' creates directory with 'sudo' but attempts to find the template without sudo. This fails in the secured operating systems. \r\n\r\n[cloud@mgmt1 ~]$ umask 0027\r\n[cloud@mgmt1 ~]$ sudo mkdir -p /tmp/tmp10896605671384965986/template/tmpl/1/8\r\n[cloud@mgmt1 ~]$ find /tmp/tmp10896605671384965986/template/tmpl/1/8 -name '*.ova'\r\nfind: ‘/tmp/tmp10896605671384965986/template/tmpl/1/8’: Permission denied\r\n\r\n\r\n##### STEPS TO REPRODUCE\r\n\u003c!--\r\nFor bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.\r\n\r\nFor new features, show how the feature would be used.\r\n--\u003e\r\n\r\n\u003c!-- Paste example playbooks or commands between quotes below --\u003e\r\n~~~\r\n1. Set umask to 0027 \r\n2. Upgrade cloudstack from 4.18.2.3 to 4.19.1.3\r\n~~~\r\n\r\n\u003c!-- You can also paste gist.github.com links for larger files --\u003e\r\n\r\n##### EXPECTED RESULTS\r\n\u003c!-- What did you expect to happen when running the steps above? --\u003e\r\n\r\n~~~\r\nSystemVM templates are upgraded.\r\n~~~\r\n\r\n##### ACTUAL RESULTS\r\n\u003c!-- What actually happened? --\u003e\r\n\r\n\u003c!-- Paste verbatim command output between quotes below --\u003e\r\n~~~\r\nSystemVM templates are not upgraded.\r\n~~~\r\n","author":{"url":"https://github.com/rajujith","@type":"Person","name":"rajujith"},"datePublished":"2024-12-03T11:48:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/10029/cloudstack/issues/10029"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:00629460-bd47-84e7-3c8a-900c05edd5e7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 90F4:2EB4CD:37C3F0E:4D3EDC0:6A4F3E8C |
| html-safe-nonce | 55774e062157bfcdee6571e2d475a1f99e2465b73d13cfbf3cf5d0dec3a29035 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEY0OjJFQjRDRDozN0MzRjBFOjREM0VEQzA6NkE0RjNFOEMiLCJ2aXNpdG9yX2lkIjoiMzQ3ODI1NjY0NDg1NjQzMDIyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ba370d07fa58c788df0836f06bf7deabae710a8e71fcce4e1ebbca2e6d7980e6 |
| hovercard-subject-tag | issue:2714799233 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack/10029/issue_layout |
| twitter:image | https://opengraph.githubassets.com/df9c468ca7b558281d08997455973032227a290ad7da72a9b83f6423bae069a0/apache/cloudstack/issues/10029 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/df9c468ca7b558281d08997455973032227a290ad7da72a9b83f6423bae069a0/apache/cloudstack/issues/10029 |
| og:image:alt | ISSUE TYPE Improvement Request COMPONENT NAME Upgrade, systemVM template CLOUDSTACK VERSION 4.19.1.3 CONFIGURATION Upgrade from 4.18.2.3 to 4.19.1.3 OS / ENVIRONMENT EL SUMMARY On management server... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rajujith |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/cloudstack git https://github.com/apache/cloudstack.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 9759448 |
| octolytics-dimension-repository_nwo | apache/cloudstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9759448 |
| octolytics-dimension-repository_network_root_nwo | apache/cloudstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width