IBM / ansible-for-i

the tool is to provide several customized modules for Ansible to manage IBM i systems.
GNU General Public License v3.0
56 stars 54 forks source link

Errno 14] curl#6 - "Could not resolve host: public.dhe.ibm.com" Trying other mirror. #74

Closed mad5bo closed 3 years ago

mad5bo commented 3 years ago

Hi, the main goal is to install Ansible controller on IBM i, the IBM i VM is provisioned off-premises at IBM Cloud and has an External IP, so can get access to the Internet.

  1. The RPM setup did well, running bootstrap.sql

image

  1. Using ACS the connections by SSH to the VM did well.

  2. Then trying to install any package this message is displayed ftp://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: public.dhe.ibm.com" Trying other mirror. Setting up Upgrade Process Resolving Dependencies --> Running transaction check ---> Package yum.noarch 0:3.4.3-14 will be updated ---> Package yum.noarch 0:3.4.3-18 will be an update --> Processing Dependency: python2-iniparse for package: yum-3.4.3-18.noarch --> Running transaction check ---> Package python2-iniparse.noarch 0:0.4-2 will be installed Error: Rpmdb changed underneath us Traceback (most recent call last): File "/QOpenSys/pkgs/bin/yum", line 29, in yummain.user_main(sys.argv[1:], exit_code=True) File "/QOpenSys/pkgs/share/yum-cli/yummain.py", line 288, in user_main errcode = main(args) File "/QOpenSys/pkgs/share/yum-cli/yummain.py", line 203, in main if base._depsolving_failed: AttributeError: 'YumBaseCli' object has no attribute '_depsolving_failed'

  3. Even if you try to display the information only image

  4. Doing this test is OK image

  5. DNS looks as follows image image

Is there any other consideration for IBM i off-premises?

Thanks in advance!

mad5bo commented 3 years ago

I added the IP of the repository at DNS