Skip to main content
Oct 1, 2020 11:04 AM UTC

Introducing z/OS conda for download and deployment of z/OS open source products

Rocket has moved to a new system – conda – for downloading, installing, and upgrading all z/OS open source ports developed by Rocket.  With conda, a single command can replace dozens of steps and commands previously required to install some open source products.  For example, installing z/OS Git with its dependencies formerly required over thirty steps but now can be accomplished with a single conda command.

Conda is an open source tool ideally suited for delivery and deployment of software on the mainframe due to its channel concept and multiple types of channels supporting varying degrees of security including file channels for air-gapped systems. Rocket has set up two internet channels from which you can download z/OS open source ports using conda – one public and open to all, the other a secure channel server on premise at Rocket available only to Rocket customers on a support plan.

z/OS Miniconda is a free bundle of open source containing everything you need to run conda on z/OS. To get started using conda you need to install z/OS Miniconda on your z/OS system.

To download z/OS Miniconda, complete the following steps:

  1. Sign in to the Rocket Community Portal.
    https://my.rocketsoftware.com/RocketCommunity
  2. Click Downloads from the navigation menu. A list of available Rocket products for your account appears.
  3. Select z/OpenSource.
  4. Type 'Miniconda' in the search box to filter the list of available downloads.
  5. Click the filtered ID A dialog window appears with the files that are required for setup.
  6. Click each file to download them to your system.
  7. Using a FTP or SFTP client transfer the setup files to z/OS:
    1. miniconda-py37-zos-<yyyy-mm-dd>.run
    2. app_dev_X.Y.txt

Full documentation on z/OS Miniconda is contained within zOS_Miniconda_Documentation_<date>.pdf.

Learn more about conda here.

Note, Rocket is decommissioning the old download and install system for all open source products except for z/OS Miniconda itself.



------------------------------
Peter Fandel
Rocket Software
------------------------------

    27 replies

    Vladimir Ein
    Rocketeer
    Dec 9, 2021 2:08 PM UTC

    Hi,

    I guess Andreas is dying at the same point I do.
    The path "/versions/usr/lpp" tells me, that Andreas wants to put the opentools  on sysres/ipl volume and/or in an shared sysplex environment. Unfortunaly the conda selfextracting .run-script dosn't fit traditional installation procedures.
    When you execute the script even with the parameter -p /usr/lpp/rocket the script is restting the by the line
    prefix=$(to_absolute_path "$1")
    In my case after the installation of packages via conda install in hundreds or thousands of files the path was modified to /SYSRES1/usr/lpp and hardcoded inserted. This means after an IPL and flipping the ipl volume this installation seems to be broken.

    I think it would be very useful if Rocket would publish a best practice step-by-step guide how I use conda to install tools and deliver it centralized to my users. I mean in particular installing package once anywhere in the filesystem and copy it across the sysplex to other systems.

    Or means conda that I have to do conda install packagename on every system in the sysplex?

    I've just watched your youtube introduction (https://www.youtube.com/watch?v=wRWDJPSDwIc), but felt a little bit confused because everytime when I saw or read about rocket install over conda procedures they use /u/username directories

    as target places. Sorry, don't get me wrong but if I would tell my user "use conda to install the tools by yourself", they would laught at me. Thats my job as an sysadmin.

    So i tried to install miniconda and the whole appdev manifest at /u/myhome and copied all stuff from /u/myhome/envs/appdev to /usr/lpp/rocket/appdev but now when users try to use git for example they got ICH408 messages by reading /u/myhome.

    Conda seems to be linking packages against the original used environment path.

     

    To have DevOps capabilities on the mainframe is nice, but the majority of z/OS installations were managed very centralized. How I deal with conda in that case?

     

    I would be very thankfull if you should show us a way to go. Thank you.

     

    Kind regards,

    Björn Schanz



    ------------------------------
    Björn Schanz
    Sysprog
    R + V Allgemeine Versicherung AG
    Wiesbaden DE
    ------------------------------
    Hi Björn,

    Please take look at Tatiana's message in this post for more information about how to install Miniconda once and then deploy it to other LPARs. Let us know if you then have more questions on this topic.

    Regarding the installation path, it's interesting that Miniconda resolves your /usr path to /SYSRES1/usr, but I don't see how that could happen in the script line you mention. The function to_absolute_path does not resolve symlinks, and for paths starting with a slash, it returns the path itself without any changes. Anyway, I do understand there's a problem with the /usr path; we've seen such behavior before in some z/OS tools that attempt to resolve symlinks. They would treat /usr (in your case) as a symlink that points to /SYSRES1/usr. I can't say at the moment if there's a workaround for that.

    Regards,
    Vladimir

    ------------------------------
    Vladimir Ein
    Software Engineer
    Rocket Software
    ------------------------------
    Participating Frequently
    Dec 13, 2021 5:45 AM UTC
    Hello Andras,

    The error you get in both conda create and conda config is most probably caused by a character in your .condarc file with a character code higher than 127. Even though this file is tagged as ISO8859-1, conda actually reads it as UTF-8, and therefore the file contents should be UTF-8 encoded. For pure ASCII characters (codes below 128) both UTF-8 and ISO8859-1 produce identical bytes, so for most users their configs look as if they were indeed ISO8859-1.

    Do you happen to have an 'extended' Latin-1 character (with a code between 128 and 255), most probably the paragraph sign §, in your .condarc file? If so, either remove it or translate your .condarc to UTF-8:

    iconv -f ISO8859-1 -t UTF-8 .condarc > .condarc.utf8

    Then replace .condarc with .condarc.utf8 (back up your original file first!). The tag on the file should remain to be ISO8859-1.

    If you don't have such characters, I'd suggest a simple experiment to check that .condarc contents is actually causing your issue. Rename it to something else, say,

    mv .condarc .condarc.off

    This way you'll essentially 'turn it off'. Then, run 'conda config --show-source' again and see if the error persists. Please let us know how it goes.

    Regards,
    Vladimir

    ------------------------------
    Vladimir Ein
    Software Engineer
    Rocket Software
    ------------------------------

    Hello,

    I've converted the .condarc file to UTF-8 and the conda info, and conda config --show-source commands started to work, but when I issued conda create -n test1213 I've got the same issue as before.


    Regards, András Szabó



    ------------------------------
    Andras Szabo
    Mr
    Volkswagen AG
    Wolfsburg DE
    ------------------------------
    Vladimir Ein
    Rocketeer
    Dec 13, 2021 9:59 AM UTC

    Hello,

    I've converted the .condarc file to UTF-8 and the conda info, and conda config --show-source commands started to work, but when I issued conda create -n test1213 I've got the same issue as before.


    Regards, András Szabó



    ------------------------------
    Andras Szabo
    Mr
    Volkswagen AG
    Wolfsburg DE
    ------------------------------
    Hello Andras,

    The 'conda create' command works fine for me when I convert my .condarc to UTF-8. Can you please attach your output from 'conda create'? 

    Regards,
    Vladimir

    ------------------------------
    Vladimir Ein
    Software Engineer
    Rocket Software
    ------------------------------
    Participating Frequently
    Dec 14, 2021 7:27 AM UTC
    Hello Andras,

    The 'conda create' command works fine for me when I convert my .condarc to UTF-8. Can you please attach your output from 'conda create'? 

    Regards,
    Vladimir

    ------------------------------
    Vladimir Ein
    Software Engineer
    Rocket Software
    ------------------------------

    Hello,

    I was able to solve the issue with the .condarc (I missed a §) and now I was able to create the new environment without any issue and I was able to activate it. However when I tried to search for "git" I got te following error:

    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_.so: CEE3501S The module /u/axn0292/.ffi/i_.so
    was not found.                                                                 
    No ffi call function could be found or created                                 
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/v_iiPi.so: CEE3501S The module /u/axn0292/.ffi/v_
    iiPi.so was not found.                                                         
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/P_PXPP.so: CEE3501S The module /u/axn0292/.ffi/P_
    PXPP.so was not found.                                                         
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/v_.so: CEE3501S The module /u/axn0292/.ffi/v_.so
    was not found.                                                                 
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_P.so: CEE3501S The module /u/axn0292/.ffi/i_P.s
    o was not found.                                                               
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/v_PP.so: CEE3501S The module /u/axn0292/.ffi/v_PP
    .so was not found.                                                             
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PiiP.so: CEE3501S The module /u/axn0292/.ffi/i_
    PiiP.so was not found.                                                         
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PIPPPP.so: CEE3501S The module /u/axn0292/.ffi/
    i_PIPPPP.so was not found.                                                     
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/v_PIPP.so: CEE3501S The module /u/axn0292/.ffi/v_
    PIPP.so was not found.  
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PIPXPP.so: CEE3501S The module /u/axn0292/.ffi/
    i_PIPXPP.so was not found.                                                     
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/v_Pii.so: CEE3501S The module /u/axn0292/.ffi/v_P
    ii.so was not found.                                                           
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_iP.so: CEE3501S The module /u/axn0292/.ffi/i_iP
    .so was not found.                                                             
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PPPPIP.so: CEE3501S The module /u/axn0292/.ffi/
    i_PPPPIP.so was not found.                                                     
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PP.so: CEE3501S The module /u/axn0292/.ffi/i_PP
    .so was not found.                                                             
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PP.so: CEE3501S The module /u/axn0292/.ffi/i_PP
    .so was not found.                                                             
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PPP.so: CEE3501S The module /u/axn0292/.ffi/i_P
    PP.so was not found.                                                           
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PPI.so: CEE3501S The module /u/axn0292/.ffi/i_P
    PI.so was not found.                                                           
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PPPPIP.so: CEE3501S The module /u/axn0292/.ffi/
    i_PPPPIP.so was not found.                                                     
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PPPP.so: CEE3501S The module /u/axn0292/.ffi/i_
    PPPP.so was not found.                                                         
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/I_PPPIPI.so: CEE3501S The module /u/axn0292/.ffi/
    I_PPPIPI.so was not found.                                                     
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/I_PPPI.so: CEE3501S The module /u/axn0292/.ffi/I_
    PPPI.so was not found.                                                         
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PPP.so: CEE3501S The module /u/axn0292/.ffi/i_P
    PP.so was not found.                                                           
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/v_P.so: CEE3501S The module /u/axn0292/.ffi/v_P.s
    o was not found.                                                               
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/v_P.so: CEE3501S The module /u/axn0292/.ffi/v_P.s
    o was not found.                                                               
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/v_P.so: CEE3501S The module /u/axn0292/.ffi/v_P.s
    o was not found.                                                               
    Loading channels: Ö compile command returned 65280                             
    Failed to load /u/axn0292/.ffi/i_iP.so: CEE3501S The module /u/axn0292/.ffi/i_iP
    .so was not found.                                                             
    No ffi call function could be found or created                                 
    ! No ffi call function could be found or created                               
    CEE3201S The system detected an operation exception (System Completion Code=0C1)
    .                                                                              
             From entry point internal_verify at compile unit offset +00000000000000
    00 at entry offset -00000000170F7538 at address 0000000000000000.              
             Possible Bad Branch:  Statement: 1919  Offset: +00000230              
    CEE5202S The signal SIGILL was received.                                                                                              

    I've ​checked the directory and in i_.list I've found that it is looking for the following path /usr/lpp/cbclib/xlc/exe/ccndrvr
    Could you please advise us how should we solve this error?

    Regards, András Szabó



    ------------------------------
    Andras Szabo
    Mr
    Volkswagen AG
    Wolfsburg DE
    ------------------------------
    Vladimir Ein
    Rocketeer
    Dec 15, 2021 1:29 PM UTC

    Hello,

    I was able to solve the issue with the .condarc (I missed a §) and now I was able to create the new environment without any issue and I was able to activate it. However when I tried to search for "git" I got te following error:

    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_.so: CEE3501S The module /u/axn0292/.ffi/i_.so
    was not found.                                                                 
    No ffi call function could be found or created                                 
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/v_iiPi.so: CEE3501S The module /u/axn0292/.ffi/v_
    iiPi.so was not found.                                                         
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/P_PXPP.so: CEE3501S The module /u/axn0292/.ffi/P_
    PXPP.so was not found.                                                         
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/v_.so: CEE3501S The module /u/axn0292/.ffi/v_.so
    was not found.                                                                 
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_P.so: CEE3501S The module /u/axn0292/.ffi/i_P.s
    o was not found.                                                               
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/v_PP.so: CEE3501S The module /u/axn0292/.ffi/v_PP
    .so was not found.                                                             
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PiiP.so: CEE3501S The module /u/axn0292/.ffi/i_
    PiiP.so was not found.                                                         
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PIPPPP.so: CEE3501S The module /u/axn0292/.ffi/
    i_PIPPPP.so was not found.                                                     
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/v_PIPP.so: CEE3501S The module /u/axn0292/.ffi/v_
    PIPP.so was not found.  
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PIPXPP.so: CEE3501S The module /u/axn0292/.ffi/
    i_PIPXPP.so was not found.                                                     
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/v_Pii.so: CEE3501S The module /u/axn0292/.ffi/v_P
    ii.so was not found.                                                           
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_iP.so: CEE3501S The module /u/axn0292/.ffi/i_iP
    .so was not found.                                                             
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PPPPIP.so: CEE3501S The module /u/axn0292/.ffi/
    i_PPPPIP.so was not found.                                                     
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PP.so: CEE3501S The module /u/axn0292/.ffi/i_PP
    .so was not found.                                                             
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PP.so: CEE3501S The module /u/axn0292/.ffi/i_PP
    .so was not found.                                                             
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PPP.so: CEE3501S The module /u/axn0292/.ffi/i_P
    PP.so was not found.                                                           
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PPI.so: CEE3501S The module /u/axn0292/.ffi/i_P
    PI.so was not found.                                                           
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PPPPIP.so: CEE3501S The module /u/axn0292/.ffi/
    i_PPPPIP.so was not found.                                                     
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PPPP.so: CEE3501S The module /u/axn0292/.ffi/i_
    PPPP.so was not found.                                                         
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/I_PPPIPI.so: CEE3501S The module /u/axn0292/.ffi/
    I_PPPIPI.so was not found.                                                     
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/I_PPPI.so: CEE3501S The module /u/axn0292/.ffi/I_
    PPPI.so was not found.                                                         
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/i_PPP.so: CEE3501S The module /u/axn0292/.ffi/i_P
    PP.so was not found.                                                           
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/v_P.so: CEE3501S The module /u/axn0292/.ffi/v_P.s
    o was not found.                                                               
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/v_P.so: CEE3501S The module /u/axn0292/.ffi/v_P.s
    o was not found.                                                               
    compile command returned 65280                                                 
    Failed to load /u/axn0292/.ffi/v_P.so: CEE3501S The module /u/axn0292/.ffi/v_P.s
    o was not found.                                                               
    Loading channels: Ö compile command returned 65280                             
    Failed to load /u/axn0292/.ffi/i_iP.so: CEE3501S The module /u/axn0292/.ffi/i_iP
    .so was not found.                                                             
    No ffi call function could be found or created                                 
    ! No ffi call function could be found or created                               
    CEE3201S The system detected an operation exception (System Completion Code=0C1)
    .                                                                              
             From entry point internal_verify at compile unit offset +00000000000000
    00 at entry offset -00000000170F7538 at address 0000000000000000.              
             Possible Bad Branch:  Statement: 1919  Offset: +00000230              
    CEE5202S The signal SIGILL was received.                                                                                              

    I've ​checked the directory and in i_.list I've found that it is looking for the following path /usr/lpp/cbclib/xlc/exe/ccndrvr
    Could you please advise us how should we solve this error?

    Regards, András Szabó



    ------------------------------
    Andras Szabo
    Mr
    Volkswagen AG
    Wolfsburg DE
    ------------------------------
    Hello András,

    Please take a look at the following post:

    Conda Install Problem

    It should be sufficient to do 'conda activate' before running other conda commands.

    Regards,
    Vladimir


    ------------------------------
    Vladimir Ein
    Software Engineer
    Rocket Software
    ------------------------------
    Participating Frequently
    Dec 16, 2021 8:19 AM UTC
    Hello András,

    Please take a look at the following post:

    Conda Install Problem

    It should be sufficient to do 'conda activate' before running other conda commands.

    Regards,
    Vladimir


    ------------------------------
    Vladimir Ein
    Software Engineer
    Rocket Software
    ------------------------------

    Hello,

    thanks that helped, now I dont receive error at the search command, but it doesn't find any packages that I'm looking for:
    Loading channels: done                                                         
                                                                                   
    PackagesNotFoundError: The following packages are not available from current cha
    nnels:                                                                         
                                                                                   
      - git                                                                        
                                                                                   
    Current channels:                                                              
                                                                                   
      - https://repo.anaconda.com/pkgs/main/zos-z/zoss-appdev/zos-z                
      - https://repo.anaconda.com/pkgs/main/zos-z/zoss-appdev/noarch               
                                                                                   
    To search for alternate channels that may provide the conda package you're     
    looking for, navigate to                                                       
                                                                                   
        https://anaconda.org                                                       
                                                                                   
    and use the search bar at the top of the page.                                 
                                                                                   
    I've also tried with g* but I got the same message.
    Do you have any advice for this issue?
    Thank you in advance.

    Regards, András Szabó



    ------------------------------
    Andras Szabo
    Mr
    Volkswagen AG
    Wolfsburg DE
    ------------------------------
    Vladimir Ein
    Rocketeer
    Dec 20, 2021 3:39 AM UTC

    Hello,

    thanks that helped, now I dont receive error at the search command, but it doesn't find any packages that I'm looking for:
    Loading channels: done                                                         
                                                                                   
    PackagesNotFoundError: The following packages are not available from current cha
    nnels:                                                                         
                                                                                   
      - git                                                                        
                                                                                   
    Current channels:                                                              
                                                                                   
      - https://repo.anaconda.com/pkgs/main/zos-z/zoss-appdev/zos-z                
      - https://repo.anaconda.com/pkgs/main/zos-z/zoss-appdev/noarch               
                                                                                   
    To search for alternate channels that may provide the conda package you're     
    looking for, navigate to                                                       
                                                                                   
        https://anaconda.org                                                       
                                                                                   
    and use the search bar at the top of the page.                                 
                                                                                   
    I've also tried with g* but I got the same message.
    Do you have any advice for this issue?
    Thank you in advance.

    Regards, András Szabó



    ------------------------------
    Andras Szabo
    Mr
    Volkswagen AG
    Wolfsburg DE
    ------------------------------
    Hello András,

    Looks like the channel_alias parameter in your .condarc file points to a wrong place. The following command should fix it:

    conda config --set channel_alias https://conda.anaconda.org

    Regards,
    Vladimir

    ------------------------------
    Vladimir Ein
    Software Engineer
    Rocket Software
    ------------------------------