During provisioning, for example, state goes from MISSING -> STARTING -> UP and then back to STARTING, when it should be staying at UP.
machineDemo> creating packet device ...
machineDemo> project: '$PROJECT_ID'
machineDemo> facility: $FACILITY
machineDemo> keyid: $KEY_ID
machineDemo> instance id: $INSTANCE_ID
show_state = Missing
show_state = Starting
machineDemo> instance is in queued state
machineDemo> waiting for the machine to enter the state 'active' ...
machineDemo> instance is in queued state
...
machineDemo> instance is in provisioning, 75% done
machineDemo> instance is in active state
machineDemo> 2020-09-06T15:48:28Z -- Device connected to DHCP system
machineDemo> 2020-09-06T15:48:33Z -- Provision complete! Your device is ready to go.
show_state = Up
show_state = Starting # <---- bug
machineDemo> $IP
machineDemo> waiting for SSH.......
...
During provisioning, for example, state goes from
MISSING
->STARTING
->UP
and then back toSTARTING
, when it should be staying at UP.