| Summary: | Git ref is not defaulted appropriately if not passed from the broker during a REST deployment | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Brenton Leanhardt <bleanhar> |
| Component: | ImageStreams | Assignee: | Luke Meyer <lmeyer> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.0.0 | CC: | agoldste, bmeng, gpei, jhou, lmeyer |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rubygem-openshift-origin-node-1.17.5.3-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1033572 | Environment: | |
| Last Closed: | 2014-01-17 16:20:43 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: | |
| Bug Depends On: | 1033572, 1034124 | ||
| Bug Blocks: | |||
|
Description
Brenton Leanhardt
2013-11-22 20:13:25 UTC
Next build of rubygem-openshift-origin-node origin-server: commit 4f62f95016444001463aa1bbfd4148fe19686b9b Author: Andy Goldstein <andy.goldstein> Date: Fri Nov 22 10:50:03 2013 -0500 https://github.com/openshift/enterprise-server/pull/174 Verify this bug with rubygem-openshift-origin-node-1.17.5.3-1. hot_deploy and force_clean_build option both work well for deploying app manually via REST API. [root@broker app]# curl -s -k -H 'Content-Type: Application/json' --user gpei:redhat https://broker.ose20-1216-com.cn/broker/rest/domains/o00/applications/app/deployments -X POST -d '{"hot_deploy":true}' {"api_version":1.6,"data":{"activations":["2013-12-25T08:50:11Z"],"created_at":"2013-12-25T08:50:04Z","force_clean_build":false,"hot_deploy":true,"id":"a22e5068","ref":"master","sha1":"b6d77e5"},"messages":[{"exit_code":0,"field":null,"index":null,"severity":"info","text":"Added a22e5068 to application app"}],"status":"created","supported_api_versions":[1.0,1.1,1.2,1.3,1.4,1.5,1.6],"type":"deployment","version":"1.6"} [root@broker app]# curl -s -k -H 'Content-Type: Application/json' --user gpei:redhat https://broker.ose20-1216-com.cn/broker/rest/domains/o00/applications/app/deployments -X POST -d '{"force_clean_build":true}' {"api_version":1.6,"data":{"activations":["2013-12-25T08:51:17Z"],"created_at":"2013-12-25T08:51:11Z","force_clean_build":true,"hot_deploy":false,"id":"6469a58f","ref":"master","sha1":"b6d77e5"},"messages":[{"exit_code":0,"field":null,"index":null,"severity":"info","text":"Added 6469a58f to application app"}],"status":"created","supported_api_versions":[1.0,1.1,1.2,1.3,1.4,1.5,1.6],"type":"deployment","version":"1.6"} |