Adding backup option for disks and fixing issues with updating compute node when unneeded #423
Annotations
8 errors
Run rake test:foreman_fog_proxmox:
foreman_fog_proxmox/test/unit/foreman_fog_proxmox/helpers/proxmox_container_helper_test.rb#L170
Failure: test_0005_#volume with rootfs 1Gb
Expected: "local-lvm:1"
Actual: "local-lvm:1,backup=1"
|
Run rake test:foreman_fog_proxmox:
foreman_fog_proxmox/test/unit/foreman_fog_proxmox/helpers/proxmox_container_helper_test.rb#L161
Failure: test_0004_#vm container
--- expected
+++ actual
@@ -1 +1 @@
-{"vmid"=>"100", "password"=>"proxmox01", "ostemplate"=>"local:vztmpl/alpine-3.7-default_20171211_amd64.tar.xz", "onboot"=>"0", "memory"=>"1024", "swap"=>"512", "cores"=>"1", "arch"=>"amd64", "ostype"=>"debian", "hostname"=>"toto-tata.pve", "net0"=>"name=eth0,bridge=vmbr0,ip=dhcp,ip6=dhcp,gw=192.168.56.100,gw6=2001:0:1234::c1c0:abcd:876", "net1"=>"name=eth1,bridge=vmbr0,ip=dhcp,ip6=dhcp,gw=192.168.56.100,gw6=2001:0:1234::c1c0:abcd:876", "rootfs"=>"local-lvm:1", "mp0"=>"local-lvm:1,mp=/opt/path"}
+{"vmid"=>"100", "password"=>"proxmox01", "ostemplate"=>"local:vztmpl/alpine-3.7-default_20171211_amd64.tar.xz", "onboot"=>"0", "memory"=>"1024", "swap"=>"512", "cores"=>"1", "arch"=>"amd64", "ostype"=>"debian", "hostname"=>"toto-tata.pve", "net0"=>"name=eth0,bridge=vmbr0,ip=dhcp,ip6=dhcp,gw=192.168.56.100,gw6=2001:0:1234::c1c0:abcd:876", "net1"=>"name=eth1,bridge=vmbr0,ip=dhcp,ip6=dhcp,gw=192.168.56.100,gw6=2001:0:1234::c1c0:abcd:876", "rootfs"=>"local-lvm:1,backup=1", "mp0"=>"local-lvm:1,mp=/opt/path,backup=1"}
|
Run rake test:foreman_fog_proxmox:
foreman_fog_proxmox/test/unit/foreman_fog_proxmox/proxmox_interfaces_test.rb#L150
Failure: test_0006_sets container compute ip DHCP, mac adress and firewall
Expected: "36:25:8C:53:0C:50"
Actual: "36:25:8c:53:0c:50"
|
Run rake test:foreman_fog_proxmox:
foreman_fog_proxmox/test/unit/foreman_fog_proxmox/proxmox_interfaces_test.rb#L72
Failure: test_0002_sets interface identifier with server compute id, ip and ip6 and mac adress
Expected: "36:25:8C:53:0C:50"
Actual: "36:25:8c:53:0c:50"
|
Run rake test:foreman_fog_proxmox:
foreman_fog_proxmox/test/unit/foreman_fog_proxmox/helpers/proxmox_server_helper_test.rb#L145
Failure: test_0007_#volume with virtio 10Gb
--- expected
+++ actual
@@ -1 +1 @@
-"local-lvm:10,cache=none"
+"local-lvm:10,cache=none,backup=1"
|
Run rake test:foreman_fog_proxmox:
foreman_fog_proxmox/test/unit/foreman_fog_proxmox/helpers/proxmox_server_helper_test.rb#L129
Failure: test_0005_#vm
--- expected
+++ actual
@@ -1 +1 @@
-{"vmid"=>"100", "name"=>"toto-tata.pve", "memory"=>"1024", "balloon"=>"512", "shares"=>"512", "cores"=>"1", "sockets"=>"1", "cpu"=>"cputype=kvm64,flags=+spec-ctrl", "net0"=>"model=virtio,bridge=vmbr0,firewall=0,link_down=0", "net1"=>"model=e1000,bridge=vmbr0,firewall=0,link_down=0", "scsi0"=>"local-lvm:10,cache=none", "virtio0"=>"local-lvm:10,cache=none", "ide2"=>"none,media=cdrom"}
+{"vmid"=>"100", "name"=>"toto-tata.pve", "cores"=>"1", "sockets"=>"1", "cpu"=>"cputype=kvm64,flags=+spec-ctrl", "memory"=>"1024", "balloon"=>"512", "shares"=>"512", "net0"=>"model=virtio,bridge=vmbr0,firewall=0,link_down=0", "net1"=>"model=e1000,bridge=vmbr0,firewall=0,link_down=0", "scsi0"=>"local-lvm:10,cache=none,backup=1", "virtio0"=>"local-lvm:10,cache=none,backup=1", "ide2"=>"none,media=cdrom"}
|
Run rake test:foreman_fog_proxmox:
foreman_fog_proxmox/test/unit/foreman_fog_proxmox/helpers/proxmox_server_helper_test.rb#L137
Failure: test_0006_#volume with scsi 10Gb
--- expected
+++ actual
@@ -1 +1 @@
-"local-lvm:10,cache=none"
+"local-lvm:10,cache=none,backup=1"
|
Run rake test:foreman_fog_proxmox
Process completed with exit code 1.
|
Loading