GithubHelp home page GithubHelp logo

dev-setup's Issues

Ansible failed to complete successfully

TASK [smola.java : Install Java packages] **************************************
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
squash_actions is deprecated. Instead of using a loop to supply multiple items
and specifying pkg: "{{ item }}", please use pkg: '{{ java_packages }}' and
remove the loop. This feature will be removed in version 2.11. Deprecation
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
failed: [stucco] (item=[u'oracle-java8-installer', u'oracle-java8-set-default']) => {"ansible_loop_var": "item", "changed": false, "item": ["oracle-java8-installer", "oracle-java8-set-default"], "msg": "No package matching 'oracle-java8-installer' is available"}

PLAY RECAP *********************************************************************
stucco : ok=11 changed=0 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0

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

stucco : ok=1 changed=0 unreachable=0 failed=1

ailed: [stucco] (item=[u'build-essential', u'git', u'mercurial', u'supervisor', u'zip', u'unzip', u'rsync', u'curl', u'wget']) => {"changed": false, "item": ["build-essential", "git", "mercurial", "supervisor", "zip", "unzip", "rsync", "curl", "wget"], "module_stderr": "Shared connection to 10.10.10.100 closed.\r\n", "module_stdout": "\r\n{"cache_updated": true, "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following extra packages will be installed:\n fontconfig-config fonts-dejavu-core git-man libcurl3 libdrm-intel1\n libdrm-nouveau2 libdrm-radeon1 liberror-perl libfontconfig1 libfontenc1\n libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libice6 libllvm3.4\n libpciaccess0 libsm6 libtcl8.6 libtk8.6 libtxc-dxtn-s2tc0 libutempter0\n libx11-6 libx11-data libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0\n libxcb-glx0 libxcb-present0 libxcb-shape0 libxcb-sync1 libxcb1\n libxcomposite1 libxdamage1 libxext6 libxfixes3 libxft2 libxi6 libxinerama1\n libxmu6 libxmuu1 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxss1 libxt6\n libxtst6 libxv1 libxxf86dga1 libxxf86vm1 mercurial-common python-meld3\n python-pkg-resources tcl tcl8.6 tk tk8.6 x11-common x11-utils xbitmaps xterm\nSuggested packages:\n git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk\n gitweb git-arch git-bzr git-cvs git-mediawiki git-svn libglide3 qct vim\n emacs kdiff3 kdiff3-qt kompare meld tkcvs mgdiff python-mysqldb\n python-pygments python-openssl python-distribute python-distribute-doc\n tcl-tclreadline mesa-utils xfonts-cyrillic\nRecommended packages:\n wish\nThe following NEW packages will be installed:\n curl fontconfig-config fonts-dejavu-core git git-man libcurl3 libdrm-intel1\n libdrm-nouveau2 libdrm-radeon1 liberror-perl libfontconfig1 libfontenc1\n libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libice6 libllvm3.4\n libpciaccess0 libsm6 libtcl8.6 libtk8.6 libtxc-dxtn-s2tc0 libutempter0\n libx11-6 libx11-data libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0\n libxcb-glx0 libxcb-present0 libxcb-shape0 libxcb-sync1 libxcb1\n libxcomposite1 libxdamage1 libxext6 libxfixes3 libxft2 libxi6 libxinerama1\n libxmu6 libxmuu1 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxss1 libxt6\n libxtst6 libxv1 libxxf86dga1 libxxf86vm1 mercurial mercurial-common\n python-meld3 python-pkg-resources supervisor tcl tcl8.6 tk tk8.6 unzip\n x11-common x11-utils xbitmaps xterm zip\n0 upgraded, 68 newly installed, 0 to remove and 0 not upgraded.\n2 not fully installed or removed.\nNeed to get 22.6 MB of archives.\nAfter this operation, 116 MB of additional disk space will be used.\nGet:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main libxcb1 amd64 1.10-2ubuntu1 [38.0 kB]\nGet:2 http://us.archive.ubuntu.com/ubuntu/ trusty/main libx11-data all 2:1.6.2-1ubuntu2 [111 kB]\nGet:3 http://us.archive.ubuntu.com/ubuntu/ trusty/main libx11-6 amd64 2:1.6.2-1ubuntu2 [560 kB]\nGet:4 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libxext6 amd64 2:1.3.2-1ubuntu0.0.14.04.1 [28.8 kB]\nGet:5 http://us.archive.ubuntu.com/ubuntu/ trusty/main libxmuu1 amd64 2:1.1.1-1 [11.0 kB]\nGet:6 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libcurl3 amd64 7.35.0-1ubuntu2.15 [174 kB]\nGet:7 http://us.archive.ubuntu.com/ubuntu/ trusty/main libpciaccess0 amd64 0.13.2-1 [20.4 kB]\nGet:8 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libdrm-intel1 amd64 2.4.67-1ubuntu0.14.04.2 [55.3 kB]\nGet:9 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libdrm-nouveau2 amd64 2.4.67-1ubuntu0.14.04.2 [16.0 kB]\nGet:10 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libdrm-radeon1 amd64 2.4.67-1ubuntu0.14.04.2 [21.2 kB]\nGet:11 http://us.archive.ubuntu.com/ubuntu/ trusty/main fonts-dejavu-core all 2.34-1ubuntu1 [1024 kB]\nGet:12 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main fontconfig-config all 2.11.0-0ubuntu4.2 [47.4 kB]\nGet:13 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libfontconfig1 amd64 2.11.0-0ubuntu4.2 [123 kB]\nGet:14 http://us.archive.ubuntu.com/ubuntu/ trusty/main libfontenc1 amd64 1:1.1.2-1 [15.6 kB]\nGet:15 http://us.archive.ubuntu.com/ubuntu/ trusty/main libllvm3.4 amd64 1:3.4-1ubuntu3 [6540 kB]\nGet:16 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libgl1-mesa-dri amd64 10.1.3-0ubuntu0.6 [4823 kB]\nErr http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libgl1-mes", "msg": "MODULE FAILURE", "rc": 0}
to retry, use: --limit @/tyoui/stucco/provisioning/site.retry

PLAY RECAP *********************************************************************
stucco : ok=1 changed=0 unreachable=0 failed=1

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

dev-set failed due to 404 error at www.apache.org

It looks like part of the set-up process is reaching out to a dead link:

http://www.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip.md5

Unless I'm misunderstanding something, because http://www.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip is a valid link.

TASK [jgoodall.maven3 : get_url] ***********************************************
fatal: [stucco]: FAILED! => {"changed": false, "dest": "/tmp/maven.md5", "msg": "Request failed", "response": "HTTP Error 404: Not Found", "state": "absent", "status_code": 404, "url": "http://www.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip.md5"}
	to retry, use: --limit @<MY_PATH>/stucco/provisioning/site.retry

PLAY RECAP *********************************************************************
stucco                     : ok=14   changed=10   unreachable=0    failed=1

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

Installation Fails: "TASK [jgoodall.maven3 : get_url]"

Latest versions of everything, freshly installed. Same advice: try feature/bulkload branch???

TASK [jgoodall.maven3 : get_url] ***********************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: timeout: timed out
fatal: [stucco]: FAILED! => {"changed": false, "failed": true, "msg": "failed to create temporary content file: timed out"}
	to retry, use: --limit @/Users/pmaroney/git/stucco/provisioning/site.retry

PLAY RECAP *********************************************************************
stucco                     : ok=13   changed=9    unreachable=0    failed=1   

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

Can't access 10.10.10.110:8000

After I entered "vagrant up", results are listed below.

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: The guest additions on this VM do not match the installed version of
default: VirtualBox! In most cases this is fine, but in rare cases it can
default: prevent things such as shared folders from working properly. If you see
default: shared folder errors, please make sure the guest additions within the
default: virtual machine match the version of VirtualBox you have installed on
default: your host and reload your VM.
default:
default: Guest Additions Version: 5.0.12
default: VirtualBox Version: 5.1
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
default: /vagrant => /home/lw/stucco
default: /stucco-shared => /home/lw
==> default: Machine already provisioned. Run vagrant provision or use the --provision
==> default: flag to force provisioning. Provisioners marked to run always will still run.

But I cannot access 10.10.10.110:8000, why?
Thank you very much!

Minimum real hardware requirements for STUCCO vagrant demo on OS-X?

Installing VB, Vagrant, (brew) and Ansible on a MacMini running Yosemite went fine.

However, "vagrant up" totally locked up the machine (totally meaning one has to hold the power button).
It had gotten as far as the step which was checking to make sure titan was running.

After a second lock-up, I did RTFM by scrolling down further and saw that the default VM provisioning expected a 10G machine with 4 CPUs whereas the Mini is (an admittedly old) 4G core 2 duo.
I tried modifying the vm.provider parameters to reflect reality (and even a bit more at 6G), but then the VM won't even finish booting and has to be brought down with "vagrant halt" force.

What are the minimum real hardware requirements?

Vagrant provision tries to clone non-existent stucco/config2 repository

This part of the configuration attempts to clone a github repository that is not found, leading to a (as far as I can tell) infinite hang in the vagrant provision process.

CONFIGURATION FOR ETCD

  • name: download config repo
    git: repo=https://github.com/stucco/config2.git dest={{ stucco_dir }}/config
  • name: make sure etcd is running
    service: name=etcd state=started
  • name: setup config
    shell: NODE_ENV={{ stucco_env }} node load.js chdir={{ stucco_dir }}/config/loader

CentOS 5 minimum requirements?

Spent tonight trying to get things running on a box with 8 cores, 64G running CentOS 5. Installing components was a bit more complicated than on OS-X. There's no EL5 rpm for ansible, but you can build it from source. The VB rpm instructions are only 95% accurate, but the fix was obvious. Vagrant has to be installed using --nogpgcheck but that's fairly normal.

Unfortunately, "vagrant up" fails to boot the VM complaining that the machine is in "poweroff" state.
Booting from the VB GUI gives the same result, with an error message indicating that BIOS virtualization acceleration needs to be turned on. I will check the BIOS in the morning, but the machine may be too old. AFAICT, BIOS virtualization acceleration is required to run any 64-bit OS
with VB so this may be a show-stopper.

Error during vagrant up

It looks like something from ansible:

==> default: Configuring cache buckets...
==> default: Running provisioner: ansible...
PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false ANSIBLE_SSH_ARGS='-o UserKnownHostsFile=/dev/null -o ControlMaster=auto -o ControlPersist=60s' ansible-playbook --private-key=/home/ccabot/stucco/dev-setup/.vagrant/machines/default/virtualbox/private_key --user=vagrant --connection=ssh --limit='default' --inventory-file=/home/ccabot/stucco/dev-setup/.vagrant/provisioners/ansible/inventory --extra-vars={"ansible_ssh_user":"vagrant","rexster_host":"10.10.10.100"} provisioning/site.yml

PLAY [all] ********************************************************************

GATHERING FACTS ***************************************************************
failed: [default] => {"cmd": "/usr/bin/facter --puppet --json", "failed": true, "rc": 2}
msg: [Errno 2] No such file or directory

TASK: [jgoodall.common | install common packages (build-essential, git, mercurial, supervisor, unzip, rsync, curl, wget)] ***
FATAL: no hosts matched or all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
to retry, use: --limit @/home/ccabot/site.retry

default : ok=0 changed=0 unreachable=0 failed=1

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

document-service task ordering

The task ordering for the document-service need to be modified. The tests should be run after the document-service is built and installed.

Error while building the development environment for Stucco using MacOS

Trackback of error:

TASK [smola.java : Install Java packages] **************************************
failed: [stucco] (item=[u'java_packages']) => {"failed": true, "item": ["java_packages"], "msg": "No package matching 'java_packages' is available"}

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

Any ideas on how to fix this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.