-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SiteLocalConfigService::storageDescriptionPath inconsistency #46043
Comments
assign core |
New categories assigned: core @Dr15Jones,@makortel,@smuzaffar you have been requested to review this Pull request/Issue and eventually sign? Thanks |
cms-bot internal usage |
A new Issue was created by @Dr15Jones. @Dr15Jones, @antoniovilela, @makortel, @mandrenguyen, @rappoccio, @sextonkennedy, @smuzaffar can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
For history, the All present uses (I guess, didn't really verify) of Theoretically we could take the directory part of
Should the storagePath() use the directory structure specified by the overridden location of site-local-config.xml , or $SITECONFIG_PATH ?
In any case I think
Adding @stlammel @nhduongvn if they would have any thoughts. |
In case of a subsite override, m_url would be of the form $SITECONFIG_PATH//JobConfig/site-local-config.xml and one would have to go up two directory levels.
|
Well, in case of CMSSW-configuration level override, I'd assume the
I can imagine weird (user) use cases where adjusting environment variables might not be easy, but adjusting CMSSW configuration would be. |
The |
if we want CMSSW-configuration level override for |
All other code in SiteLocalConfigService find where the proper site information is stored via the member data
m_url
, which normally comes from the environment variableSITECONFIG_PATH
. However, SiteLocalConfigService::storageDescriptionPath callsgetenv("SITECONFIG_PATH")
itself (without checking it is valid).Should
storageDescriptionPath
be changed to usem_url
?The text was updated successfully, but these errors were encountered: