[MOS][Centos7] user nova has nologin shell

Bug #1528883 reported by Nikita Karpin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Ivan Udovichenko

Bug Description

On Centos 7 node user nova has /sbin/nologin shell in /etc/passwd

Because of this migration is failing:

2015-12-23 15:34:44.982 7292 ERROR oslo_messaging.rpc.dispatcher ResizeError: Resize error: not able to execute ssh command: Unexpected error while running command.
2015-12-23 15:34:44.982 7292 ERROR oslo_messaging.rpc.dispatcher Command: ssh 192.168.0.25 mkdir -p /var/lib/nova/instances/9a78fc5e-8d5d-4e71-8242-14c0bfed5675
2015-12-23 15:34:44.982 7292 ERROR oslo_messaging.rpc.dispatcher Exit code: 1
2015-12-23 15:34:44.982 7292 ERROR oslo_messaging.rpc.dispatcher Stdout: u'This account is currently not available.\n'
2015-12-23 15:34:44.982 7292 ERROR oslo_messaging.rpc.dispatcher Stderr: u"Warning: Permanently added '192.168.0.25' (ECDSA) to the list of known hosts.\r\n"
2015-12-23 15:34:44.982 7292 ERROR oslo_messaging.rpc.dispatcher

after fix of shell to "/bin/bash" all is working

Tags: area-nova
Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

On Ubuntu nova user has '/bin/bash' shell. So, the same shell should on CentOS/RHEL for nova migrations

Changed in mos:
milestone: none → 8.0
status: New → Confirmed
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack-build/nova-build (openstack-ci/fuel-8.0/liberty)

Fix proposed to branch: openstack-ci/fuel-8.0/liberty
Change author: Ivan Udovichenko <email address hidden>
Review: https://review.fuel-infra.org/15647

Changed in mos:
status: Confirmed → In Progress
Changed in mos:
assignee: MOS Packaging Team (mos-packaging) → Alexander Tsamutali (astsmtl)
assignee: Alexander Tsamutali (astsmtl) → Ivan Udovichenko (iudovichenko)
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack-build/nova-build (openstack-ci/fuel-8.0/liberty)

Reviewed: https://review.fuel-infra.org/15647
Submitter: Pkgs Jenkins <email address hidden>
Branch: openstack-ci/fuel-8.0/liberty

Commit: 0773effbbb05f804fa58188de9fac7edb88de94b
Author: Ivan Udovichenko <email address hidden>
Date: Wed Dec 30 08:57:34 2015

Update shell for nova user

Change-Id: I30c7b49aec689ff45375b64a8086a80614c76c98
Closes-Bug: #1528883

Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack-build/nova-build (master)

Fix proposed to branch: master
Change author: Ivan Udovichenko <email address hidden>
Review: https://review.fuel-infra.org/15650

tags: added: nova
tags: added: area-nova
removed: nova
Anna Babich (ababich)
tags: added: on-verification
Revision history for this message
Anna Babich (ababich) wrote :

This is non-specific MOS 8.0 configuration (there is no Centos 7 release here). The fix has been verified by MOS puppet Team, so propose to move it to Fix Released.

Changed in mos:
status: Fix Committed → Fix Released
Anna Babich (ababich)
tags: removed: on-verification
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack-build/nova-build (master)

Change abandoned by Ivan Udovichenko <email address hidden> on branch: master
Review: https://review.fuel-infra.org/15650
Reason: Replaced with: https://review.fuel-infra.org/17671/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.