Bug 1310119

Summary: skyring-setup.sh get stuck in syncdb
Product: [Red Hat Storage] Red Hat Storage Console Reporter: Martin Bukatovic <mbukatov>
Component: coreAssignee: Nishanth Thomas <nthomas>
core sub component: configuration QA Contact: sds-qe-bugs
Status: CLOSED NOTABUG Docs Contact:
Severity: high    
Priority: unspecified CC: sankarshan
Version: 2   
Target Milestone: ---   
Target Release: 2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-10 09:31:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
full output of skyring-setup.sh script none

Description Martin Bukatovic 2016-02-19 14:08:59 UTC
Created attachment 1128561 [details]
full output of skyring-setup.sh script

Description of problem
======================

During skyring installation, script /usr/bin/skyring-setup.sh gets stuck
in "Setup graphite user" phase.

Version-Release number of selected component
============================================

rhscon-core-0.0.8-4.el7.x86_64
rhscon-ceph-0.0.6-4.el7.x86_64
rhscon-ui-0.0.14-1.el7.noarch

graphite-web-0.9.15-1.el7.noarch (from epel)

How reproducible
================

100 %

Steps to Reproduce
==================

1. Install skyring as documented using skyring-setup.sh script
2. Wait for "Setup graphite user" phase

Actual results
==============

Script skyring-setup.sh get stuck in "Setup graphite user" phase,
see output from the script (full output attached):

~~~
Setup graphite user                                                             
/usr/lib/python2.7/site-packages/graphite/settings.py:246: UserWarning: SECRET_KEY is set to an unsafe default. This should be set in local_settings.py for better security
  warn('SECRET_KEY is set to an unsafe default. This should be set in local_settings.py for better security'
~~~

During this phase the following command is running:

~~~
/usr/lib/python2.7/site-packages/graphite/manage.py syncdb
~~~

and it would never finish.

Expected results
================

Script skyring-setup.sh finishes with success.

Additional info
===============

This issue appeared after switching to graphite-web from epel.

QE Workaround: add `--noinput` flag to manage.py syncdb command in skyring-setup.sh