Open-source Languages & Tools for z/OS

 View Only
Expand all | Collapse all

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

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

    Posted 10-01-2020 11:04
      |   view attached

    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
    ------------------------------

    Attachment(s)



  • 2.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    Posted 10-02-2020 09:55
    Hi Peter,
    This is very interesting. Looking at what is available via conda I see that currently not all of the Rocket Ported Tools utilities are available via conda. For example findutils, autoconf, expect.

    Is it planned to move all of utilities in Rocket Ported Tools to conda?

    --
    Best,
    Manfred

    ------------------------------
    Manfred Lotz
    IBM
    ------------------------------



  • 3.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    Posted 10-02-2020 10:34
    Hi Manfred,  we have no customers on support for those and no plans at this time to migrate those.
    Best,
    -Peter

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



  • 4.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    Posted 10-02-2020 11:22
    Hi Peter, thanks a lot for your quick reply.

    This means (if I understood correctly) that those utilities where you have no customers on support are still available via the "old way". Right?

    --
    Best, Manfred

    ------------------------------
    Manfred Lotz
    IBM
    ------------------------------



  • 5.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    Posted 10-02-2020 11:30

    Yes, but will not receive investment with no demand for them.

     

    ================================
    Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ Main Office Toll Free Number: +1 855.577.4323
    Contact Customer Support: https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport
    Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - http://www.rocketsoftware.com/manage-your-email-preferences
    Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy
    ================================

    This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you.






  • 6.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    Posted 10-02-2020 13:07
    Understand. Makes sense. Thanks a lot.

    ------------------------------
    Manfred Lotz
    IBM
    ------------------------------



  • 7.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    Posted 01-15-2021 14:53
    Is there a solution for z/OS systems which do not have internet conductivity?

    ------------------------------
    Mitch Johnson
    IBM Corporation
    ------------------------------



  • 8.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    Posted 01-18-2021 09:29
    Yes Mitch, one of the advantages of conda as a delivery vehicle is its support for on-premise file channels.  This is ideal for "air-gapped" z/OS systems. Customers on paid support for our open source ports can download the entire bundle and run a script that sets up and populates an on-premise file channel (i.e. repository).

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



  • 9.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    Posted 10-21-2021 10:23
    Hello Peter,

    Has ever someone had this error installing miniconda ?
    DV00024@C012-/DVLP/COMMON/miniconda> ./miniconda-zos-1.2.1-2020-12-23.run --path $PWD/v121
    ********************************************************************************
    * Miniconda installation script is starting at 2021.10.21 14:00:05...
    ********************************************************************************
    Installing Miniconda distribution to '/DVLP/COMMON/miniconda/v121'. Continue? [Y/n] Y
    Moving out sensitive files and directories...
    Extracting packages from distribution...
    Installing packages...
    PREFIX=/DVLP/COMMON/miniconda/v121
    installing: preconda ...
    installing: anaconda-client-1.7.2-py37_2 ...
    installing: asn1crypto-0.24.0-py37_0 ...
    installing: autotag-0.5-10 ...
    installing: bash-4.3.48-2 ...
    installing: beautifulsoup4-4.6.0-py37_0 ...
    installing: bzip2-1.0.6-6 ...
    installing: certifi-2018.4.16-py37_0 ...
    installing: cffi-1.11.5-py37_0 ...
    installing: chardet-3.0.4-py37_0 ...
    installing: click-6.7-py37_1 ...
    installing: clyent-1.2.1-py37_1 ...
    installing: conda-4.5.8-py37_11 ...
    installing: conda-build-3.12.0-py37_5 ...
    installing: conda-verify-3.0.2-py37_0 ...
    installing: cryptography-2.3-py37_3 ...
    installing: decorator-4.3.0-py37_0 ...
    installing: filelock-3.0.4-py37_0 ...
    installing: future-0.16.0-py37_1 ...
    installing: gettext-0.19.8.1-1 ...
    installing: glob2-0.6-py37_2 ...
    installing: idna-2.7-py37_0 ...
    installing: ipython_genutils-0.2.0-py37_0 ...
    installing: jinja2-2.10-py37_0 ...
    installing: jsonschema-2.6.0-py37_1 ...
    installing: jupyter_core-4.4.0-py37_2 ...
    installing: libffi-3.2.1-6 ...
    installing: markupsafe-1.0-py37_5 ...
    installing: nbformat-4.4.0-py37_0 ...
    installing: ncurses-6.1-10 ...
    installing: openssl-1.0.2k-5 ...
    installing: pkginfo-1.4.2-py37_0 ...
    installing: pyasn1-0.4.3-py37_0 ...
    installing: pycosat-0.6.3-py37_0 ...
    installing: pycparser-2.18-py37_0 ...
    installing: pyopenssl-18.0.0-py37_2 ...
    installing: python-3.7.0-30 ...
    installing: python-dateutil-2.7.3-py37_0 ...
    installing: pytz-2018.5-py37_0 ...
    installing: pyyaml-3.13-py37_0 ...
    installing: readline-7.0-3 ...
    installing: requests-2.19.1-py37_0 ...
    installing: ruamel_yaml-0.15.43-py37_0 ...
    installing: setuptools-40.0.0-py37_0 ...
    installing: six-1.14.0-py37_2 ...
    installing: sqlite-3.23.1-0 ...
    installing: traitlets-4.3.2-py37_1 ...
    installing: urllib3-1.23-py37_0 ...
    installing: xz-5.2.3-2 ...
    installing: yaml-0.1.6-1 ...
    installing: zlib-1.2.11-4 ...
    Building the "base" Anaconda environment
    Done.
    ---- installing extra_pkgs to the base env ----
    conda-repo-cli-1.0.1+2.g39f4600-py_0.tar.bz2:
    Fatal Python error: initfsencoding: unable to load the file system codec
    ModuleNotFoundError: No module named 'encodings'

    Current thread 0x198e600000000001 (most recent call first):
    CEE5207E The signal SIGABRT was received.
    Fatal Python error: initfsencoding: unable to load the file system codec
    ModuleNotFoundError: No module named 'encodings'

    Current thread 0x198ca80000000001 (most recent call first):
    CEE5207E The signal SIGABRT was received.
    /DVLP/COMMON/miniconda/v121/etc/profile.d/conda.sh: line 150: 67241914 ABORT instruction $_CONDA_EXE "$cmd" "$@"
    DV00024@C012-/DVLP/COMMON/miniconda> . /DVLP/COMMON/miniconda/v121/etc/profile.d/conda.sh
    DV00024@C012-/DVLP/COMMON/miniconda> conda
    Fatal Python error: initfsencoding: unable to load the file system codec
    ModuleNotFoundError: No module named 'encodings'

    Current thread 0x199bd80000000000 (most recent call first):
    CEE5207E The signal SIGABRT was received.
    [1] + Done(131) conda
    50462820 Abort /DVLP/COMMON/miniconda/v121/bin/conda

    Regards,

    Marc Baguelin

    ------------------------------
    Marc Baguelin
    System Engineer
    Self Registered
    Cagnes sur Mer France
    ------------------------------



  • 10.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    ROCKETEER
    Posted 10-21-2021 10:54

    Hi Marc,
    Take a look at this thread:

    https://community.rocketsoftware.com/forums/forum-home/digestviewer/viewthread?MessageKey=a19796f8-b451-427c-bb5e-6d3c9f27b8ac&CommunityKey=1e694975-142d-4f2d-9b52-0e37e225db41&tab=digestviewer#bma19796f8-b451-427c-bb5e-6d3c9f27b8ac

    Thanks



    ------------------------------
    Alexander Klochkov
    QA
    Rocket Internal - All Brands
    Vilnius Lithuania
    ------------------------------



  • 11.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    Posted 10-21-2021 13:09
    Many Thanks Alexander,

    I was exactly in the same situation as Caludio in the post you indicates me.
    Removing IBM Open Enterprise Python for z/OS traces from the environment variables solves my problem and I was able to install miniconda properly.
    Regards,



    ------------------------------
    Marc Baguelin
    System Engineer - PROBTP
    ------------------------------



  • 12.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    Posted 11-26-2021 14:15
    ​Hello,
    I have been directed to this thead from zOpenSourceDownload to see a videao about install of Miniconda. Where can I find the video?
    Second, I would like to reach the public or secure conda channel from a z/OS system with internet access but behind firewall/proxy? what settings are needed for that? The CONDA documentation descibes proxy usage for Win, Linux but not for z/OS.
    Should I report a case instead of asking this here?

    Thanks in advance!
    András Szabó

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



  • 13.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    Posted 11-29-2021 09:20

    Hello András,

    I recommend two videos.  The video instructing how to download and install z/OS Miniconda, and another video instructing how to use conda to download and install open-source ports for z/OS.

    As for firewall/proxy settings this posting explains (it is exactly the same for z/OS as it is for Linux).  However with a support contract you will also have access to install options that do not require internet access for you z/OS systems.

    As Volkswagen is not on a support contract for any of our Rocket z/OS open-source ports, you will need to ask additional questions here on this forum.  Rocket's support portal is restricted to customers that are paying support.

    Please note also that without a support contract Volkswagen will not have access to new versions of ports, nor to CVE (security vulnerability) fixes until after a six month delay.  If you need fast access to vulnerability fixes I recommend getting on support.

    Best regards,

    -Peter



    ------------------------------
    Peter Fandel
    Sr. Director, Product Management
    Rocket Software
    ------------------------------



  • 14.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    Posted 12-06-2021 02:26

    Hello,

    Thank you for the videos, I've managed to get to the following point:
    After I issue 'conda create -n test1203' I face the following error:

    # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

    Traceback (most recent call last):
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/exc
    eptions.py", line 819, in __call__
    return func(*args, **kwargs)
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/cli
    /main.py", line 74, in _main
    context.__init__(argparse_args=args)
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/bas
    e/context.py", line 238, in __init__
    argparse_args=argparse_args)
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
    mon/configuration.py", line 722, in __init__
    self._set_search_path(search_path)
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
    mon/configuration.py", line 728, in _set_search_path
    self._set_raw_data(load_file_configs(search_path))
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
    mon/configuration.py", line 369, in load_file_configs
    raw_data = odict(kv for kv in chain.from_iterable(load_paths))
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
    mon/configuration.py", line 369, in <genexpr>
    raw_data = odict(kv for kv in chain.from_iterable(load_paths))
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
    mon/configuration.py", line 344, in _file_yaml_loader
    yield fullpath, YamlRawParameter.make_raw_parameters_from_file(fullpath)
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
    mon/configuration.py", line 332, in make_raw_parameters_from_file
    ruamel_yaml = yaml_load(fh)
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
    mon/serialize.py", line 54, in yaml_load
    return yaml.load(string, Loader=yaml.RoundTripLoader, version="1.2")
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
    ml/main.py", line 638, in load
    loader = Loader(stream, version, preserve_quotes=preserve_quotes)
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
    ml/loader.py", line 59, in __init__
    Reader.__init__(self, stream, loader=self)
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
    ml/reader.py", line 80, in __init__
    self.stream = stream # type: Any # as .read is called
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
    ml/reader.py", line 125, in stream
    self.determine_encoding()
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
    ml/reader.py", line 169, in determine_encoding
    self.update_raw()
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
    ml/reader.py", line 278, in update_raw
    data = self.stream.read(size)
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/codecs.py", line 323, i
    n decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa7 in position 235: in
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa7 in position 235: in
    valid start byte 

    ******
    At the moment we are unable to open cases for open software can you support me with this case, in this format? 



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



  • 15.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    ROCKETEER
    Posted 12-06-2021 13:34
    Hello Andras,

    It looks like an issue with the encoding of .condarc file(s), but I'm not sure exactly what's causing the issue. To find out what it might be, we'll need some extra info from you - can you send the output of the following commands?

    env|sort
    ls -T ~/.condarc
    cat ~/.condarc
    conda config --show-source

    Regards,
    Vladimir

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



  • 16.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    Posted 12-08-2021 04:34
    Hello,

    env command: 
    MANPATH=/usr/man/%L:/usr/lpp/ported/php/php/man
    TERM=dumb
    SHELL=/usr/lpp/ROK/Miniconda/bin/bash
    _CC_SLIB_PREFIX=SYS1
    CONDA_SHLVL=0
    TMP_VI=/var/vi
    _C89_CLIB_PREFIX=SYS1
    _CC_CLIB_PREFIX=SYS1
    LIBPATH=/lib:/usr/lib:.
    COLUMNS=80
    NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
    _CCMODE=1
    _BPXK_AUTOCVT=ON
    PATH=/bin:.:/usr/local/bin:/usr/lpp/java/J7.1_64/bin:/usr/lpp/ihsa_zos/bin:/usr/
    lpp/ROK/Miniconda/bin:/usr/lpp/ported/php/bin
    MAIL=/usr/mail/AXN0292
    _CC_PLIB_PREFIX=SYS1
    PWD=/u/axn0292
    _BPX_TERMPATH=OMVS
    JAVA_HOME=/usr/lpp/java/J7.1_64
    LANG=C
    _C89_SLIB_PREFIX=SYS1
    TZ=MEZ-1MSZ,M3.5.0,M10.5.0
    _CEE_RUNOPTS=FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)
    PS1=MSW0 <$PWD>
    LINES=28
    _C89_PLIB_PREFIX=SYS1
    SHLVL=1
    HOME=/u/axn0292
    LOGNAME=AXN0292
    CLASSPATH=/usr/lpp/java/J7.1_64/lib:/usr/local/NetRexx/lib/NetRexxC.zip:.
    _=/bin/env

    ls -T command:
    MSW0 </usr/lpp/ROK/Miniconda>ls -T /usr/lpp/ROK/Miniconda/.condarc
    t ISO8859-1 T=on /usr/lpp/ROK/Miniconda/.condarc


    cat command:
    add_pip_as_python_dependency: False
    #channel_alias: https://condaserver.rocketsoftware.com/api/repo
    channel_alias: https://repo.anaconda.com/pkgs/main/zos-z
    channels:
    - zoss-appdev

    We have also modified the proxy in this file.



    conda config command: 
    # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

    Traceback (most recent call last):
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/exc
    eptions.py", line 819, in __call__
    return func(*args, **kwargs)
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/cli
    /main.py", line 74, in _main
    context.__init__(argparse_args=args)
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/bas
    e/context.py", line 238, in __init__
    argparse_args=argparse_args)
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
    mon/configuration.py", line 722, in __init__
    self._set_search_path(search_path)
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
    mon/configuration.py", line 728, in _set_search_path
    self._set_raw_data(load_file_configs(search_path))
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
    mon/configuration.py", line 369, in load_file_configs
    raw_data = odict(kv for kv in chain.from_iterable(load_paths))
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
    mon/configuration.py", line 369, in <genexpr>
    raw_data = odict(kv for kv in chain.from_iterable(load_paths))
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
    mon/configuration.py", line 344, in _file_yaml_loader
    yield fullpath, YamlRawParameter.make_raw_parameters_from_file(fullpath)
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
    mon/configuration.py", line 332, in make_raw_parameters_from_file
    ruamel_yaml = yaml_load(fh)
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/conda/com
    mon/serialize.py", line 54, in yaml_load
    return yaml.load(string, Loader=yaml.RoundTripLoader, version="1.2")
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
    ml/main.py", line 638, in load
    loader = Loader(stream, version, preserve_quotes=preserve_quotes)
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
    ml/loader.py", line 59, in __init__
    Reader.__init__(self, stream, loader=self)
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
    ml/reader.py", line 80, in __init__
    self.stream = stream # type: Any # as .read is called
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
    ml/reader.py", line 125, in stream
    self.determine_encoding()
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
    ml/reader.py", line 169, in determine_encoding
    self.update_raw()
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/site-packages/ruamel/ya
    ml/reader.py", line 278, in update_raw
    data = self.stream.read(size)
    File "/VERSION/usr/lpp/ROK/Miniconda/lib/python3.7/codecs.py", line 323, i
    n decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa7 in position 235: in
    valid start byte

    `$ /VERSION/usr/lpp/ROK/Miniconda/bin/conda config --show-source`

    environment variables:
    CIO_TEST=<not set>
    CLASSPATH=/usr/lpp/java/J7.1_64/lib:/usr/local/NetRexx/lib/NetRe
    xxC.zip:.
    CONDA_ROOT=/VERSION/usr/lpp/ROK/Miniconda
    CONDA_SHLVL=0
    LIBPATH=/VERSION/usr/lpp/ROK/Miniconda/lib:/lib:/usr/lib:.
    MANPATH=/usr/man/%L:/usr/lpp/ported/php/php/man
    NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
    PATH=/bin:.:/usr/local/bin:/usr/lpp/java/J7.1_64/bin:/usr/l
    pp/ihsa_zos/bin:
    /usr/lpp/ROK/Miniconda/bin:/usr/lpp/ported/php/bin
    REQUESTS_CA_BUNDLE=<not set>
    SSL_CERT_FILE=/VERSION/usr/lpp/ROK/Miniconda/ssl/cert.pem
    _BPX_TERMPATH=OMVS

    active environment : None
    shell level : 0
    user config file : /u/axn0292/.condarc
    populated config files :
    conda version : 4.5.8
    conda-build version : conda-build-3.12.0-py37_2+3.g8ab3902b
    python version : 3.7.0.final.0
    base environment : /VERSION/usr/lpp/ROK/Miniconda (read only)
    channel URLs : https://repo.anaconda.com/pkgs/main/zos-z
    https://repo.anaconda.com/pkgs/main/noarch
    https://repo.anaconda.com/pkgs/free/zos-z
    https://repo.anaconda.com/pkgs/free/noarch
    https://repo.anaconda.com/pkgs/r/zos-z
    https://repo.anaconda.com/pkgs/r/noarch
    https://repo.anaconda.com/pkgs/pro/zos-z
    https://repo.anaconda.com/pkgs/pro/noarch
    package cache : /VERSION/usr/lpp/ROK/Miniconda/pkgs
    /u/axn0292/.conda/pkgs
    envs directories : /u/axn0292/.conda/envs
    /VERSION/usr/lpp/ROK/Miniconda/envs
    platform : zos-z
    user-agent : conda/4.5.8 requests/2.19.1 CPython/3.7.0 z/OS/2.4 z/O
    S/0
    UID:GID : 5989:2
    netrc file : None
    offline mode : False


    An unexpected error has occurred. Conda has prepared the above report.
    If submitted, this report will be used by core maintainers to improve
    future releases of conda.
    Would you like conda to send this report to the core maintainers?
    Ýy/N¨:




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



  • 17.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    ROCKETEER
    Posted 12-08-2021 13:09
    Hello Andras,

    These commands actually refer to .condarc in your home directory. The tilde ~ is a synonym for the $HOME environment variable.

    ls -T ~/.condarc
    cat ~/.condarc

    Looking at your env variables, this should be the file /u/axn0292/.condarc. Can you run them again, exactly in the form I typed them here?

    Regards,
    Vladimir

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



  • 18.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    Posted 12-09-2021 04:14
    Hello,

    We do not have .condarc in our home directory.

    Regards, András Szabó

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



  • 19.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    ROCKETEER
    Posted 12-09-2021 13:44
    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
    ------------------------------



  • 20.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    Posted 12-13-2021 05:45

    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
    ------------------------------



  • 21.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    ROCKETEER
    Posted 12-13-2021 09:59
    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
    ------------------------------



  • 22.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    Posted 12-14-2021 07:27

    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
    ------------------------------



  • 23.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    ROCKETEER
    Posted 12-15-2021 13:29
    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
    ------------------------------



  • 24.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    Posted 12-16-2021 08:19

    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
    ------------------------------



  • 25.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    ROCKETEER
    Posted 12-20-2021 03:39
    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
    ------------------------------



  • 26.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    Posted 12-09-2021 09:31

    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
    ------------------------------



  • 27.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    Posted 12-09-2021 09:51
    These are my notes on how I deployed git without deploying conda to multiple systems - this may give you some ideas for what you can do.  My goal was to NOT have a copy of conda on all systems, or for my users to have to activate conda to use git. This is also working for other conda installed packages. I'm sure this can be improved upon but it has worked for the dozen or so times I've used it.

    1. conda create -n git226 git
    2. env | sort > before
    3. conda activate git226
    4. env | sort > after
    5. conda deactivate git226
    6. diff before after > diff
    7. edit diff
    - ignore > CONDA .... records
    - ignore all records that don't have a > or <
    - ignore PS2 and PWD
    - ignore SHELL and SHLVL
    - capture delta for remaining
    - create exports for delta
    export LIBPATH=/u/lbdyck/miniconda/envs/git226/lib:$LIBPATH
    export MANPATH=/u/lbdyck/miniconda/envs/git226/share/man:/u/lbdyck/miniconda/envs/git226/man:$MANPATH
    export PATH=/u/lbdyck/miniconda/envs/git226/bin:$PATH
    - adjust the exports for the new path (e.g. /tools/git/)
    export LIBPATH=/tools/git/lib:$LIBPATH
    export MANPATH=/tools/git/share/man:/tools/git/man:$MANPATH
    export PATH=/tools/git/bin:$PATH
    8. Create a new zfs (e.g. git226.zfs)
    9. mount it at /tools/git/
    10. copy (cp) from /u/lbdyck/miniconda/envs/git226 to /tools/git
    cp -R /u/lbdyck/miniconda/envs/git226/ /tools/git/
    11. Add new exports to /etc/profile

    ------------------------------
    LionelDyck <><
    https://github.com/zigi
    https://github.com/lbdyck
    ------------------------------



  • 28.  RE: Introducing z/OS conda for download and deployment of z/OS open source products

    ROCKETEER
    Posted 12-09-2021 14:08
    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
    ------------------------------