IBM Cloud Private for Data

Expand all | Collapse all

ISSUE with provisioning MongoDB addon on ICP4D

  • 1.  ISSUE with provisioning MongoDB addon on ICP4D

    Posted 19 days ago

    Hi, I have problem with provisioning MongoDB. 

    I downloaded package, deployed mongo-catalog helm chart and when I tried to provision there is problem:

    When I go to addon and click "Provision instance" I get page with initial parameters to choose.

    Problem is that when I press next then appears blank page and nothing happens.

    I tried to fix it by deleting mongo-catalog charts and all images and tried to do it again but there was the same problem.

    What is funny when there aren't any mongo catalog pods and chart this site to provision is still available.

    Did somebody had similar issue?
    Is there some workaround to reset this page with addons?

    Thanks,
    Marcin



    ------------------------------
    Marcin Lewiarz
    ------------------------------


  • 2.  RE: ISSUE with provisioning MongoDB addon on ICP4D

    Posted 19 days ago
    Hi Marcin,

    1/ I believe your configuration is ICP4D on top of ICP, is this correct?
    2/ Could you share the command that you used to enable the Mongo Add-on, once downloaded? This command would be run in command line, even before you go in the UI to provision. This command will be like this: "kubectl exec -it $(kubectl get pods -n zen | grep zen-database-core | awk {'print $1'})
    -n zen -- /tools/configure-database.sh --master MASTER-1-IP --ppa-archive ARCHIVE_FILE_NAME --enable" and is described at the following link:
    https://www.ibm.com/support/knowledgecenter/en/SSQNUZ_1.2.0/com.ibm.icpdata.doc/zen/admin/create-dedicated-node.html

    ------------------------------
    Loïc Julien
    ------------------------------



  • 3.  RE: ISSUE with provisioning MongoDB addon on ICP4D

    Posted 19 days ago

    Hi, yes it's ICP4D installed on ICP. 
    I did everything as instruction set, my command:

    kubectl exec -it $(kubectl get pods -n zen | grep zen-database-core | awk {'print $1'}) -n zen -- /tools/configure-database.sh --master 172.17.255.151 --ppa-archive /ibm/InstallPackage/databases/mongodb.tar.gz --enable

    I went through all ansible scripts and but I didn't found anything I forgot to delete.

    On my other cluster I didn't had such problem. I just want to get rid of this bad provisioner site.


    Thanks,
    Marcin



    ------------------------------
    Marcin Lewiarz
    ------------------------------



  • 4.  RE: ISSUE with provisioning MongoDB addon on ICP4D

    Posted 19 days ago
    Thanks Marcin.

    1/ It is good to know that your other cluster is OK and did not experience this

    2/ The page that is blanked during provisioning comes from the ICP4Data UI not being to connect the mongodb-catalog-${version} chart to the package you downloaded and enabled with the command provided above.
     -- Is the Mongodb catalog currently running?
     -- Would you be able to paste the output of the --enable command?
    -- Does the Addon page in the ICP4Data UI correctly show the Mongo DB Addon as "Enabled"?



    ------------------------------
    Loïc Julien
    ------------------------------



  • 5.  RE: ISSUE with provisioning MongoDB addon on ICP4D

    Posted 19 days ago

    Hi, thanks for helping.

    Answers:

    1. It was running, but then enable command failed becasue this chart existed. So I deleted (purged) it and then rerun.

    output is in point 2.

    2. 

    [root@icp-master01 dv]# kubectl exec -it $(kubectl get pods -n zen | grep zen-database-core | awk {'print $1'}) -n zen -- /tools/configure-database.sh --master 172.17.255.151 --ppa-archive /ibm/InstallPackage/databases/mongodb.tar.gz --enable
    [Tue Jan 29 10:12:02 UTC 2019][INFO] Enabling database for the cluster
    SSH password:
    
    PLAY [master] ******************************************************************
    
    TASK [Gathering Facts] *********************************************************
    ok: [172.17.255.151]
    
    TASK [pre-enable : Create database folder] *************************************
    changed: [172.17.255.151]
    
    TASK [pre-enable : Create installer folder] ************************************
    ok: [172.17.255.151]
    
    TASK [pre-enable : Copy over helm installer] ***********************************
    ok: [172.17.255.151]
    
    TASK [pre-enable : Install helm] ***********************************************
    [WARNING]: Consider using unarchive module rather than running tar
    
    changed: [172.17.255.151]
    
    TASK [pre-enable : Login using ICP installer] **********************************
    changed: [172.17.255.151]
    
    TASK [pre-enable : Login to the the docker registry] ***************************
    changed: [172.17.255.151]
    
    TASK [pre-enable : Enable tiller] **********************************************
    changed: [172.17.255.151]
    
    PLAY [master] ******************************************************************
    
    TASK [Gathering Facts] *********************************************************
    ok: [172.17.255.151]
    
    TASK [enable-database : Extract archive] ***************************************
    changed: [172.17.255.151]
    
    TASK [enable-database : Get PPA archive] ***************************************
    changed: [172.17.255.151]
    
    TASK [enable-database : Extract PPA archive] ***********************************
    changed: [172.17.255.151]
    
    PLAY [master] ******************************************************************
    
    TASK [Gathering Facts] *********************************************************
    ok: [172.17.255.151]
    
    TASK [load-image : Get the images] *********************************************
    ok: [172.17.255.151]
    
    TASK [load-image : Load images to the repository] ******************************
    changed: [172.17.255.151] => (item={u'uid': 0, u'woth': False, u'mtime': 1543609534.0, u'inode': 5506530, u'isgid': False, u'size': 331293184, u'isuid': False, u'isreg': True, u'gid': 0, u'ischr': False, u'wusr': True, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': False, u'path': u'/ibm/InstallPackage/databases/database/images/configops_20181130.122351.tar.gz', u'xusr': False, u'atime': 1548756748.5847514, u'isdir': False, u'ctime': 1548756748.9997678, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 2112, u'roth': False, u'isfifo': False, u'mode': u'0600', u'rusr': True})
    changed: [172.17.255.151] => (item={u'uid': 0, u'woth': False, u'mtime': 1543609559.0, u'inode': 5506532, u'isgid': False, u'size': 125124608, u'isuid': False, u'isreg': True, u'gid': 0, u'ischr': False, u'wusr': True, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': False, u'path': u'/ibm/InstallPackage/databases/database/images/mongodb-enterprise-operator_20181130.122351.tar.gz', u'xusr': False, u'atime': 1548756749.2407773, u'isdir': False, u'ctime': 1548756749.3997836, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 2112, u'roth': False, u'isfifo': False, u'mode': u'0600', u'rusr': True})
    changed: [172.17.255.151] => (item={u'uid': 0, u'woth': False, u'mtime': 1543609526.0, u'inode': 5506529, u'isgid': False, u'size': 331292672, u'isuid': False, u'isreg': True, u'gid': 0, u'ischr': False, u'wusr': True, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': False, u'path': u'/ibm/InstallPackage/databases/database/images/apimgmt_20181130.122351.tar.gz', u'xusr': False, u'atime': 1548756748.167735, u'isdir': False, u'ctime': 1548756748.5847514, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 2112, u'roth': False, u'isfifo': False, u'mode': u'0600', u'rusr': True})
    changed: [172.17.255.151] => (item={u'uid': 0, u'woth': False, u'mtime': 1543609439.0, u'inode': 5506527, u'isgid': False, u'size': 3075584, u'isuid': False, u'isreg': True, u'gid': 0, u'ischr': False, u'wusr': True, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': False, u'path': u'/ibm/InstallPackage/databases/database/images/zen-databases-catalog-mongodb.tar.gz', u'xusr': False, u'atime': 1548756746.0136502, u'isdir': False, u'ctime': 1548756746.0176504, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 2112, u'roth': False, u'isfifo': False, u'mode': u'0600', u'rusr': True})
    changed: [172.17.255.151] => (item={u'uid': 0, u'woth': False, u'mtime': 1543609551.0, u'inode': 5506531, u'isgid': False, u'size': 190986240, u'isuid': False, u'isreg': True, u'gid': 0, u'ischr': False, u'wusr': True, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': False, u'path': u'/ibm/InstallPackage/databases/database/images/mongodb-enterprise-database_20181130.122351.tar.gz', u'xusr': False, u'atime': 1548756748.9997678, u'isdir': False, u'ctime': 1548756749.2407773, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 2112, u'roth': False, u'isfifo': False, u'mode': u'0600', u'rusr': True})
    changed: [172.17.255.151] => (item={u'uid': 0, u'woth': False, u'mtime': 1543609505.0, u'inode': 5506528, u'isgid': False, u'size': 1662504448, u'isuid': False, u'isreg': True, u'gid': 0, u'ischr': False, u'wusr': True, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': False, u'path': u'/ibm/InstallPackage/databases/database/images/opsmanager_20181130.122351.tar.gz', u'xusr': False, u'atime': 1548756746.0176504, u'isdir': False, u'ctime': 1548756748.167735, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 2112, u'roth': False, u'isfifo': False, u'mode': u'0600', u'rusr': True})
    
    TASK [load-image : Wait for images to be loaded and pushed] ********************
    changed: [172.17.255.151] => (item={'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': False, u'ansible_job_id': u'584572177140.1501', 'failed': False, u'started': 1, 'changed': True, 'item': {u'uid': 0, u'woth': False, u'mtime': 1543609534.0, u'inode': 5506530, u'isgid': False, u'size': 331293184, u'roth': False, u'isuid': False, u'isreg': True, u'gid': 0, u'ischr': False, u'wusr': True, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': False, u'path': u'/ibm/InstallPackage/databases/database/images/configops_20181130.122351.tar.gz', u'xusr': False, u'atime': 1548756748.5847514, u'isdir': False, u'ctime': 1548756748.9997678, u'wgrp': False, u'xgrp': False, u'dev': 2112, u'isblk': False, u'isfifo': False, u'mode': u'0600', u'islnk': False}, u'finished': 0, u'results_file': u'/root/.ansible_async/584572177140.1501', '_ansible_ignore_errors': None})
    changed: [172.17.255.151] => (item={'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': False, u'ansible_job_id': u'140883004717.1914', 'failed': False, u'started': 1, 'changed': True, 'item': {u'uid': 0, u'woth': False, u'mtime': 1543609559.0, u'inode': 5506532, u'isgid': False, u'size': 125124608, u'roth': False, u'isuid': False, u'isreg': True, u'gid': 0, u'ischr': False, u'wusr': True, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': False, u'path': u'/ibm/InstallPackage/databases/database/images/mongodb-enterprise-operator_20181130.122351.tar.gz', u'xusr': False, u'atime': 1548756749.2407773, u'isdir': False, u'ctime': 1548756749.3997836, u'wgrp': False, u'xgrp': False, u'dev': 2112, u'isblk': False, u'isfifo': False, u'mode': u'0600', u'islnk': False}, u'finished': 0, u'results_file': u'/root/.ansible_async/140883004717.1914', '_ansible_ignore_errors': None})
    changed: [172.17.255.151] => (item={'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': False, u'ansible_job_id': u'427185394891.2258', 'failed': False, u'started': 1, 'changed': True, 'item': {u'uid': 0, u'woth': False, u'mtime': 1543609526.0, u'inode': 5506529, u'isgid': False, u'size': 331292672, u'roth': False, u'isuid': False, u'isreg': True, u'gid': 0, u'ischr': False, u'wusr': True, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': False, u'path': u'/ibm/InstallPackage/databases/database/images/apimgmt_20181130.122351.tar.gz', u'xusr': False, u'atime': 1548756748.167735, u'isdir': False, u'ctime': 1548756748.5847514, u'wgrp': False, u'xgrp': False, u'dev': 2112, u'isblk': False, u'isfifo': False, u'mode': u'0600', u'islnk': False}, u'finished': 0, u'results_file': u'/root/.ansible_async/427185394891.2258', '_ansible_ignore_errors': None})
    changed: [172.17.255.151] => (item={'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': False, u'ansible_job_id': u'941183038330.2721', 'failed': False, u'started': 1, 'changed': True, 'item': {u'uid': 0, u'woth': False, u'mtime': 1543609439.0, u'inode': 5506527, u'isgid': False, u'size': 3075584, u'roth': False, u'isuid': False, u'isreg': True, u'gid': 0, u'ischr': False, u'wusr': True, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': False, u'path': u'/ibm/InstallPackage/databases/database/images/zen-databases-catalog-mongodb.tar.gz', u'xusr': False, u'atime': 1548756746.0136502, u'isdir': False, u'ctime': 1548756746.0176504, u'wgrp': False, u'xgrp': False, u'dev': 2112, u'isblk': False, u'isfifo': False, u'mode': u'0600', u'islnk': False}, u'finished': 0, u'results_file': u'/root/.ansible_async/941183038330.2721', '_ansible_ignore_errors': None})
    FAILED - RETRYING: Wait for images to be loaded and pushed (200 retries left).
    changed: [172.17.255.151] => (item={'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': False, u'ansible_job_id': u'966292393250.3062', 'failed': False, u'started': 1, 'changed': True, 'item': {u'uid': 0, u'woth': False, u'mtime': 1543609551.0, u'inode': 5506531, u'isgid': False, u'size': 190986240, u'roth': False, u'isuid': False, u'isreg': True, u'gid': 0, u'ischr': False, u'wusr': True, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': False, u'path': u'/ibm/InstallPackage/databases/database/images/mongodb-enterprise-database_20181130.122351.tar.gz', u'xusr': False, u'atime': 1548756748.9997678, u'isdir': False, u'ctime': 1548756749.2407773, u'wgrp': False, u'xgrp': False, u'dev': 2112, u'isblk': False, u'isfifo': False, u'mode': u'0600', u'islnk': False}, u'finished': 0, u'results_file': u'/root/.ansible_async/966292393250.3062', '_ansible_ignore_errors': None})
    changed: [172.17.255.151] => (item={'_ansible_parsed': True, '_ansible_item_result': True, '_ansible_no_log': False, u'ansible_job_id': u'687741256895.3463', 'failed': False, u'started': 1, 'changed': True, 'item': {u'uid': 0, u'woth': False, u'mtime': 1543609505.0, u'inode': 5506528, u'isgid': False, u'size': 1662504448, u'roth': False, u'isuid': False, u'isreg': True, u'gid': 0, u'ischr': False, u'wusr': True, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': False, u'path': u'/ibm/InstallPackage/databases/database/images/opsmanager_20181130.122351.tar.gz', u'xusr': False, u'atime': 1548756746.0176504, u'isdir': False, u'ctime': 1548756748.167735, u'wgrp': False, u'xgrp': False, u'dev': 2112, u'isblk': False, u'isfifo': False, u'mode': u'0600', u'islnk': False}, u'finished': 0, u'results_file': u'/root/.ansible_async/687741256895.3463', '_ansible_ignore_errors': None})
    
    PLAY [master] ******************************************************************
    
    TASK [Gathering Facts] *********************************************************
    ok: [172.17.255.151]
    
    TASK [upload-chart : Upload JSON] **********************************************
    changed: [172.17.255.151]
    
    TASK [upload-chart : Get the charts] *******************************************
    ok: [172.17.255.151]
    
    TASK [upload-chart : Upload chart] *********************************************
    changed: [172.17.255.151] => (item={u'uid': 0, u'woth': False, u'mtime': 1543609559.0, u'inode': 5506534, u'isgid': False, u'size': 136208, u'isuid': False, u'isreg': True, u'gid': 0, u'ischr': False, u'wusr': True, u'xoth': False, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': True, u'path': u'/ibm/InstallPackage/databases/database/charts/ibm-mongodb-opsmanager-1.0.0.tgz', u'xusr': False, u'atime': 1548756749.3997836, u'isdir': False, u'ctime': 1548756749.4007835, u'isblk': False, u'wgrp': False, u'xgrp': False, u'dev': 2112, u'roth': True, u'isfifo': False, u'mode': u'0644', u'rusr': True})
    
    TASK [upload-chart : Get the database type] ************************************
    changed: [172.17.255.151]
    
    TASK [upload-chart : Get the database version] *********************************
    changed: [172.17.255.151]
    
    TASK [upload-chart : Install helm chart] ***************************************
    changed: [172.17.255.151]
    
    TASK [upload-chart : Clean up the database folder] *****************************
    changed: [172.17.255.151]
    
    PLAY RECAP *********************************************************************
    172.17.255.151             : ok=24   changed=16   unreachable=0    failed=0
    




    3. No, there is "Available" icon


    Thanks,
    Marcin



    ------------------------------
    Marcin Lewiarz
    ------------------------------



  • 6.  RE: ISSUE with provisioning MongoDB addon on ICP4D

    Posted 10 days ago

    Hi, maybe some other things to check?

    Is there way to clean-up bugged provisioner?


    Regards,
    Marcin



    ------------------------------
    Marcin Lewiarz
    ------------------------------