Bug 1703476
| Summary: | No syncable repositories found for selected products and options. (RuntimeError) | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Evgeni Golov <egolov> |
| Component: | Sync Plans | Assignee: | Samir Jha <sajha> |
| Status: | CLOSED ERRATA | QA Contact: | Stephen Wadeley <swadeley> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.5.0 | CC: | aeladawy, zhunting |
| Target Milestone: | 6.6.0 | Keywords: | Regression, Triaged, UserExperience |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-10-22 12:47:18 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Evgeni Golov
2019-04-26 14:26:49 UTC
Created redmine issue http://projects.theforeman.org/issues/26734 from this bug Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26734 has been resolved. Hello
Testing on latest snap
[root@sat-6-6-qa-rhel7 ~]# rpm -q tfm-rubygem-katello
tfm-rubygem-katello-3.12.0.1-11.master.el7sat.noarch
[root@sat-6-6-qa-rhel7 ~]# hammer sync-plan create --name TestSP --organization-id 1 --interval hourly --enabled 1 --sync-date 2019-06-17
Sync plan created.
[root@sat-6-6-qa-rhel7 ~]# hammer sync-plan info --id 1
ID: 1
Name: TestSP
Start Date: 2019/06/17 00:00:00
Interval: hourly
Enabled: yes
Cron Expression:
Recurring Logic ID: 2
Description:
Created at: 2019/06/17 14:28:03
Updated at: 2019/06/17 14:28:03
Products:
Notice no products attached.
Change so it syncs every four minutes.
[root@sat-6-6-qa-rhel7 ~]# hammer sync-plan update --id 1 --interval "custom cron" --cron-expression "*/4 * * * *"
Sync plan updated.
I found the task in web UI:
Tasks > Run Sync Plan: TestSP
got the task ID 003a0065-9edd-4d9d-b1e1-5bbcc410df3c and searched production log
[root@sat-6-6-qa-rhel7 ~]# less /var/log/foreman/production.log
2019-06-17T14:58:35 [I|app|b9a6ff5b] Started GET "/foreman_tasks/tasks/003a0065-9edd-4d9d-b1e1-5bbcc410df3c" for 192.168.121.1 at 2019-06-17 14:58:35 +0000
2019-06-17T14:58:35 [I|app|b9a6ff5b] Processing by ForemanTasks::TasksController#show as HTML
2019-06-17T14:58:35 [I|app|b9a6ff5b] Parameters: {"id"=>"003a0065-9edd-4d9d-b1e1-5bbcc410df3c"}
2019-06-17T14:58:35 [I|app|b9a6ff5b] Current user set to admin (admin)
2019-06-17T14:58:35 [I|app|b9a6ff5b] Rendering /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.15.5/app/views/foreman_tasks/tasks/show.html.erb within layouts/application
2019-06-17T14:58:35 [I|app|b9a6ff5b] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.15.5/app/views/foreman_tasks/tasks/_details.html.erb (38.7ms)
No errors seen
Checked /var/log/messages
no errors seen
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:3172 |