@Peng Peng
Here is my operation, but I can not reproduce your problem:
1. careat an VM:
nova boot --nic net-id=d84f5dc2-26fd-41fa-a673-b502a0d0de43 --image adcca643-ba09-437a-a966-9d486bcb782c --flavor 36d5ae34-8668-4efb-8bc4-2c98972fc217 --config-drive true --admin-pass Fh123456 --user-data test.config xiexie-5
and this is mu test.config:
chpasswd:
list: | root:rootroot centos:centos
expire: false
ssh_pwauth: yes
power_state:
delay: now
mode: reboot
message: reboot now
timeout: 30
condition: true
2. migrate the VM from compute-0 to compute-1
3. then lock compute-1
4. Lock successfully
And my ISO is 20190630....
Is my operation different from yours.
@Peng Peng d84f5dc2- 26fd-41fa- a673-b502a0d0de 43 --image adcca643- ba09-437a- a966-9d486bcb78 2c --flavor 36d5ae34- 8668-4efb- 8bc4-2c98972fc2 17 --config-drive true --admin-pass Fh123456 --user-data test.config xiexie-5
root:rootroot
centos: centos
Here is my operation, but I can not reproduce your problem:
1. careat an VM:
nova boot --nic net-id=
and this is mu test.config:
chpasswd:
list: |
expire: false
ssh_pwauth: yes
hostname: xiexie
resolv_conf:
nameservers: ['8.8.8.8']
searchdomains:
- localdomain
domain: localdomain
options:
rotate: true
timeout: 1
manage_resolv_conf: true
packages:
- vim
- wget
- httpd
timezone: 'Asia/Shanghai'
runcmd: enforcing/ SELINUX= disabled/ g", /etc/selinux/config ]
- [ sed, -i, "s/^ *SELINUX=
- [ mkdir, /dropme ]
- [ touch, /root/abc.txt ]
power_state:
delay: now
mode: reboot
message: reboot now
timeout: 30
condition: true
2. migrate the VM from compute-0 to compute-1
3. then lock compute-1
4. Lock successfully
And my ISO is 20190630....
Is my operation different from yours.