Project

General

Profile

Bug #2808

frontend_startup does not pick default frontend.xml correctly

Added by Parag Mhashilkar over 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Douglas Strain
Category:
-
Target version:
Start date:
07/03/2012
Due date:
% Done:

0%

Estimated time:
First Occurred:
Occurs In:
Stakeholders:
Duration:

Description

After a fresh create_frontend

[frontend@osg-ss-glidein frontend_OSGSchoolFE12-v2_0]$ vi ../instance_v2_0.cfg/frontend.xml
[frontend@osg-ss-glidein frontend_OSGSchoolFE12-v2_0]$ ../instance_v2_0.cfg/frontend.xml
[frontend@osg-ss-glidein frontend_OSGSchoolFE12-v2_0]$ ./frontend_startup reconfig
Using default frontend config file: instance_v2_0.cfg/frontend.xml
Shutting down glideinWMS frontend OSGSchoolFE12-v2_0: [OK]
Unexpected error occurred loading the configuration file.

Config file error: [Errno 2] No such file or directory: 'instance_v2_0.cfg/frontend.xml'
Reconfiguring the frontend [OK]

When creating frontend.xml, populate it with full path to config file rather than relative path. This also applies during the reconfigs

default_cfg_fpath='instance_v2_0.cfg/frontend.xml'

Check for factory as well.

History

#1 Updated by Douglas Strain about 8 years ago

  • Assignee set to Douglas Strain

#2 Updated by Douglas Strain about 8 years ago

  • Status changed from New to Feedback
  • Assignee changed from Douglas Strain to Parag Mhashilkar

Fixed: a1369cb in branch_v2plus_2808.

Its a trivial fix, can you quickly review?

#3 Updated by Parag Mhashilkar about 8 years ago

  • Assignee changed from Parag Mhashilkar to Douglas Strain

looks good to me. please merge it

#4 Updated by Douglas Strain about 8 years ago

  • Status changed from Feedback to Resolved

Merged into v2plus and master.

#5 Updated by Douglas Strain almost 8 years ago

  • Target version set to v2_7_x

#6 Updated by Parag Mhashilkar almost 8 years ago

  • Target version changed from v2_7_x to 293

#7 Updated by Parag Mhashilkar over 7 years ago

  • Target version changed from 293 to v2_7

#8 Updated by Parag Mhashilkar over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF