| Summary: | OpenShift SDK needs new function to wait for PID file on F19, Apache 2.4 | ||
|---|---|---|---|
| Product: | OKD | Reporter: | Krishna Raman <kraman> |
| Component: | Image | Assignee: | Michal Fojtik <mfojtik> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.x | CC: | bmeng, dmcphers, mfisher |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-24 03:33:07 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: | |
|
Description
Krishna Raman
2013-10-02 19:40:09 UTC
This has the potential to impact all httpd based cartridges. Pull request: https://github.com/openshift/origin-server/pull/4168 Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/1c20de12f708b180ccf8656be92a6e9d9ad68f8c Bug 1014793 - Added 'wait_for_pid_file' function to Bash SDK Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/c076b6ccaba0915656cce8ae01bfe939cb03c87a Bug 1014793 - Added 'wait_for_pid_file' function to Bash SDK This function is used to wait 10 seconds for PID file to be written by Apache process. All Apache based cartridges were updated to use this function. Test on the latest nightly origin build.
Package version:
openshift-origin-cartridge-php-1.18.0-1.git.33.caadcbc.fc19.noarch
The test can pass.
[root@broker cucumber]# cucumber -r /usr/share/gems/gems/openshift-origin-controller-1.18.0/test/cucumber/ runtime-cartridge-php.feature
Using RSpec 2
WARNING: Nokogiri was built against LibXML version 2.9.0, but has dynamically loaded 2.9.1
@cartridge1
Feature: V2 SDK PHP Cartridge
Scenario Outline: Add cartridge # runtime-cartridge-php.feature:4
Given a new <cart_name> type application # step_definitions/runtime_steps.rb:107
Then the application git repo will exist # step_definitions/runtime_steps.rb:186
And the platform-created default environment variables will exist # step_definitions/runtime_steps.rb:772
And the <cart_name> cartridge private endpoints will be exposed # step_definitions/runtime_steps.rb:852
And the <cart_name> PHP_VERSION env entry will exist # step_definitions/runtime_steps.rb:764
And a httpd process will be running # step_definitions/runtime_steps.rb:336
And the php file permissions are correct # step_definitions/cartridge-php_steps.rb:33
When I destroy the application # step_definitions/runtime_steps.rb:134
Then the application git repo will not exist # step_definitions/runtime_steps.rb:186
Scenarios: Fedora scenarios
| cart_name |
| php-5.5 |
1 scenario (1 passed)
9 steps (9 passed)
0m4.840s
|