unable to close remote session after ./stack.sh

Bug #1500364 reported by Sergey Skripnick
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Expired
Undecided
Unassigned

Bug Description

steps to reproduce:

 1) log-in to remote host, clone devstack and create local.conf with swift enabled

 2) on local host create file 'remote-stack.sh' with simple script:
   cd devstack
   stack.sh

 3) run this script on remote host using ssh:
  ssh example.com /bin/bash -xe -s < remote-stack.sh

ssh client will not exit when ./stack.sh finished.

Seems swift services are not detached from terminal properly.

my local.conf:

[[local|localrc]]
ADMIN_PASSWORD=admin
DATABASE_PASSWORD=admin
RABBIT_PASSWORD=admin
SERVICE_PASSWORD=admin
SERVICE_TOKEN=a862f596-76f3-21e3-b3b2-e716f9080d51
disable_service tempest
disable_service horizon
LOGDIR=/opt/stack/logs
LOG_COLOR=False

enable_service s-proxy s-object s-container s-account

SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
SWIFT_REPLICAS=1
SWIFT_DATA_DIR=$DEST/data

description: updated
tags: added: devstack
tags: added: swift-init
affects: swift → devstack
Revision history for this message
Aizuddin Zali (mymzbe) wrote :

I believe you are trying to run the script automatically. Did you try with `screen`?

We also need more information on which part its not exit?

Changed in devstack:
assignee: nobody → Aizuddin Zali (mymzbe)
status: New → Incomplete
Changed in devstack:
assignee: Aizuddin Zali (mymzbe) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for devstack because there has been no activity for 60 days.]

Changed in devstack:
status: Incomplete → Expired
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.