Activity log for bug #1755580

Date Who What changed Old value New value Message
2018-03-13 20:02:58 Jeff Pihach bug added bug
2018-03-13 20:07:51 Jeff Pihach description When making a request over the API for a 4 core CPU if the call uses the legacy key 'cpu-cores' it will disregard that constraint when requesting a new machine. If you send the request using the 'cores' constraint then it will create a machine with the appropriate number of cores. This has caused a regression in the GUI: https://github.com/juju/juju-gui/issues/3560 as we must support multiple versions of Juju and there doesn't appear to have been a facade bump for this change. DOESN'T WORK (cpu-cores) {"type":"Client","request":"AddMachines","params":{"params":[{"jobs":["JobHostUnits"],"series":null,"parent-id":null,"container-type":null,"constraints":{"cpu-cores":4}}]},"version":1,"request-id":17} WORKS (cores) {"type":"Client","request":"AddMachines","params":{"params":[{"jobs":["JobHostUnits"],"series":null,"parent-id":null,"container-type":null,"constraints":{"cores":4}}]},"version":1,"request-id":7} Juju version: 2.3.4-xenial-amd64 When making a request over the API for a 4 core CPU if the call uses the legacy key 'cpu-cores' it will disregard that constraint when requesting a new machine. If you send the request using the 'cores' constraint then it will create a machine with the appropriate number of cores. This has caused a regression in the GUI: https://github.com/juju/juju-gui/issues/3560 as we must support multiple versions of Juju and there doesn't appear to have been a facade bump for this change. DOESN'T WORK (cpu-cores) {"type":"Client","request":"AddMachines","params":{"params":[{"jobs":["JobHostUnits"],"series":null,"parent-id":null,"container-type":null,"constraints":{"cpu-cores":4}}]},"version":1,"request-id":17} WORKS (cores) {"type":"Client","request":"AddMachines","params":{"params":[{"jobs":["JobHostUnits"],"series":null,"parent-id":null,"container-type":null,"constraints":{"cores":4}}]},"version":1,"request-id":7}
2018-03-13 21:27:49 Nicholas Skaggs juju: status New Triaged
2018-03-13 21:27:53 Nicholas Skaggs juju: importance Undecided Medium
2018-03-13 21:28:05 Nicholas Skaggs tags bitesize
2022-11-03 15:40:51 Canonical Juju QA Bot juju: importance Medium Low
2022-11-03 15:40:52 Canonical Juju QA Bot tags bitesize bitesize expirebugs-bot