You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Mark Grover (JIRA)" <ji...@apache.org> on 2013/01/16 19:06:12 UTC

[jira] [Commented] (BIGTOP-782) 'service hue status' still show 'failed' after hue is started in SLES

    [ https://issues.apache.org/jira/browse/BIGTOP-782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13555281#comment-13555281 ] 

Mark Grover commented on BIGTOP-782:
------------------------------------

Yes, indeed Johnny. We issue a terminate command and wait for a set timeout. If the process is still around, then we get all evil and kill -KILL (aka kill -9) the process.
                
> 'service hue status' still show 'failed' after hue is started in SLES
> ---------------------------------------------------------------------
>
>                 Key: BIGTOP-782
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-782
>             Project: Bigtop
>          Issue Type: Bug
>          Components: RPM
>    Affects Versions: 0.5.0
>            Reporter: Johnny Zhang
>            Assignee: Roman Shaposhnik
>            Priority: Blocker
>             Fix For: 0.5.0
>
>         Attachments: 0001-BIGTOP-782.-service-hue-status-still-show-failed-aft.patch, 0002-BIGTOP-782.-service-hue-status-still-show-failed-aft.patch
>
>
> in SLES, do
> {noformat}
> pkgtest-sles64-11:~ # service hue start
> Starting Hue web server:                                                                   done
> pkgtest-sles64-11:~ # service hue status
> Hue web server is not running                                                              failed
> {noformat}
> at this moment the service hue is already started, but the status still shows "failed", we can verify hue service started by trying its web GUI or by curl command
> {noformat}
> # curl http://localhost:8888/accounts/login/
> <!DOCTYPE html>
> <html lang="en">
> <head>
> 	<meta charset="utf-8">
> 	<title>Hue Login</title>
> 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
> 	<meta name="description" content="">
> 	<meta name="author" content="">
> 	<link href="/static/ext/css/bootstrap.min.css" rel="stylesheet">
> 	<link href="/static/css/hue2.css" rel="stylesheet">
> 	<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
> 	<!--[if lt IE 9]>
> 	<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
> 	<![endif]-->
> 	<style type="text/css">
> 		body {
> 			padding-top: 100px;
> 		}
> 	</style>
> </head>
> <body>
> 	<div class="navbar navbar-fixed-top">
> 		<div class="navbar-inner">
> 			<div class="container-fluid">
> 				<a class="brand" href="#">Hue</a>
> 			</div>
> 		</div>
> 	</div>
> 	<div class="container">
> 		<div class="row">
> 			<div class="span4 offset4">
> 				<form method="POST" action="/accounts/login/" class="well">
> 					<label>Username
> 						<input name="username" class="input-large" type="text" maxlength="30">
> 					</label>
> 					<label>Password
> 						<input name="password" class="input-large" type="password" maxlength="30">
> 					</label>
> 						<input type="submit" class="btn primary" value="Sign in" />
> 					<input type="hidden" name="next" value="/" />
> 				</form>
> 			</div>
> 		</div>
> 	</div>
> </body>
> </html>
> {noformat}
> Roman, we discussed before, this is a issue you been aware of, but I didn't found the specific jira to report this, so open this one

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira