hello everyone:
I'm installing cloud foundry in our lab environment. But I'm
confused with a installment insure.
the information for screen is like below:
ERROR:
deployment_remote_file[/var/cache/dev_setup/lua-5.1.4.tar.gz]
(nginx::default line 24) has had an error
[2012-09-06T13:09:51+08:00] ERROR:
deployment_remote_file[/var/cache/dev_setup/lua-5.1.4.tar.gz]
(/root/cloudfoundry/vcap/dev_setup/cookbooks/nginx/recipes/default.rb:24:in
`from_file') had an error:
deployment_remote_file[/var/cache/dev_setup/lua-5.1.4.tar.gz]
(nginx::default line 24) had an error: RuntimeError: Checksum mismatch for
cf_remote_file deployment_remote_file[/var/cache/dev_setup/lua-5.1.4.tar.gz]

I found that every time the cf_remote_file function is used, the
problem happened. Do I need set proxy for this? But I have set proxy in the
host by
export http_proxy=http://username:passwd@proxy.xxxxxx.com:8080
export https_proxy=http://username:passwd@proxy.xxxxxx.com:8080

Search Discussions

  • Haipeng Wu at Sep 6, 2012 at 7:29 am
    seems your network issue, please try to use proxy like below:
    ./vcap_dev_setup -p http://yourproxy/

    haipeng
    On Thu, Sep 6, 2012 at 2:48 PM, wrote:

    hello everyone:
    I'm installing cloud foundry in our lab environment. But I'm
    confused with a installment insure.
    the information for screen is like below:
    ERROR:
    deployment_remote_file[/var/cache/dev_setup/lua-5.1.4.tar.gz]
    (nginx::default line 24) has had an error
    [2012-09-06T13:09:51+08:00] ERROR:
    deployment_remote_file[/var/cache/dev_setup/lua-5.1.4.tar.gz]
    (/root/cloudfoundry/vcap/dev_setup/cookbooks/nginx/recipes/default.rb:24:in
    `from_file') had an error:
    deployment_remote_file[/var/cache/dev_setup/lua-5.1.4.tar.gz]
    (nginx::default line 24) had an error: RuntimeError: Checksum mismatch for
    cf_remote_file deployment_remote_file[/var/cache/dev_setup/lua-5.1.4.tar.gz]

    I found that every time the cf_remote_file function is used, the
    problem happened. Do I need set proxy for this? But I have set proxy in the
    host by
    export http_proxy=http://username:passwd@proxy.xxxxxx.com:8080
    export https_proxy=http://username:passwd@proxy.xxxxxx.com:8080
  • Yangzifeng1104 at Sep 6, 2012 at 8:27 am
    Hi Haipeng
    it has already been done. still not working.
    By the way, My OS is Ubuntu 10.04 32bit. Maybe this cause the problem.

    在 2012年9月6日星期四UTC+8下午3时29分28秒,Haipeng Wu写道:
    seems your network issue, please try to use proxy like below:
    ./vcap_dev_setup -p http://yourproxy/

    haipeng

    On Thu, Sep 6, 2012 at 2:48 PM, <yangzif...@gmail.com <javascript:>>wrote:
    hello everyone:
    I'm installing cloud foundry in our lab environment. But I'm
    confused with a installment insure.
    the information for screen is like below:
    ERROR:
    deployment_remote_file[/var/cache/dev_setup/lua-5.1.4.tar.gz]
    (nginx::default line 24) has had an error
    [2012-09-06T13:09:51+08:00] ERROR:
    deployment_remote_file[/var/cache/dev_setup/lua-5.1.4.tar.gz]
    (/root/cloudfoundry/vcap/dev_setup/cookbooks/nginx/recipes/default.rb:24:in
    `from_file') had an error:
    deployment_remote_file[/var/cache/dev_setup/lua-5.1.4.tar.gz]
    (nginx::default line 24) had an error: RuntimeError: Checksum mismatch for
    cf_remote_file deployment_remote_file[/var/cache/dev_setup/lua-5.1.4.tar.gz]

    I found that every time the cf_remote_file function is used, the
    problem happened. Do I need set proxy for this? But I have set proxy in the
    host by
    export http_proxy=http://username:passwd@proxy.xxxxxx.com:8080
    export https_proxy=http://username:passwd@proxy.xxxxxx.com:8080
  • Haipeng Wu at Sep 6, 2012 at 9:12 am
    I don't think 32bit should be the problem, could you please try below
    command to check if you could connect to cf blobs?
    curl http://blob.cfblob.com

    haipeng
    On Thu, Sep 6, 2012 at 4:27 PM, wrote:

    Hi Haipeng
    it has already been done. still not working.
    By the way, My OS is Ubuntu 10.04 32bit. Maybe this cause the
    problem.

    在 2012年9月6日星期四UTC+8下午3时29分28秒,Haipeng Wu写道:
    seems your network issue, please try to use proxy like below:
    ./vcap_dev_setup -p http://yourproxy/

    haipeng
    On Thu, Sep 6, 2012 at 2:48 PM, wrote:

    hello everyone:
    I'm installing cloud foundry in our lab environment. But I'm
    confused with a installment insure.
    the information for screen is like below:
    ERROR: deployment_remote_file[/var/**
    cache/dev_setup/lua-5.1.4.tar.**gz] (nginx::default line 24) has had an
    error
    [2012-09-06T13:09:51+08:00] ERROR: deployment_remote_file[/var/**
    cache/dev_setup/lua-5.1.4.tar.**gz] (/root/cloudfoundry/vcap/dev_**
    setup/cookbooks/nginx/recipes/**default.rb:24:in `from_file') had an
    error:
    deployment_remote_file[/var/**cache/dev_setup/lua-5.1.4.tar.**gz]
    (nginx::default line 24) had an error: RuntimeError: Checksum mismatch for
    cf_remote_file deployment_remote_file[/var/**
    cache/dev_setup/lua-5.1.4.tar.**gz]

    I found that every time the cf_remote_file function is used, the
    problem happened. Do I need set proxy for this? But I have set proxy in the
    host by
    export http_proxy=http://username:**passwd@proxy.xxxxxx.com:8080<http://username:passwd@proxy.xxxxxx.com:8080>
    export https_proxy=http://username:**passwd@proxy.xxxxxx.com:8080<http://username:passwd@proxy.xxxxxx.com:8080>
  • Yangzifeng1104 at Sep 7, 2012 at 7:46 am
    The result is below, is this OK?
    root@t64:~# curl http://blob.cfblob.com
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>301 Moved Permanently</title>
    </head><body>
    <h1>Moved Permanently</h1>
    <p>The document has moved <a href="https://blob.cfblob.com/">here</a>.</p>
    <hr>
    <address>Apache Server at blob.cfblob.com Port 80</address>
    </body></html>


    >
  • Haipeng Wu at Sep 7, 2012 at 9:29 am
    it is OK.
    On Fri, Sep 7, 2012 at 3:46 PM, wrote:

    The result is below, is this OK?
    root@t64:~# curl http://blob.cfblob.com
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>301 Moved Permanently</title>
    </head><body>
    <h1>Moved Permanently</h1>
    <p>The document has moved <a href="https://blob.cfblob.com/">here</a>.</p>
    <hr>
    <address>Apache Server at blob.cfblob.com Port 80</address>
    </body></html>
  • Yangzifeng1104 at Sep 11, 2012 at 4:42 am
    So How can I fix this problem?

    [2012-09-11T12:34:06+08:00] INFO: Processing
    deployment_remote_file[/var/cache/dev_setup/libpq5_9.2.deb] action create
    (essentials::default line 20)

    ================================================================================
    Error executing action `create` on resource
    'deployment_remote_file[/var/cache/dev_setup/libpq5_9.2.deb]'
    ================================================================================

    RuntimeError
    ------------
    Checksum mismatch for cf_remote_file
    deployment_remote_file[/var/cache/dev_setup/libpq5_9.2.deb]

    Cookbook Trace:
    ---------------
    /root/cloudfoundry/vcap/dev_setup/cookbooks/deployment/providers/remote_file.rb:49:in
    `action_create'
    /root/cloudfoundry/vcap/dev_setup/cookbooks/deployment/providers/remote_file.rb:24:in
    `download_blob'
    /root/cloudfoundry/vcap/dev_setup/cookbooks/deployment/providers/remote_file.rb:21:in
    `download_blob'
    /root/cloudfoundry/vcap/dev_setup/cookbooks/deployment/providers/remote_file.rb:38:in
    `action_create'

    Resource Declaration:
    ---------------------
    # In
    /root/cloudfoundry/vcap/dev_setup/cookbooks/essentials/recipes/default.rb

    19: libpq_deb_path = File.join(node[:deployment][:setup_cache],
    "libpq5_9.2.deb")
    20: cf_remote_file libpq_deb_path do
    21: owner node[:deployment][:user]
    22: id node[:postgresql][:id][:libpq]["#{machine}"]
    23: checksum node[:postgresql][:checksum][:libpq]["#{machine}"]
    24: end
    25:

    Compiled Resource:
    ------------------
    # Declared in
    /root/cloudfoundry/vcap/dev_setup/cookbooks/essentials/recipes/default.rb:20:in
    `from_file'

    deployment_remote_file("/var/cache/dev_setup/libpq5_9.2.deb") do
    id
    "eyJzaWciOiI2Q21GcmhocWpPaTFocEFhMlp2TFpZVlFOMGM9Iiwib2lkIjoi%0ANGU0ZTc4YmNhNTFlMTIyMDA0ZTRlOGVjNjg0MDc3MDUwMmU4NDc0MzFmMDIi%0AfQ==%0A"
    checksum
    "b6a7fe7634c41717757481713b24b0c0d9eeb5937875daea7aba17c7750e3f9e"
    recipe_name "default"
    path #<Pathname:/var/cache/dev_setup/libpq5_9.2.deb>
    retry_delay 2
    owner "root"
    cookbook_name :essentials
    retries 0
    action :create
    end

    [2012-09-11T12:34:27+08:00] ERROR: Running exception handlers
    [2012-09-11T12:34:27+08:00] ERROR: Exception handlers complete
    [2012-09-11T12:34:27+08:00] FATAL: Stacktrace dumped to
    /var/chef/cache/chef-stacktrace.out
    [2012-09-11T12:34:27+08:00] FATAL: RuntimeError:
    deployment_remote_file[/var/cache/dev_setup/libpq5_9.2.deb]
    (essentials::default line 20) had an error: RuntimeError: Checksum mismatch
    for cf_remote_file
    deployment_remote_file[/var/cache/dev_setup/libpq5_9.2.deb
  • Yangzifeng1104 at Sep 6, 2012 at 8:28 am
    Hi Haipeng
    it has already been done. still not working.
    By the way, My OS is Ubuntu 10.04 32bit. Maybe this cause the problem.
  • Yangzifeng1104 at Sep 11, 2012 at 5:13 am
    Is there any workaround for this?????
  • Haipeng Wu at Sep 11, 2012 at 7:29 am
    seems there's something wrong while downloading these files from cf blobs.
    you can download them manually from other available sites instead.

    but will bring you a big job because there are so many files to be
    downloaded.

    haipeng
    On Tue, Sep 11, 2012 at 1:13 PM, wrote:


    Is there any workaround for this?????
  • Yangzifeng1104 at Sep 11, 2012 at 8:31 am
    Hi Haipeng:
    Actually, I already did what you supposed. Download a lot of file. and
    delete all the cf_remote_file from scripts.
    Indeed a lot of work.
    The worse thing is that there are some files I can't find. :(
  • Yangzifeng1104 at Sep 11, 2012 at 8:40 am
    Such as
    nginx_patch = File.join(node[:deployment][:setup_cache], "
    zero_byte_in_cstr_20120315.patch")
    cf_remote_file nginx_patch do
    owner node[:deployment][:user]
    id node[:nginx][:patch_id]
    checksum node[:nginx][:checksums][:patch]
    end

    I can't find zero_byte_in_cstr_20120315.patch.

    在 2012年9月11日星期二UTC+8下午4时25分40秒,(未知)写道:
    Hi Haipeng:
    Actually, I already did what you supposed. Download a lot of file. and
    delete all the cf_remote_file from scripts.
    Indeed a lot of work.
    The worse thing is that there are some files I can't find. :(
  • Frank Lu at Sep 11, 2012 at 7:45 am
    I suppose you want to install postgresql 9.2.
    You could try:

    apt-get install -y python-software-properties
    add-apt-repository ppa:pitti/postgresql
    apt-get update
    apt-get install postgresql-9.2 postgresql-client-9.2 libpq libpq-dev



    On Tue, Sep 11, 2012 at 1:13 PM, wrote:


    Is there any workaround for this?????



    --

    Frank(mingfan) Lu


    Tel: 86-21-61976515

    VMware Cloudfoundry Services Team

    10F, KIC III, No. 333 Songhu Road, Yangpu District. Shanghai 200433

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupvcap-dev @
postedSep 6, '12 at 6:48a
activeSep 11, '12 at 8:40a
posts13
users3

People

Translate

site design / logo © 2021 Grokbase