How to nova user shell from /sbin/nologin to /bin/bash
I have juno multinode setup with 1 controller, 2 compute and a network node. While trying to migrate a VM from one compute instance to another the VM instance goes to error state with a SSH error "
{"message": "Unexpected error while running command. |
| | Command: ssh 10.x.x.x mkdir -p /var/lib/nova/instances/c97c5b3d-fb91-4e7f-
8981-61d1743a0edb |
| | Exit code: 1 |
| | Stdout: u'This account is currently not available.\ |
| | ' |
| | Stderr: u'******************************************", "code": 500, "created":
"2014-11-21T17:42:54Z"}
I searched for a fix and one of the options was to change nova user shell from /sbin/nologin to /bin/bash.
What do we mean by changing nova user shell and how and where to do it? Also is this a valid option to fix this problem?