IBM Spectrum Symphony Master Charm for Review
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Charms Collection |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Hello Team,
Here is a new charm for IBM Spectrum Symphony Master for review.
To test this charm, a license to IBM Spectrum Symphony is required.
To test the IBM Spectrum Symphony Master, we need Symphony Storage charm and Symphony Node charm as well. As per the design changes, the Platform Symphony charm has been split into three charms:
IBM Spectrum Symphony Storage
IBM Spectrum Symphony Master
IBM Spectrum Symphony Node.
We need all three charms to be deployed to have a functional Symphony Cluster.
And, its source code can be found in the below repository
Repo: https:/
The charm has been pushed into charm store as well
branch : cs:~ibmcharmers
Thanks
Changed in charms: | |
status: | Fix Committed → In Progress |
Changed in charms: | |
status: | In Progress → Fix Committed |
description: | updated |
summary: |
- IBM Platform Symphony Charm Creation + IBM Platform Symphony Master Charm for Review |
description: | updated |
Changed in charms: | |
status: | In Progress → Fix Committed |
Changed in charms: | |
status: | Fix Committed → In Progress |
summary: |
- IBM Platform Symphony Master Charm for Review + IBM Spectrum Symphony Master Charm for Review |
description: | updated |
Changed in charms: | |
status: | In Progress → Fix Committed |
# platform-symphony
Greetings Neha
Thank you for the submission of the platform-symphony charm! It seems like an interesting product for grid computing. That would be a perfect addition to the charm store. Thanks for all the work that went into this charm, this product is a lot of code!
Please note that this charm is already available in the Juju Charm Store for anyone to deploy by going to the url: https:/ /jujucharms. com/u/ibmcharme rs/platform- symphony/ trusty
By creating a bug you have indicated that you wish to have this code reviewed and put in the recommended section of the charm store.
Just for your reference I am reviewing the charm using the Charm Review Process document: /jujucharms. com/docs/ stable/ charm-review- process
https:/
And looking for Juju Charm best practices: /jujucharms. com/docs/ stable/ authors- charm-best- practice
https:/
# charm proof /jujucharms. com/docs/ stable/ authors- charm-metadata
There was only one warning from the `charm proof` tool:
W: Metadata missing required field "tags"
The file requires a “tags” entry with a value for categorization. Please see the following URL for more detail: https:/
# metadata.yaml
Again the maintainer needs to be in the format “Firstname Lastname <emailaddress>”. This has come up on many other IBM reviews, please use something like “IBM Juju Support Team <email address hidden>” for that field.
# README.md
Following the steps in the readme I was unable to download the file as described. The error message I got was:
```
Some selected fixes encountered errors for this order.
sym-7.1-build335711
No applicable IBM support agreement found for one or more of the products you selected.
```
Since users could get this error (as I did) the readme should include steps on what do in this case. I was able to find the download for this charm on the joint ftp server, but users will not have that backup.
The markdown readme did not convert to HTML correctly in many areas. Please check out the markdown guide found here: https:/ /github. com/adam- p/markdown- here/wiki/ Markdown- Cheatsheet
Several paragraphs were not terminated properly and continued to the next line. To end a line/paragraph, add two spaces after the last character. You had several formatting errors so I branched your code and suggested my own version.
The configuration section is not just a pointer to the config.yaml. The readme is rendered on the web page and may be the only contact that a user has to this charm. The configuration section needs to describe the configuration options in good detail so the user knows what values are valid, why and when they would want to change these values. This section needs more work.
# hooks
This is another IBM charm where the hook code has a mixture of spaces and tabs. This is something that is not a best practice for BASH charms and shows up with different indentation on my editor. Some if blocks are on the same indentation as the if and else statements. Please standardize on one indentation format and use indentation properly after if then else.
Another general statement for the hooks is make sure they are idempotent. What I mean by this is make sure the hooks can run multiple tim...