Skip to content
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

claw-playbook fails to provision #968

Closed
dannylamb opened this issue Nov 7, 2018 · 9 comments
Closed

claw-playbook fails to provision #968

dannylamb opened this issue Nov 7, 2018 · 9 comments

Comments

@dannylamb
Copy link
Contributor

Run into this when deploying JWT config:

TASK [webserver-app : Import JWT Config Into Drupal] ******************************************************************************************
Wednesday 07 November 2018  13:13:05 -0400 (0:00:08.435)       0:23:26.935 **** 
fatal: [default]: FAILED! => {"changed": true, "cmd": ["/var/www/html/drupal/vendor/drush/drush/drush", "config-import", "-y", "--partial", "--source=/opt/islandora/configs/jwt"], "delta": "0:00:00.720709", "end": "2018-11-07 17:13:08.322135", "msg": "non-zero return code", "rc": 1, "start": "2018-11-07 17:13:07.601426", "stderr": " [error]  Drupal\\Core\\Config\\ConfigImporterException: There were errors validating the config synchronization.\nConfiguration <em class=\"placeholder\">field.storage.taxonomy_term.field_external_authority_link</em> depends on the <em class=\"placeholder\">Islandora Demo</em> module that will not be installed after import. in Drupal\\Core\\Config\\ConfigImporter->validate() (line 737 of /var/www/html/drupal/web/core/lib/Drupal/Core/Config/ConfigImporter.php). \n\nIn ConfigImportCommands.php line 259:\n                                                                               \n  The import failed due to the following reasons:                              \n  Configuration <em class=\"placeholder\">field.storage.taxonomy_term.field_ext  \n  ernal_authority_link</em> depends on the <em class=\"placeholder\">Islandora   \n  Demo</em> module that will not be installed after import.                    \n                                                                               \n\nconfig:import [--preview [PREVIEW]] [--source SOURCE] [--partial] [--diff] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-d|--debug] [-y|--yes] [--no] [--remote-host REMOTE-HOST] [--remote-user REMOTE-USER] [-r|--root ROOT] [-l|--uri URI] [--simulate] [--pipe] [-D|--define DEFINE] [--notify [NOTIFY]] [--druplicon] [--xh-link XH-LINK] [--] <command> [<label>]", "stderr_lines": [" [error]  Drupal\\Core\\Config\\ConfigImporterException: There were errors validating the config synchronization.", "Configuration <em class=\"placeholder\">field.storage.taxonomy_term.field_external_authority_link</em> depends on the <em class=\"placeholder\">Islandora Demo</em> module that will not be installed after import. in Drupal\\Core\\Config\\ConfigImporter->validate() (line 737 of /var/www/html/drupal/web/core/lib/Drupal/Core/Config/ConfigImporter.php). ", "", "In ConfigImportCommands.php line 259:", "                                                                               ", "  The import failed due to the following reasons:                              ", "  Configuration <em class=\"placeholder\">field.storage.taxonomy_term.field_ext  ", "  ernal_authority_link</em> depends on the <em class=\"placeholder\">Islandora   ", "  Demo</em> module that will not be installed after import.                    ", "                                                                               ", "", "config:import [--preview [PREVIEW]] [--source SOURCE] [--partial] [--diff] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-d|--debug] [-y|--yes] [--no] [--remote-host REMOTE-HOST] [--remote-user REMOTE-USER] [-r|--root ROOT] [-l|--uri URI] [--simulate] [--pipe] [-D|--define DEFINE] [--notify [NOTIFY]] [--druplicon] [--xh-link XH-LINK] [--] <command> [<label>]"], "stdout": "+------------+---------------------------+-----------+\n| Collection | Config                    | Operation |\n+------------+---------------------------+-----------+\n|            | key.key.islandora_rsa_key | Create    |\n|            | jwt.config                | Update    |\n+------------+---------------------------+-----------+\n\n // Import the listed configuration changes?: yes.                              ", "stdout_lines": ["+------------+---------------------------+-----------+", "| Collection | Config                    | Operation |", "+------------+---------------------------+-----------+", "|            | key.key.islandora_rsa_key | Create    |", "|            | jwt.config                | Update    |", "+------------+---------------------------+-----------+", "", " // Import the listed configuration changes?: yes.                              "]}

I think it's related to Islandora/controlled_access_terms#13 and should be easy to find and fix with a features re-export. We need to dance around depending on islandora_demo.

@seth-shaw-unlv
Copy link
Contributor

See #967 . I'm working on a PR now.

@seth-shaw-unlv
Copy link
Contributor

Well, I have what will be a PR, once I finish this test provision.

@seth-shaw-unlv
Copy link
Contributor

Actually, it stems from Islandora/controlled_access_terms#9

@seth-shaw-unlv
Copy link
Contributor

Resolved by Islandora/controlled_access_terms#14

I will let @dannylamb resolve this once his test passes.

@dannylamb
Copy link
Contributor Author

My latest attempt crapped out on blazegraph. I'm retrying now. But it is past the error in the issue description, so I'm still optimistic.

@dannylamb
Copy link
Contributor Author

😭 Crapped out blazegraph three different times. This was on a Digital Ocean VM. I'm trying locally to see what's up.

@seth-shaw-unlv
Copy link
Contributor

Odd, blazegraph hasn't given me any problems the few times I've run the playbook today.

@dannylamb
Copy link
Contributor Author

vagrant up ran fine. I'm going to try again on a Digital Ocean box just to confirm if we have an issue or if it was just bad luck/timing for me.

@dannylamb
Copy link
Contributor Author

All good now! Just a hiccup yesterday I guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants