a bug in the new feature frontend downtime
While translating /etc/init.d/gwms-frontend in the local instance into
a bug was introduced.
(FRONTEND_DOWNTIMES is not initialized)
This can be easily fixed.
Another issue is, the documentation for this new feature was put in install.html
just as Factory.
doc/frontend/configuration.html will be also updated to introduce this new feature.
#1 Updated by HyunWoo Kim over 3 years ago
- Status changed from New to Assigned
Here is what I did about this issue:
- created a new branch v3/12897
- modified two files
- testing was a bit tricky because frontend_initd_startup_template will be translated to /etc/init.d/gwms-frontend when rpm is build.
So, I did diff command between this template file and my local file that is working
and modified manually the template.
This manual modifications were
[hyunwoo@hepcloud-devfe templates]$ diff frontend_initd_startup_template /etc/init.d/gwms-frontend 56,59c56,59 < frontend_dir=%(frontend_dir)s < glideinWMS_dir=%(glideinWMS_dir)s < def_frontend_config=%(default_cfg_fpath)s < RPM_INSTALL=%(rpm_install)s --- > frontend_dir=/var/lib/gwms-frontend/vofrontend > glideinWMS_dir=/var/lib/gwms-frontend/vofrontend > def_frontend_config=/etc/gwms-frontend/frontend.xml > RPM_INSTALL=True 167,168c167,168 < # Double percent %% needed for template substitution < FILE_OWNER=`stat -c%%u "$def_frontend_config"` --- > # Double percent % needed for template substitution > FILE_OWNER=`stat -c%u "$def_frontend_config"`
Then I put this modified template under /etc/init.d/ after saving the existing gwms-frontend
and then conducted the testing of various donwtime features as shown in install.html
#3 Updated by HyunWoo Kim over 3 years ago
- Status changed from Assigned to Feedback
- Assignee changed from HyunWoo Kim to Marco Mambelli
(The original issue was 3422 which was pushed to 3_2_14 but a bug was found).
The bug that is corrected is in
I also updated the following HTML files
To be consistent with the instruction in configuration.html, I also corrected a couple of typos in print messages in