1.4rc3 set system image default-boot

I didn’t see this in phabricator, so I am wondering if anyone else has seen this.

It looks like 1.4rc3 ‘show system image’ list may not reflect the actual default boot image. It looks like 1.4rc3 lists as ‘default boot’ the system image from the last time that image was changed from within 1.4rc3 (which may not be the actual default boot image). To change the default boot image, you have to actually change it to a different boot image (not merely ‘set’ it again to what is already listed).

Steps to reproduce:

Start with a system that has several images (mine has 1.3.4, 1.3.5, 1.3.6, 1.4rc3)
Boot into 1.4rc3
‘show version’ to confirm you’re running 1.4rc3
‘set system image default-boot 1.3.6’
‘show system image’ to confirm 1.3.6 is now the default boot
reboot
‘show version’ to confirm you’re running 1.3.6
'show system image" to confirm that 1.3.6 is default boot
‘set system image default-boot 1.4rc3’
reboot
‘show version’ to confirm you’re running 1.4rc3
‘show system image’ and see that 1.3.6 is still listed as default boot
‘set system image default-boot 1.3.6’ and read message: ‘The image “1.3.6” is already configured as default’
reboot
‘show version’ to see that you are still running 1.4rc3
‘set system image default-boot 1.3.5’
‘show system image’ to see that the default boot is now 1.3.5
reboot
‘show version’ to see that you are now running 1.3.5

So 1.4rc3 seems to update/change the default boot version only when the default boot is actually changed from within 1.4rc3.

Thanks @gus, I will take a look. Please open a phabricator task with the above information, and I will address.