Skip to content

Commit b62aeec

Browse files
committed
Release 1.6.3
Merge branch 'develop' into master
2 parents 2c98a0c + 31caaa4 commit b62aeec

File tree

16 files changed

+914
-34
lines changed

16 files changed

+914
-34
lines changed

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ko_fi: sleepingkyoto
2+
custom:
3+
- "https://monappy.jp/u/lae"

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,22 @@ pve_datacenter_cfg:
435435
keyboard: en-us
436436
```
437437

438+
You can also configure [HA manager groups][ha-group]:
439+
```
440+
pve_cluster_ha_groups: [] # List of HA groups to create in PVE.
441+
```
442+
443+
This example creates a group "lab_node01" for resources assigned to the
444+
lab-node01 host:
445+
```
446+
pve_cluster_ha_groups:
447+
- name: lab_node01
448+
comment: "My HA group"
449+
nodes: "lab-node01"
450+
nofailback: 0
451+
restricted: 0
452+
```
453+
438454
All configuration options supported in the datacenter.cfg file are documented in the
439455
[Proxmox manual datacenter.cfg section][datacenter-cfg].
440456

@@ -564,7 +580,8 @@ successfully used this role to deploy PVE Ceph, it is not fully tested in CI
564580
deploy a test environment with your configuration first prior to prod, and
565581
report any issues if you run into any.
566582

567-
This role can configure the Ceph storage system on your Proxmox hosts.
583+
This role can configure the Ceph storage system on your Proxmox hosts. The
584+
following definitions show some of the configurations that are possible.
568585

569586
```
570587
pve_ceph_enabled: true
@@ -590,13 +607,16 @@ pve_ceph_pools:
590607
rule: ssd
591608
application: rbd
592609
storage: true
610+
# This Ceph pool uses custom size/replication values
593611
- name: hdd
594612
pgs: 32
595613
rule: hdd
596614
application: rbd
597615
storage: true
598-
# A CephFS filesystem not defined as a Proxmox storage
616+
size: 2
617+
min-size: 1
599618
pve_ceph_fs:
619+
# A CephFS filesystem not defined as a Proxmox storage
600620
- name: backup
601621
pgs: 64
602622
rule: hdd
@@ -628,3 +648,5 @@ Michael Holasek ([@mholasek](https://github.com/mholasek))
628648
[acl-module]: https://github.com/lae/ansible-role-proxmox/blob/master/library/proxmox_group.py
629649
[storage-module]: https://github.com/lae/ansible-role-proxmox/blob/master/library/proxmox_storage.py
630650
[datacenter-cfg]: https://pve.proxmox.com/wiki/Manual:_datacenter.cfg
651+
[ceph_volume]: https://github.com/ceph/ceph-ansible/blob/master/library/ceph_volume.py
652+
[ha-group]: https://pve.proxmox.com/wiki/High_Availability#ha_manager_groups

Vagrantfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Vagrant.configure("2") do |config|
44
config.vm.provider :libvirt do |libvirt|
55
libvirt.memory = 2048
66
libvirt.cpus = 2
7+
libvirt.storage :file, :size => '2G'
78
end
89

910
N = 3
@@ -12,6 +13,11 @@ Vagrant.configure("2") do |config|
1213
machine.vm.hostname = "pve-#{machine_id}"
1314

1415
if machine_id == N
16+
machine.vm.provision :ansible do |ansible|
17+
ansible.limit = "all,localhost"
18+
ansible.playbook = "tests/vagrant/package_role.yml"
19+
ansible.verbose = true
20+
end
1521
machine.vm.provision :ansible do |ansible|
1622
ansible.limit = "all"
1723
ansible.playbook = "tests/vagrant/provision.yml"

defaults/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ pve_cluster_clustername: "{{ pve_group }}"
3232
# pve_cluster_addr0: "{{ ansible_default_ipv4.address }}"
3333
# pve_cluster_addr1: "{{ ansible_eth1.ipv4.address }}
3434
pve_datacenter_cfg: {}
35+
pve_cluster_ha_groups: []
3536
pve_ssl_letsencrypt: false
3637
pve_groups: []
3738
pve_users: []
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
diff -ur /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
2+
--- /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js 2019-12-17 11:02:52.000000000 +0000
3+
+++ /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js 2020-01-18 16:29:37.362953621 +0000
4+
@@ -6016,7 +6016,7 @@
5+
var update_btn = new Ext.Button({
6+
text: gettext('Refresh'),
7+
handler: function() {
8+
- Proxmox.Utils.checked_command(function() { apt_command('update'); });
9+
+ apt_command('update');
10+
}
11+
});
12+
13+
diff -ur /usr/share/pve-manager/js/pvemanagerlib.js /usr/share/pve-manager/js/pvemanagerlib.js
14+
--- /usr/share/pve-manager/js/pvemanagerlib.js 2019-12-16 14:12:19.000000000 +0000
15+
+++ /usr/share/pve-manager/js/pvemanagerlib.js 2020-01-18 16:26:07.187536513 +0000
16+
@@ -19024,7 +19024,7 @@
17+
var version_btn = new Ext.Button({
18+
text: gettext('Package versions'),
19+
handler: function(){
20+
- Proxmox.Utils.checked_command(function() { me.showVersions(); });
21+
+ me.showVersions();
22+
}
23+
});
24+
25+
@@ -19288,7 +19288,7 @@
26+
{
27+
text: gettext('System Report'),
28+
handler: function() {
29+
- Proxmox.Utils.checked_command(function (){ me.showReport(); });
30+
+ me.showReport();
31+
}
32+
}
33+
],
34+
@@ -40472,7 +40472,6 @@
35+
handler: function(data) {
36+
me.login = null;
37+
me.updateLoginData(data);
38+
- Proxmox.Utils.checked_command(function() {}); // display subscription status
39+
}
40+
});
41+
}
File renamed without changes.

0 commit comments

Comments
 (0)