Comment 3 for bug 2019507

Revision history for this message
yatin (yatinkarel) wrote :

Actual Error seems to be:-
2023-05-14 23:53:59.322 2 INFO nova.compute.manager [req-6a2a14ed-8e72-4667-8343-b78bced3f35e 4999fb34bfb24deba84baf1dcafa7c81 9ce6b58fff5f4dcaaea1e9dca253eb00 - default default] [instance: e73c2f3a-a4e8-43f6-a328-4ce2364b1269] Setting instance back to active after: Instance rollback performed due to: Resize error: not able to execute ssh command: Unexpected error while running command.
Command: ssh -o BatchMode=yes 172.17.0.31 mkdir -p /var/lib/nova/instances/e73c2f3a-a4e8-43f6-a328-4ce2364b1269
Exit code: 1
Stdout: 'This account is currently not available.\n'
Stderr: 'Could not chdir to home directory /home/nova_migration: No such file or directory\n'

Found https://review.opendev.org/c/openstack/tripleo-common/+/882335 which recently added the user in container images and that looks related as home directory is not created as part of useradd:-
useradd -l -M --shell /usr/sbin/nologin --uid 989 --gid 989 nova_migration

@Bogdan can you please check it.