Skip to content
This repository has been archived by the owner on Dec 12, 2019. It is now read-only.

Build fails at initial Pantheon check if certain default vars aren't overridden #301

Closed
dixhuit opened this issue Nov 6, 2015 · 7 comments
Labels
Milestone

Comments

@dixhuit
Copy link
Contributor

dixhuit commented Nov 6, 2015

I've been playing with the new Pantheon stuff and just bumped into a bug whereby the build fails with the error below if your settings do not override certain defaults (that's as close as I've come to troubleshooting this tonight - I'm hoping to get a tiny bit closer to knowing wtf is going on here):

TASK: [Check Pantheon Import dependencies] ************************************
fatal: [192.168.100.177] => error while evaluating conditional: vlad_pantheon_import_site and (mysql_install == false or pantheon_cli_install == false)

If I add the following to my vlad_settings.yml then the build passes the early checks as expected:

db_import_up: true
pantheon_cli_install: true

# New Pantheon stuff
vlad_pantheon_import_site: true
vlad_pantheon_import_site_email: vlad@example.com
vlad_pantheon_import_site_password: ihategarlic
vlad_pantheon_import_site_site: somesite
vlad_pantheon_import_site_env: live
vlad_pantheon_import_site_include_files: false

Vlad latest latest dev.
VirtualBox 5.0.8r103449
Vagrant 1.7.4
ansible 1.9.4
configured module search path = None
vagrant-cachier (1.2.0)
vagrant-hostsupdater (0.0.11)
vagrant-share (1.1.4, system)
vagrant-triggers (0.5.0)

I should add that I've checked out a few different commits right back to when this code was merged and the error is consistent (was worried that I'd broken something today).

cc @wizonesolutions

@dixhuit dixhuit added the bug label Nov 6, 2015
@wizonesolutions
Copy link
Contributor

It could be that I missed setting one of the defaults in my role on which
the role relies. Take a peek at the other conditions: do they also check if
defined or not? That might be the issue.

On Sat, Nov 7, 2015 at 12:07 AM, Dan Bohea notifications@github.com wrote:

I've been playing with the new Pantheon stuff and just bumped into a bug
whereby the build fails with the error below if your settings do not
override certain defaults (that's as close as I've come to troubleshooting
this tonight - I'm hoping to get a tiny bit closer to knowing wtf is going
on here):

TASK: [Check Pantheon Import dependencies] ************************************
fatal: [192.168.100.177] => error while evaluating conditional: vlad_pantheon_import_site and (mysql_install == false or pantheon_cli_install == false)

If I add the following to my vlad_settings.yml then the build passes the
early checks as expected:

db_import_up: true
pantheon_cli_install: true

New Pantheon stuff

vlad_pantheon_import_site: true
vlad_pantheon_import_site_email: vlad@example.com
vlad_pantheon_import_site_password: ihategarlic
vlad_pantheon_import_site_site: somesite
vlad_pantheon_import_site_env: live
vlad_pantheon_import_site_include_files: false

Vlad latest latest dev.
VirtualBox 5.0.8r103449
Vagrant 1.7.4
ansible 1.9.4
configured module search path = None
vagrant-cachier (1.2.0)
vagrant-hostsupdater (0.0.11)
vagrant-share (1.1.4, system)
vagrant-triggers (0.5.0)

I should add that I've checked out a few different commits right back to
when this code was merged and the error is consistent (was worried that I'd
broken something today).

cc @wizonesolutions https://github.com/wizonesolutions


Reply to this email directly or view it on GitHub
#301.

@dixhuit
Copy link
Contributor Author

dixhuit commented Nov 12, 2015

I don't have a load of time to properly debug & fix this right now but I'm also conscious of dev effectively being broken if you're not intending to use the new Pantheon import stuff.

I suggest we move the new Pantheon stuff into a separate branch until it's fixed up. Thoughts?

@wizonesolutions
Copy link
Contributor

I have that presentation Saturday, so I can fix it tomorrow.
12. nov. 2015 11:06 skrev "Dan Bohea" notifications@github.com:

I don't have a load of time to properly debug & fix this right now but I'm
also conscious of dev effectively being broken if you're not intending to
use the new Pantheon import stuff.

I suggest we move the new Pantheon stuff into a separate branch until it's
fixed up. Thoughts?


Reply to this email directly or view it on GitHub
#301 (comment).

@wizonesolutions
Copy link
Contributor

Reproduced! Troubleshooting!

wizonesolutions added a commit to wizonesolutions/vlad that referenced this issue Nov 13, 2015
@philipnorton42 philipnorton42 added this to the 1.1.7 milestone Nov 16, 2015
@wizonesolutions
Copy link
Contributor

I think this is fixed now, yeah? It's just that I'm not a maintainer, so it couldn't auto-close this issue.

@dixhuit
Copy link
Contributor Author

dixhuit commented Dec 4, 2015

Sorry! Drowning in real work and Vlad things to test. I will get back to this I promise! :)

@dixhuit
Copy link
Contributor Author

dixhuit commented Dec 5, 2015

Yep, this looks fixed. Thanks for sorting it!

@dixhuit dixhuit closed this as completed Dec 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants