Bug 974574 - No 'post_setup' before 'post_install' while creating a app
No 'post_setup' before 'post_install' while creating a app
Status: CLOSED NOTABUG
Product: OpenShift Online
Classification: Red Hat
Component: Containers (Show other bugs)
2.x
All All
medium Severity medium
: ---
: ---
Assigned To: Mrunal Patel
libra bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-14 09:01 EDT by zhaozhanqi
Modified: 2015-05-14 19:21 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-06-14 10:59:13 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description zhaozhanqi 2013-06-14 09:01:09 EDT
Description of problem:
 check the platform.log during creating one app,it is lack of the procedure of 'post_setup'

Version-Release number of selected component (if applicable):
devenv_3360

How reproducible:
always

Steps to Reproduce:
1. tailf the platform.log
   tailf /var/log/openshift/node/platform.log |grep Running
2. create app with db cartridge.
   rhc app create phpsapp1 php-5.3 mysql-5.1 mongodb-2.2 -s 

Actual results:

[root@ip-10-196-79-9 node]# tailf /var/log/openshift/node/platform.log |grep Running
June 14 07:47:34 INFO Running post_install for 51bb02b98dc97c0a47000013/php
June 14 08:05:04 INFO Running setup for 201406401301459104694272/mysql
June 14 08:05:06 INFO Running install for 201406401301459104694272/mysql
June 14 08:05:13 INFO Running post_install for 201406401301459104694272/mysql
June 14 08:05:15 INFO Running setup for 119895549506012332425216/mongodb
June 14 08:05:16 INFO Running install for 119895549506012332425216/mongodb
June 14 08:05:18 INFO Running post_install for 119895549506012332425216/mongodb
June 14 08:05:20 INFO Running setup for 8e704964d4ea11e2b1df12313b084cfb/php
June 14 08:05:22 INFO Running install for 8e704964d4ea11e2b1df12313b084cfb/php
June 14 08:05:26 INFO Running setup for 8e704964d4ea11e2b1df12313b084cfb/haproxy
June 14 08:05:27 INFO Running install for 8e704964d4ea11e2b1df12313b084cfb/haproxy
June 14 08:05:29 INFO Running post_install for 8e704964d4ea11e2b1df12313b084cfb/haproxy
June 14 08:05:52 INFO Running post_install for 8e704964d4ea11e2b1df12313b084cfb/php

Expected results:
should be have the 'post_setup' before 'post_install'. like:

June 14 07:47:34 INFO Running post_install for 51bb02b98dc97c0a47000013/php
June 14 08:05:04 INFO Running setup for 201406401301459104694272/mysql
June 14 08:05:06 INFO Running install for 201406401301459104694272/mysql
June 14 08:05:10 INFO Running post_setup for 201406401301459104694272/mysql >>>>>>>>>>>>>>
June 14 08:05:13 INFO Running post_install for 201406401301459104694272/mysql
June 14 08:05:15 INFO Running setup for 119895549506012332425216/mongodb
June 14 08:05:16 INFO Running install for 119895549506012332425216/mongodb


Additional info:
Comment 1 Mrunal Patel 2013-06-14 10:59:13 EDT
The post_setup hook was deemed unnecessary and hence that functionality was removed.

Note You need to log in before you can comment on or make changes to this bug.