Hi,

Puppet Master/Agent version: 2.7.11
I'm suspecting may be due to a network slowness.
After trying again and after couple of hours files I were transferred
(95MB).

Thanks,
Suhan

On Wed, Nov 12, 2014 at 2:49 PM, Harsha Thirimanna <[email protected]> wrote:

> Hi,
>
> What are the version of puppet master and agent that you are using ?
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * <http://www.apache.org/>*
> *email: **[email protected]* <[email protected]>* cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> <http://twitter.com/afkham_azeez>*
> *harshathirimannlinked-in: **http:
> <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> <http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>*
>
> *Lean . Enterprise . Middleware*
>
>
> On Wed, Nov 12, 2014 at 2:28 PM, Dunith Dhanushka <[email protected]> wrote:
>
>> Hi,
>>
>> I also experienced above issue while trying to copy JDK installation file
>> from puppet master to another node in OpenStack cloud. During the file
>> transfer, script hanged and never continued further.
>> Apart from that once we download a file using wget, file download happens
>> partially at the first time. We need to execute "puppet agent -tv" multiple
>> times to get it downloaded fully.
>>
>>
>> Regards,
>> Dunith
>>
>> On Wed, Nov 12, 2014 at 1:55 PM, Suhan Dharmasuriya <[email protected]>
>> wrote:
>>
>>> File is not copied to the target folder.
>>>
>>> On Wed, Nov 12, 2014 at 1:53 PM, Suhan Dharmasuriya <[email protected]>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I have spawned two OpenStack instances of ubuntu 12.04 (via Python
>>>> NovaClient API).
>>>> One is configured as puppet master and the other one is as puppet agent.
>>>> Both have internet and intranet connectivity.
>>>> I have pushed a simple configuration to puppet agent (say installing
>>>> 'vim') and it was successful.
>>>>
>>>> site.pp content for the node.
>>>> node 'appserver-mgr' {
>>>>         package { 'vim':
>>>>                 ensure => present,
>>>>         }
>>>> }
>>>>
>>>> Terminal output:
>>>> root@appserver-mgr:/# puppet agent --test
>>>> dnsdomainname: Name or service not known
>>>> dnsdomainname: Name or service not known
>>>> info: Caching catalog for appserver-mgr.openstacklocal
>>>> info: Applying configuration version '1415779058'
>>>> notice: /Stage[main]//Node[appserver-mgr]/Package[vim]/ensure: ensure
>>>> changed 'purged' to 'present'
>>>> notice: Finished catalog run in 7.21 seconds
>>>> root@appserver-mgr:/#
>>>>
>>>> But when I tried with some file transfer, the catalog run is halted
>>>> until I terminate the process manually.
>>>> File is also present and required privileges are given.
>>>>
>>>> new site.pp content for the node.
>>>> node 'appserver-mgr' {
>>>>         package { 'vim':
>>>>                 ensure => present,
>>>>         }
>>>>         file { '/opt/wso2as-5.2.1.zip':
>>>>                 replace => "no",
>>>>                 ensure => present,
>>>>                 source => "puppet:///appserver/wso2as-5.2.1.zip",
>>>>         }
>>>> }
>>>>
>>>> Terminal output:
>>>> root@appserver-mgr:/# puppet agent --test --debug
>>>> dnsdomainname: Name or service not known
>>>> debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl
>>>> does not exist
>>>> debug: Puppet::Type::User::ProviderUser_role_add: file rolemod does not
>>>> exist
>>>> debug: Puppet::Type::User::ProviderPw: file pw does not exist
>>>> debug: Failed to load library 'ldap' for feature 'ldap'
>>>> debug: Puppet::Type::User::ProviderLdap: feature ldap is missing
>>>> debug: Failed to load library 'rubygems' for feature 'rubygems'
>>>> debug: Failed to load library 'selinux' for feature 'selinux'
>>>> debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
>>>> debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
>>>> debug: /File[/var/lib/puppet/client_yaml]: Autorequiring
>>>> File[/var/lib/puppet]
>>>> debug: /File[/var/lib/puppet/client_data]: Autorequiring
>>>> File[/var/lib/puppet]
>>>> debug: /File[/var/lib/puppet/state/resources.txt]: Autorequiring
>>>> File[/var/lib/puppet/state]
>>>> debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring
>>>> File[/var/lib/puppet/state]
>>>> debug: /File[/var/lib/puppet/state/last_run_report.yaml]: Autorequiring
>>>> File[/var/lib/puppet/state]
>>>> debug: /File[/var/lib/puppet/state/graphs]: Autorequiring
>>>> File[/var/lib/puppet/state]
>>>> debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring
>>>> File[/var/lib/puppet/ssl]
>>>> debug:
>>>> /File[/var/lib/puppet/ssl/certs/appserver-mgr.openstacklocal.pem]:
>>>> Autorequiring File[/var/lib/puppet/ssl/certs]
>>>> debug: /File[/var/run/puppet/agent.pid]: Autorequiring
>>>> File[/var/run/puppet]
>>>> debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet]
>>>> debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring
>>>> File[/var/lib/puppet/ssl]
>>>> debug:
>>>> /File[/var/lib/puppet/ssl/public_keys/appserver-mgr.openstacklocal.pem]:
>>>> Autorequiring File[/var/lib/puppet/ssl/public_keys]
>>>> debug: /File[/var/lib/puppet/state/classes.txt]: Autorequiring
>>>> File[/var/lib/puppet/state]
>>>> debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring
>>>> File[/var/lib/puppet/ssl]
>>>> debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet]
>>>> debug:
>>>> /File[/var/lib/puppet/ssl/private_keys/appserver-mgr.openstacklocal.pem]:
>>>> Autorequiring File[/var/lib/puppet/ssl/private_keys]
>>>> debug: /File[/var/lib/puppet/ssl/private]: Autorequiring
>>>> File[/var/lib/puppet/ssl]
>>>> debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring
>>>> File[/var/lib/puppet/ssl]
>>>> debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring
>>>> File[/var/lib/puppet/ssl/certs]
>>>> debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring
>>>> File[/var/lib/puppet/ssl]
>>>> debug: /File[/var/lib/puppet/clientbucket]: Autorequiring
>>>> File[/var/lib/puppet]
>>>> debug: /File[/var/lib/puppet/state/last_run_summary.yaml]:
>>>> Autorequiring File[/var/lib/puppet/state]
>>>> debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
>>>> debug: Finishing transaction 70295833066680
>>>> debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
>>>> debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet]
>>>> debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring
>>>> File[/var/lib/puppet/ssl]
>>>> debug:
>>>> /File[/var/lib/puppet/ssl/certs/appserver-mgr.openstacklocal.pem]:
>>>> Autorequiring File[/var/lib/puppet/ssl/certs]
>>>> debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring
>>>> File[/var/lib/puppet/ssl]
>>>> debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring
>>>> File[/var/lib/puppet/ssl/certs]
>>>> debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring
>>>> File[/var/lib/puppet/ssl]
>>>> debug: /File[/var/lib/puppet/ssl/private]: Autorequiring
>>>> File[/var/lib/puppet/ssl]
>>>> debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring
>>>> File[/var/lib/puppet/ssl]
>>>> debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
>>>> debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
>>>> debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring
>>>> File[/var/lib/puppet/ssl]
>>>> debug:
>>>> /File[/var/lib/puppet/ssl/private_keys/appserver-mgr.openstacklocal.pem]:
>>>> Autorequiring File[/var/lib/puppet/ssl/private_keys]
>>>> debug:
>>>> /File[/var/lib/puppet/ssl/public_keys/appserver-mgr.openstacklocal.pem]:
>>>> Autorequiring File[/var/lib/puppet/ssl/public_keys]
>>>> debug: Finishing transaction 70295832914200
>>>> debug: Using cached certificate for ca
>>>> debug: Using cached certificate for appserver-mgr.openstacklocal
>>>> debug: Finishing transaction 70295832397140
>>>> debug: Loaded state in 0.00 seconds
>>>> dnsdomainname: Name or service not known
>>>> debug: Executing '/etc/puppet/etckeeper-commit-pre'
>>>> debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using
>>>> pson
>>>> debug: Using cached certificate for ca
>>>> debug: Using cached certificate for appserver-mgr.openstacklocal
>>>> debug: Using cached certificate_revocation_list for ca
>>>> info: Caching catalog for appserver-mgr.openstacklocal
>>>> debug: Puppet::Type::Package::ProviderPorts: file
>>>> /usr/local/sbin/portversion does not exist
>>>> debug: Puppet::Type::Package::ProviderOpenbsd: file pkg_delete does not
>>>> exist
>>>> debug: Puppet::Type::Package::ProviderZypper: file /usr/bin/zypper does
>>>> not exist
>>>> debug: Puppet::Type::Package::ProviderAptrpm: file rpm does not exist
>>>> debug: Puppet::Type::Package::ProviderRug: file /usr/bin/rug does not
>>>> exist
>>>> debug: Puppet::Type::Package::ProviderNim: file /usr/sbin/nimclient
>>>> does not exist
>>>> debug: Puppet::Type::Package::ProviderYum: file yum does not exist
>>>> debug: Puppet::Type::Package::ProviderSunfreeware: file pkg-get does
>>>> not exist
>>>> debug: Puppet::Type::Package::ProviderPkg: file /usr/bin/pkg does not
>>>> exist
>>>> debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/emerge
>>>> does not exist
>>>> debug: Puppet::Type::Package::ProviderUrpmi: file urpmi does not exist
>>>> debug: Puppet::Type::Package::ProviderGem: file gem does not exist
>>>> debug: Puppet::Type::Package::ProviderAix: file /usr/sbin/installp does
>>>> not exist
>>>> debug: Puppet::Type::Package::ProviderPacman: file /usr/bin/pacman does
>>>> not exist
>>>> debug: Puppet::Type::Package::ProviderSun: file /usr/sbin/pkgrm does
>>>> not exist
>>>> debug: Puppet::Type::Package::ProviderUp2date: file
>>>> /usr/sbin/up2date-nox does not exist
>>>> debug: Puppet::Type::Package::ProviderRpm: file rpm does not exist
>>>> debug: Puppet::Type::Package::ProviderFink: file /sw/bin/fink does not
>>>> exist
>>>> debug: Puppet::Type::Package::ProviderFreebsd: file
>>>> /usr/sbin/pkg_delete does not exist
>>>> debug: Puppet::Type::Package::ProviderHpux: file /usr/sbin/swinstall
>>>> does not exist
>>>> debug: Puppet::Type::Package::ProviderPortupgrade: file
>>>> /usr/local/sbin/portinstall does not exist
>>>> debug: Creating default schedules
>>>> debug: Loaded state in 0.00 seconds
>>>> info: Applying configuration version '1415774185'
>>>> debug: /Schedule[daily]: Skipping device resources because running on a
>>>> host
>>>> debug: /Schedule[monthly]: Skipping device resources because running on
>>>> a host
>>>> debug: /Schedule[hourly]: Skipping device resources because running on
>>>> a host
>>>> debug: Prefetching apt resources for package
>>>> debug: Executing '/usr/bin/dpkg-query -W --showformat '${Status}
>>>> ${Package} ${Version}\n''
>>>> debug: Puppet::Type::Package::ProviderApt: Executing
>>>> '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n''
>>>> debug: file_metadata supports formats: b64_zlib_yaml pson raw yaml;
>>>> using pson
>>>>
>>>>
>>>> Please provide a direction to solve this issue.
>>>>
>>>> Thanks,
>>>> Suhan
>>>> --
>>>> Suhan Dharmasuriya
>>>> Software Engineer - Test Automation
>>>>
>>>> *WSO2, Inc. *
>>>>
>>>> lean . enterprise . middleware
>>>> Tel: +94 112 145345
>>>> Mob: +94 779 869138
>>>> Blog: http://suhan-opensource.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> Suhan Dharmasuriya
>>> Software Engineer - Test Automation
>>>
>>> *WSO2, Inc. *
>>>
>>> lean . enterprise . middleware
>>> Tel: +94 112 145345
>>> Mob: +94 779 869138
>>> Blog: http://suhan-opensource.blogspot.com/
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>> Dunith Dhanushka,
>> Senior Software Engineer - BAM,
>> WSO2 Inc,
>>
>> Mobile - +94 71 8615744
>> Blog - dunithd.wordpress.com <http://blog.dunith.com>
>> Twitter - @dunithd <http://twitter.com/dunithd>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Suhan Dharmasuriya
Software Engineer - Test Automation

*WSO2, Inc. *

lean . enterprise . middleware
Tel: +94 112 145345
Mob: +94 779 869138
Blog: http://suhan-opensource.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to