| Summary: | There is no reference for the application event "make-ha" | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Meng Bo <bmeng> |
| Component: | Master | Assignee: | Rajat Chopra <rchopra> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | abhgupta, dmcphers |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-24 03:26:29 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
Meng Bo
2013-10-24 10:40:49 UTC
Checked on devenv_3953, the method has been added, but the option name is incorrect. (Which should be "maka-ha")
<link>
<rel>Make the application Highly Available (HA)</rel>
<method>POST</method>
<href>https://localhost/broker/rest/application/526e03f9582052d266000006/events</href>
<required-params>
<param>
<name>event</name>
<type>string</type>
<description>event</description>
<valid-options>
<valid-option>make_ha</valid-option>
</valid-options>
<invalid-options/>
</param>
</required-params>
<optional-params/>
</link>
# curl -k -H 'Accept: application/xml' --user bmeng:123123 https://localhost/broker/rest/domains/bmengdev/applications/php1s/events -XPOST -d event=make_ha
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>unprocessable_entity</status>
<type nil="true"></type>
<data>
<datum nil="true"></datum>
</data>
<messages>
<message>
<severity>error</severity>
<text>Event can only contain lowercase a-z and '-' characters</text>
<exit-code>126</exit-code>
<field>event</field>
<index nil="true"></index>
</message>
Haa, sorry for the typo, the correct one should be "make-ha". Fixed with --> https://github.com/openshift/origin-server/pull/4012 Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/c1e33bb9a11331651b5d98d4bd6b13988022b631 Fix for bug 1022948 Checked on devenv_3958, issue fixed.
<link>
<rel>Make the application Highly Available (HA)</rel>
<method>POST</method>
<href>https://localhost/broker/rest/application/526f2ae9f15afcf39b000024/events</href>
<required-params>
<param>
<name>event</name>
<type>string</type>
<description>event</description>
<valid-options>
<valid-option>make-ha</valid-option>
</valid-options>
<invalid-options/>
</param>
</required-params>
<optional-params/>
</link>
Move bug to verified.
|