View Issue Details

IDProjectCategoryView StatusLast Update
0000594bareos-corebatpublic2016-01-11 15:40
Reporterunficyp Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformWindows 8OSWindowsOS Version8
Product Version15.2.2 
Summary0000594: BAT does not refresh after director config file change and reload
DescriptionBAT does not refresh Lists after changing the director config file.
"Reload bareos-dir.conf" in the GUI or issuing the reload command in the bconsole or GUI. I have to close the GUI and reopen it to see the new entries
Steps To Reproducee.g:
- add new Job in bareos-dir.conf
- issue reload command in GUI, bconsole or click "Reload bareos-dir.conf"
- Click "Refresh Jobs List" -> Job does not display
- Close and Reopen GUI -> Job displays
TagsNo tags attached.

Activities

unficyp

unficyp

2016-01-09 17:45

reporter   ~0002082

Doesn't work on 16.1.0 (nightly from 04.01.2016) too.
mvwieringen

mvwieringen

2016-01-11 15:31

developer   ~0002085

BAT caches most of the config. If you reload anything you either have to
press the button repopulate lists or restart. Given BAT is going to be removed
this ain't going to change anymore.

The code has this comment:

Two functions to respond to menu items to repop lists and execute reload
and repopulate the lists for jobs, clients, filesets .. ..
unficyp

unficyp

2016-01-11 15:36

reporter   ~0002086

Ok, thanks. Then this issue can be closed.
Is it planned to move the complete configuration to the WebGUI/Database so one can add/edit/remove jobs,filesets etc there ?
mvwieringen

mvwieringen

2016-01-11 15:39

developer   ~0002087

No the idea is that eventually you can configure the config via the
director (which also means that you can change the runtime config)
So that will also allow the WebUI do do so. The configure command is
already there only it doesn't do anything. The first steps are already
implemented e.g. pretty printing the internal config so we can dump the
config.

Issue History

Date Modified Username Field Change
2016-01-09 17:00 unficyp New Issue
2016-01-09 17:45 unficyp Note Added: 0002082
2016-01-11 15:31 mvwieringen Note Added: 0002085
2016-01-11 15:31 mvwieringen Status new => feedback
2016-01-11 15:36 unficyp Note Added: 0002086
2016-01-11 15:36 unficyp Status feedback => new
2016-01-11 15:39 mvwieringen Note Added: 0002087
2016-01-11 15:40 mvwieringen Status new => closed
2016-01-11 15:40 mvwieringen Resolution open => no change required