-
Notifications
You must be signed in to change notification settings - Fork 394
Document that Acquia Connector should never have its configuration exported to code on Cloud #242
Comments
Actually now that I've given this some thought, I wonder if there's an opportunity for automation here. Let's say someone runs CC @grasmash for thoughts. |
I'd prefer to start simple. Can you explain the root cause of the issue? Does Acquia Cloud already have connector configuration somewhere? Why does it cause a problem? |
Fair point. So here's what we do on Cloud:
So we need some form of documentation that outlines we want all config in code except these things which we specifically tell you not to. |
This doesn't explain why putting connector config in config management causes a fatal error. Why does it happen? Does the config already exist in the mnt dir? Is there any error due to duplicative config? |
Correct. Previously exists in the Make more sense? |
Yes that makes more sense. In this case, is there a way we can check to see if the configuration exists elsewhere before including it? What would that look like? |
Seems related, although it's almost a year old now: https://www.drupal.org/node/2635138 |
I don't think that there's really a place for this documentation in BLT, but I'm happy to have this issue indexed via Google. My suggested workaround would be to use features to import the config rather than using Core CM. This should prevent errors related to importing duplicate config. This recommendation is already documented. |
I am pasting the issue here from JIRA...
We need to document in BLT that developers should not include Acquia Connector settings in a traditional configuration export. You cannot reproduce this locally because the file mount doesn't exist and therefore this code never runs:
I figured it out by running a bunch of tests and discovering the module couldn't be enabled (thus it was not able to load all the routes). It started with a simple error message:
Unable to install ModuleNamespace Acquia Connector, acquia_connector.settings already exists in active configuration.
Once I dug around from there it was clear this was ONLY possibly on Cloud using BLT hence why it worked locally. Something pretty important we need to document as "Before you Deploy to ACE, know this!"
The text was updated successfully, but these errors were encountered: