MrMEEE / awx-rpm-v2

AWX-RPM Reignited
GNU Affero General Public License v3.0
36 stars 11 forks source link

unable to instal #18

Closed PsLearn closed 6 months ago

PsLearn commented 8 months ago

The full traceback is: File "/tmp/ansible_ansible.builtin.dnf_payload_9_i6zxhi/ansible_ansible.builtin.dnf_payload.zip/ansible/modules/dnf.py", line 746, in _base File "/usr/lib/python3.9/site-packages/dnf/base.py", line 406, in fill_sack self._add_repo_to_sack(r) File "/usr/lib/python3.9/site-packages/dnf/base.py", line 141, in _add_repo_to_sack repo.load() File "/usr/lib/python3.9/site-packages/dnf/repo.py", line 581, in load raise dnf.exceptions.RepoError(str(e)) fatal: [sgcbuansiinf001]: FAILED! => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python3-policycoreutils" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": "installed", "update_cache": false, "update_only": false, "validate_certs": true } }, "msg": "Failed to download metadata for repo 'awx-rpm-23.7.0': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "results": [] }

PsLearn commented 8 months ago

Can install offline?without internet.?

MrMEEE commented 8 months ago

Not without cloning the repository to a local server?

MrMEEE commented 8 months ago

What is your setup? Do you have a Katello/Satellite server?

PsLearn commented 7 months ago

I didn't clone it. I manage to do it online and export vm to offline. Is it possible to rename the instance? I have changed the host name and ip hence need to align with host name. Since there is no internet connection and unable to run the job due to connecting to internet. Any advice

MrMEEE commented 7 months ago

I think you are looking for "awx-manage provision_instance" and "awx-manage deprovision_instance" :)

wooyoungAhn commented 7 months ago

Hello Was the installation successful in an offline environment? I'm looking for a list of required rpm packages to install prior to installation.

MrMEEE commented 7 months ago

@wooyoungAhn you need to clone the following repos:

MrMEEE commented 6 months ago

Please reopen if this is still an issue