Commit 1c1611d
authored
Ubuntu 26.04: remove requiretty from /etc/sudoers.d/cloudstack and fix setup-sysvm-tmplt (#13476)
* debian/rules: remove requiretty from /etc/sudoers.d/cloudstack
* fix scripts/storage/secondary/setup-sysvm-tmplt
/tmp is a tmpfs type of filesystem
```
root@mgmt1:~# /usr/share/cloudstack-common/scripts/storage/secondary/setup-sysvm-tmplt -u 002c593f-eac9-4fee-85dd-44887a3f2042 -f /usr/share/cloudstack-m
+anagement/templates/systemvm/systemvmtemplate-4.22.0-x86_64-kvm.qcow2.bz2 -h kvm -d /tmp/tmp5782242889444060623/template/tmpl/1/3
....
Insufficient free disk space for target folder /tmp/tmp5782242889444060623/template/tmpl/1/3: avail=1739872k req=2120000k
root@mgmt1:~# mount | grep /tmp
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,nr_inodes=1048576,inode64,usrquota)
```
* marvin: revert mysql-connector-python to 8.0.30
* Apply "mysql-connector-python >= 8.4.0",
* register systemvm template via /var/tmp in java too
* Revert "register systemvm template via /var/tmp in java too"
This reverts commit c0147c5.
* mgmt: add -Djava.io.tmpdir=/var/tmp to JAVA_OPTS
* fix scripts/storage/secondary/createtmplt.sh1 parent 265b554 commit 1c1611dCopy full SHA for 1c1611d
4 files changed
+4-3Lines changed: 4 additions & 3 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- debian
- packaging/systemd
- scripts/storage/secondary
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
95 | 95 | |
96 | 96 | |
97 | 97 | |
| 98 | + |
98 | 99 | |
99 | 100 | |
100 | 101 | |
|
Collapse file
packaging/systemd/cloudstack-management.default
Copy file name to clipboardExpand all lines: packaging/systemd/cloudstack-management.default+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | | - |
| 18 | + |
19 | 19 | |
20 | 20 | |
21 | 21 | |
|
Collapse file
scripts/storage/secondary/createtmplt.sh
Copy file name to clipboardExpand all lines: scripts/storage/secondary/createtmplt.sh+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
218 | 218 | |
219 | 219 | |
220 | 220 | |
221 | | - |
| 221 | + |
222 | 222 | |
223 | 223 | |
224 | 224 | |
|
Collapse file
scripts/storage/secondary/setup-sysvm-tmplt
Copy file name to clipboardExpand all lines: scripts/storage/secondary/setup-sysvm-tmplt+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
105 | 105 | |
106 | 106 | |
107 | 107 | |
108 | | - |
| 108 | + |
109 | 109 | |
110 | 110 | |
111 | 111 | |
|
0 commit comments