Bug 912439
| Summary: | Cloud Engine - Procedure 7.4, step 1 provides invalid XML in example | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] CloudForms Common | Reporter: | Gabriel Szasz <gszasz> | ||||
| Component: | Documentation | Assignee: | Dan Macpherson <dmacpher> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Dan Macpherson <dmacpher> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 1.1.0 | ||||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-08-26 04:28:44 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: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Gabriel Szasz
2013-02-18 16:44:25 UTC
(In reply to comment #0) > Deprecation Warning: Parameter 'IMPORT_BETA_KEY' in service > 'GPG_KEY_IMPORT' has a type attribute. Remove the type attribute or move it > to a child value tag. > Deprecation Warning: Parameter 'KATELLO_HOST' in service > 'KATELLO_REGISTER' has a type attribute. Remove the type attribute or move > it to a child value tag. > Deprecation Warning: Parameter 'KATELLO_PORT' in service > 'KATELLO_REGISTER' has a type attribute. Remove the type attribute or move > it to a child value tag. > Deprecation Warning: Parameter 'KATELLO_ORG' in service > 'KATELLO_REGISTER' has a type attribute. Remove the type attribute or move > it to a child value tag. > Deprecation Warning: Parameter 'KATELLO_ENV' in service > 'KATELLO_REGISTER' has a type attribute. Remove the type attribute or move > it to a child value tag. > Deprecation Warning: Parameter 'KATELLO_USER' in service > 'KATELLO_REGISTER' has a type attribute. Remove the type attribute or move > it to a child value tag. > Deprecation Warning: Parameter 'KATELLO_PASS' in service > 'KATELLO_REGISTER' has a type attribute. Remove the type attribute or move > it to a child value tag. > Deprecation Warning: Parameter 'RELEASEVER' in service > 'KATELLO_REGISTER' has a type attribute. Remove the type attribute or move > it to a child value tag. > Deprecation Warning: Parameter 'AUTO_SUBSCRIBE' in service > 'KATELLO_REGISTER' has a type attribute. Remove the type attribute or move > it to a child value tag. > Deprecation Warning: Parameter 'ACTIVATION_KEY' in service > 'KATELLO_REGISTER' has a type attribute. Remove the type attribute or move > it to a child value tag. The type attributes have moved to the value tag. As the warnings implicate, including the type as part of the parameter is depreciated. Having said that, the app blueprint should still work in the current version of CloudForms Cloud Engine. Targeting for 1.1.2 > Errors > > client: Cloud Resource Profile hwp1, which is specified in XML, does not > exist. > The example in the documentation does not specify "hwp1". Instead, it contains the replacement elements: <assembly name="[NAME]" hwp="[PROFILE]"> Indicating you need to replace [PROFILE] with a Cloud Resource Profile you've created. Created attachment 699388 [details] https://[CONFIGSERVER]/examples/katello-register.xml Contents of https://[CONFIGSERVER]/examples/katello-register.xml - the only file currently contained in aeolus-configserver's "examples" directory. > The type attributes have moved to the value tag. As the warnings implicate, > including the type as part of the parameter is depreciated. Having said that, > the app blueprint should still work in the current version of CloudForms > Cloud Engine. An example in documentation should not produce any warnings and it has to comply current XML schema. > The example in the documentation does not specify "hwp1". Instead, it > contains the replacement elements: > > <assembly name="[NAME]" hwp="[PROFILE]"> > > Indicating you need to replace [PROFILE] with a Cloud Resource Profile you've > created. The error is related to the second branch of the steps to reproduce. Considering the use case when customer is ignoring actual example XML in documentation and instead, he/she will follow the reference to https://[CONFIGSERVER]/examples and he/she will use one (and only) example that is located there. Cloud Engine User Guide, Procedure 7.4, Step 1, Note: ... This example application blueprint is also available on your Audrey Configuration Server at: https://[CONFIGSERVER]/examples ... The https://[CONFIGSERVER]/examples contains only one file - "katello-register.xml" (see bug attachment). This file does contain profile "hwp1" without any explicit instruction that this string has to be replaced. The placeholder inconsistency between Procedure 7.4, Step 1 and "katello-register.xml" was already filed as bug#912658 Closing this bug as CloudForms 1.x is now a retired product. |