NuCivic / ansible-dev-vm

8 stars 5 forks source link

Issue with BuildManager #20

Closed acouch closed 9 years ago

acouch commented 9 years ago
screenshot_7_6_15__9_48_pm

from #15

acouch commented 9 years ago

Looks like yaml isn't installed in drush correctly.

What does drush status get you? Or cd /usr/local/share/drush; composer show -i

Try vagrant provision again and it should work. Think this might be related to #26

janette commented 9 years ago

drush status

 PHP executable        :  /usr/bin/php                                                                                        
 PHP configuration     :  /etc/php5/cli/php.ini                                                                               
 PHP OS                :  Linux                                                                                               
 Drush version         :  6.2.0                                                                                               
 Drush configuration   :                                                                                                      
 Drush alias files     :  /home/vagrant/.drush/nucivic_dkan.aliases.drushrc.php /home/vagrant/.drush/omes.aliases.drushrc.php 
                          /home/vagrant/.drush/dkanacquiab.aliases.drushrc.php /home/vagrant/.drush/nydmv.aliases.drushrc.php 
                          /home/vagrant/.drush/usaiddkan.aliases.drushrc.php   

composer show -i

doctrine/instantiator             1.0.5  A small, lightweight utility to instantiate objects in PHP without invoking their constructors
phpdocumentor/reflection-docblock 2.0.4  
phpspec/prophecy                  v1.4.1 Highly opinionated mocking framework for PHP 5.3+
phpunit/php-code-coverage         2.1.7  Library that provides collection, processing, and rendering functionality for PHP code coverage information.
phpunit/php-file-iterator         1.4.0  FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-text-template         1.2.1  Simple template engine.
phpunit/php-timer                 1.0.6  Utility class for timing
phpunit/php-token-stream          1.4.3  Wrapper around PHP's tokenizer extension.
phpunit/phpunit                   4.7.6  The PHP Unit Testing framework.
phpunit/phpunit-mock-objects      2.3.5  Mock Object library for PHPUnit
sebastian/comparator              1.1.1  Provides the functionality to compare PHP values for equality
sebastian/diff                    1.3.0  Diff implementation
sebastian/environment             1.2.2  Provides functionality to handle HHVM/PHP environments
sebastian/exporter                1.2.0  Provides the functionality to export PHP variables for visualization
sebastian/global-state            1.0.0  Snapshotting of global state
sebastian/recursion-context       1.0.0  Provides functionality to recursively process PHP variables
sebastian/version                 1.0.6  Library that helps with managing the version number of Git-hosted PHP projects
symfony/yaml                      v2.7.1 Symfony Yaml Component
janette commented 9 years ago

vagrant provision

unable to capture the full read out

ok: [nucvicdev]

TASK: [nucivic | Add buck_qa] ************************************************* 
ok: [nucvicdev]

TASK: [nucivic | Add runtags] ************************************************* 
ok: [nucvicdev]

TASK: [nucivic | Add random-password] ***************************************** 
ok: [nucvicdev]

TASK: [nucivic | Check Terminus installed] ************************************ 
ok: [nucvicdev]

TASK: [nucivic | Install Terminus] ******************************************** 
skipping: [nucvicdev]

TASK: [nucivic | Fix Terminus permissions] ************************************ 
failed: [nucvicdev] => {"failed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/local/bin/terminus", "size": 4816692, "state": "file", "uid": 0}
msg: refusing to convert between file and link for /usr/local/bin/terminus

FATAL: all hosts have already failed -- aborting

PLAY RECAP ******************************************************************** 
           to retry, use: --limit @/Users/janette/playbook.retry

nucvicdev                  : ok=156  changed=2    unreachable=0    failed=1   

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
acouch commented 9 years ago

Looks like it stopped b/c terminus permissions couldn't be changed when you installed it. refusing to convert between file and link for /usr/local/bin/terminus Maybe uninstall terminus or rm /usr/local/bin/terminus