Hello List,
I'm trying to use the contents of my existing SMT12 setup in Uyuni and
I've followed the steps documented at:
https://www.uyuni-project.org/uyuni-docs/en/uyuni/administration/disconnecte...
But I'm getting the following error when I run "mgr-sync refresh":
uyuni:~ # mgr-sync refresh
Refreshing Channel families Please enter the credentials of SUSE Manager Administrator.
Login: admin
Password:
[DONE]
Refreshing SUSE products [FAIL]
Error:
Detailed steps:
===============
We use a NFS mount for our SMT servers. On the same NFS mount, I
created a new sub-directory called "disconnected-setup" and ran the
following two commands:
# smt-sync --createdbreplacementfile /tmp/dbrepl.xml
# smt-mirror --dbreplfile /tmp/dbrepl.xml --directory /srv/www/htdocs/repo/disconnected-setup/ --fromlocalsmt -L /var/log/smt/smt-mirror-export.log
# ls -l /srv/www/htdocs/repo/disconnected-setup/
total 11848
-rw-r--r-- 1 smt www 2 Oct 3 00:07 organizations_orders.json
-rw-r--r-- 1 smt www 10006809 Oct 3 00:07 organizations_products_unscoped.json
-rw-r--r-- 1 smt www 1744853 Oct 3 00:07 organizations_repositories.json
-rw-r--r-- 1 smt www 341708 Oct 3 00:07 organizations_subscriptions.json
drwxr-xr-x 4 smt www 4096 Oct 3 04:28 repo
lrwxrwxrwx 1 smt www 9 Oct 3 04:28 SUSE -> repo/SUSE
Back on the Uyuni server, I ran:
# mount -t nfs storage:/srv/ftp/SMT /media/SMT
# echo 'server.susemanager.fromdir = /media/SMT/repo/disconnected-setup/' >> /etc/rhn/rhn.conf
# systemctl restart tomcat
Could someone please tell me what am I missing? How do I get the
"product_tree.json" file generated from the SMT server?
Regards,
Srinidhi.