Bug 1124895

Summary: By clicking on YasT2 configuration_management I get Error no formulas available Please check log files.
Product: [openSUSE] openSUSE Tumbleweed Reporter: Marco Calistri <marco.calistri>
Component: YaST2Assignee: YaST Team <yast-internal>
Status: CONFIRMED --- QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: igonzalezsosa, marco.calistri
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Screenshot of the error
y2logz.tar.bz2 on my Google Drive

Description Marco Calistri 2019-02-10 13:53:46 UTC
I was attempting to understand the missing icons in "YaST2 control center" as described in bug #1122174 and I faced another issue: by clicking on "YaST2 configuration_management" a window pops up with the following error message:

"There are no formulas available. Please check the log files."
Comment 1 Marco Calistri 2019-02-10 14:04:20 UTC
Created attachment 796451 [details]
Screenshot of the error

Would attach the y2logs but the archive is larger than maximum permitted attachment size.
Comment 2 Ladislav Slezák 2019-02-11 08:44:03 UTC
*** Bug 1124894 has been marked as a duplicate of this bug. ***
Comment 3 Ladislav Slezák 2019-02-11 08:44:13 UTC
*** Bug 1124893 has been marked as a duplicate of this bug. ***
Comment 4 Ladislav Slezák 2019-02-11 08:46:19 UTC
(In reply to Marco Calistri from comment #1)

> Would attach the y2logs but the archive is larger than maximum permitted
> attachment size.

So please at least attach the compressed /var/log/YaST2/y2log file.
Comment 5 Marco Calistri 2019-02-11 10:51:33 UTC
(In reply to Ladislav Slezák from comment #4)
> (In reply to Marco Calistri from comment #1)
> 
> > Would attach the y2logs but the archive is larger than maximum permitted
> > attachment size.
> 
> So please at least attach the compressed /var/log/YaST2/y2log file.

First attempts were producing an over 14Mb .tgz archive which was not accepted as attachment by Bugzilla.

I obtained this kind of .tgz archive by hitting Shift+F8 from YaST2 control center.

Now I created the y2logs as tar.bz2 archive but it is still over 13Mb in size so I will upload on Google Drive and provide the URL.

Regards,
Comment 6 Imobach Gonzalez Sosa 2019-02-11 10:52:29 UTC
Although the message is not helpful at all, it is actually not a bug. Recently, we revamped the Salt Formulas Forms support in yast2-configuration-management and now it offers a way to configure and run a set of Salt Formulas.

You can find more information in our sprint report:
https://lizards.opensuse.org/2019/01/31/highlights-of-yast-development-sprint-6970/#revamping-salt-formulas-forms-support

In this case, you do not have any Salt formula in your system, hence the error. You can find some examples in OBS (https://build.opensuse.org/project/show/systemsmanagement:Uyuni:Retail) or you can roll your own if you wish.

However, I am keeping this bug report open as we might need to show a proper and non-misleading error.

Thanks!
Comment 7 Marco Calistri 2019-02-11 10:54:28 UTC
Created attachment 796487 [details]
y2logz.tar.bz2 on my Google Drive

https://drive.google.com/open?id=13uienhAbm6LOv_qvkv3eJj1CODQ4x5oS