New charm: IBM MobileFirstServer

Bug #1478783 reported by sunitha
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Charms Collection
Triaged
Undecided
Unassigned

Bug Description

Hi,

Here is a new charm for IBM MobileFirst Server for review.

 Here is a new charm for IBM MobileFirst Server for review.

To test this charm we need the principle charm websphere-liberty as ibm-mobilefirst-server is subordinate.

Deployable ibm-mobilefirst-server layer charm can be found in the below repository.
Deployable Charm Repo : https://code.launchpad.net/~ibmcharmers/charms/trusty/ibm-mobilefirst-server/trunk

And, its source code can be found in the below repository.
Source Code Repo : https://code.launchpad.net/~ibmcharmers/charms/trusty/layer-ibm-mobilefirst-server/trunk

Deployable websphere-liberty charm can be found at https://jujucharms.com/websphere-liberty/trusty/3
Deployable ibm-db2 charm can be found at https://jujucharms.com/ibm-db2/trusty

IBM-MobileFirst-Server charm has been pushed into charm store branch : cs:~ibmcharmers/trusty/ibm-mobilefirst-server-19
link: https://jujucharms.com/u/ibmcharmers/ibm-mobilefirst-server/trusty/19

IBM-MobileFirst-Server used db2 interface. Here is the source code link:
https://code.launchpad.net/~ibmcharmers/interface-ibm-db2/trunk

Thanks.

Revision history for this message
Matt Bruzek (mbruzek) wrote :
Download full text (5.6 KiB)

# IBM MobileFirstServer review

Thank you for the submission of the IBM MobileFirstServer. I am sorry it took so long for someone to look at this charm. As always I am using the Charm Store Policy and Best Practices documents for reference when reviewing charms: https://jujucharms.com/docs/stable/authors-charm-policy https://jujucharms.com/docs/stable/authors-charm-best-practice

Here is my review.

## charm-proof

$ charm proof
I: all charms should provide at least one thing
I: missing recommended hook start

I would have expected this charm to provide something because it is a “server” in the end the deployment succeeded but I was not able to view the web pages, so it is hard for me to tell. Please consider the peer relation, if this software can be set up in a cluster mode.

## README.md
The readme contains many misspelled words and formatting errors that do not convert to HTML correctly. Please refer to the Markdown cheat for formatting tips: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet If you want to see how the HTML looks please view how the readme renders on the personal namespace section of the charm store: https://jujucharms.com/u/ibmcharmers/mobilefirst-server/trusty Once the code is in bzr you can see the new revision in the charm store after a 30 minute update delay. Please note that code blocks must be indented in multiples of 4 for code blocks. In some cases 7 spaces are used, in other cases 2 spaces are used. Alternately you can use three back-ticks for code blocks (``` code here ```). Markdown has special handling for anything between the less than (<) and greater than (>) signs so “juju deploy --to <machine number> db2” converts to the following HTML “juju deploy --to db2” which is an invalid command. Revisit everything with the less than (<) and greater than (>) symbols to ensure they convert to HTML correctly.

The readme needs more specific steps in the setup of the apache2 server, and how to host the file, with examples of paths and file names so the Juju use has a chance to get this correct. As someone reading this charm for the first time I would really want more information about the MobileFirst product, what it does and what I can do with it after deployment.

The deploy instructions are incomplete if I followed those instructions db2 and websphere-liberty would not install because the licenses were not accpted. To install websphere-liberty and db2 users have to accept licenses. The readme doesn't have to cover all the details, but the readme should mention that other steps are needed to deploy the other software and the users should refer to their readme files.

## config.yaml
The configuration file looks good, I would expect to see better descriptions including file name examples in the description. For example if the default for a value is empty string, and the config-changed hook looking for predefined package names, the configuration description should provide those names so the users know what is a valid value.

## install
It looks like you are missing the -y on the first two apt-get install lines. Those could cause a problem in the future if they require other packages t...

Read more...

Changed in charms:
status: New → In Progress
Revision history for this message
Matt Bruzek (mbruzek) wrote :

Here are the Juju log files from the three units.

Revision history for this message
sunitha (sradhara) wrote :

Hi,

Thanks for the review comments. Started working on review comments.

Thanks,
Sunitha.

sunitha (sradhara)
description: updated
sunitha (sradhara)
description: updated
Revision history for this message
sunitha (sradhara) wrote :

obileFirst Server can be set up in a cluster mode, but it requires IBM HTTP server.
We have started working on IBM HTTP server charming, once its done I will add cluster code to existing MobileFirst Server charm .

There is a limitation of the MobileFirst Server silent install files. If we install with silent install files, we need to create the databases before we install MobileFirst Server.
Due to this limitation I have created helper charm called "ibm-mfs-helper", which will create a "APPCNTR" and "WRKLHT" databases on db2 conatiner.
ibm-mfs-helper is a service with subordinate as "False" which can be deployed with ibm-mobilefirst-server charm only.

Revision history for this message
sunitha (sradhara) wrote :

HI,

MobileFirst Server can be set up in a cluster mode, but it requires IBM HTTP server.
We have started working on IBM HTTP server charming, once its done I will add cluster code to existing MobileFirst Server charm .

There is a limitation of the MobileFirst Server silent install files. If we install with silent install files, we need to create the databases before we install MobileFirst Server.
Due to this limitation I have created helper charm called "ibm-mfs-helper", which will create a "APPCNTR" and "WRKLHT" databases on db2 conatiner.
ibm-mfs-helper is a service with subordinate as "False" which can be deployed with ibm-mobilefirst-server charm only.

Thanks,
Sunitha.

sunitha (sradhara)
Changed in charms:
status: In Progress → Fix Committed
sunitha (sradhara)
Changed in charms:
status: Fix Committed → In Progress
Revision history for this message
Suchitra Venugopal (suchvenu) wrote :

Hi,
 Here is a new charm for IBM MobileFirst Server for review.

To test this charm we need the principle charm websphere-liberty as ibm-mobilefirst-server is subordinate.

Deployable ibm-mobilefirst-server layer charm can be found in the below repository.
Deployable Charm Repo : https://code.launchpad.net/~ibmcharmers/charms/trusty/ibm-mobilefirst-server/trunk

And, its source code can be found in the below repository.
Source Code Repo : https://code.launchpad.net/~ibmcharmers/charms/trusty/layer-ibm-mobilefirst-server/trunk

Deployable websphere-liberty charm can be found at https://jujucharms.com/websphere-liberty/trusty/3
Deployable ibm-db2 charm can be found at https://jujucharms.com/ibm-db2/trusty

IBM-MobileFirst-Server charm has been pushed into charm store branch : cs:~ibmcharmers/trusty/ibm-mobilefirst-server-19
link: https://jujucharms.com/u/ibmcharmers/ibm-mobilefirst-server/trusty/19

IBM-MobileFirst-Server used db2 interface. Here is the source code link:
https://code.launchpad.net/~ibmcharmers/interface-ibm-db2/trunk

Revision history for this message
Suchitra Venugopal (suchvenu) wrote :

There are minor fixes for WLP and DB2 charm required which can be seen in these Merge Proposals. These has to be approved before testing MobileFirst Server charm.

https://code.launchpad.net/~ibmcharmers/charms/trusty/websphere-liberty/trunk/+merge/304442
https://code.launchpad.net/~ibmcharmers/charms/trusty/ibm-db2/trunk/+merge/304972

Changed in charms:
status: In Progress → Fix Committed
description: updated
Revision history for this message
Kevin W Monroe (kwmonroe) wrote :

Thanks for the updates here Suchitra. This review has been migrated to the new queue:

https://review.jujucharms.com/reviews/39

The latest ibm-mobilefirst-server charm has been imported and should be reviewed soon.

Changed in charms:
status: Fix Committed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.