Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Install Push Job on AIX7 #137

Open
dai624fuji opened this issue Feb 23, 2018 · 2 comments
Open

Cannot Install Push Job on AIX7 #137

dai624fuji opened this issue Feb 23, 2018 · 2 comments

Comments

@dai624fuji
Copy link

Cookbook version

push-jobs 5.1.2

Chef-client version

13.5.3

Platform Details

AIX7

Scenario:

run cookbook "push-jobs"

Steps to Reproduce:

Run cookbook "push-jobs" on AIX7 with Push Jobs Client 2.4.8 for IBM AIX.
https://downloads.chef.io/push-jobs-client/2.4.8

Expected Result:

Finish install push-jobs on AIX.

Actual Result:

This cookbook does not support AIX yet.

[renewal2020_user@chef13 ~]$ knife ssh 'name:testsrv10' 'chef-client' -x root -P xxxxxx
testsrv10.stctest [2018-02-23T21:45:16+09:00] WARN: Please install an English UTF-8 locale for Chef to use, falling back to C locale and disabling UTF-8 support.
testsrv10.stctest Starting Chef Client, version 13.5.3
testsrv10.stctest [2018-02-23T21:45:30+09:00] ERROR: Server returned error 504 for https://chef13.stctest/organizations/renewal2020/data-collector, retrying 1/5 in 3s
testsrv10.stctest [2018-02-23T21:45:34+09:00] ERROR: Server returned error 504 for https://chef13.stctest/organizations/renewal2020/data-collector, retrying 2/5 in 5s
testsrv10.stctest [2018-02-23T21:45:40+09:00] ERROR: Server returned error 504 for https://chef13.stctest/organizations/renewal2020/data-collector, retrying 3/5 in 15s
testsrv10.stctest [2018-02-23T21:45:56+09:00] ERROR: Server returned error 504 for https://chef13.stctest/organizations/renewal2020/data-collector, retrying 4/5 in 17s
testsrv10.stctest [2018-02-23T21:46:14+09:00] ERROR: Server returned error 504 for https://chef13.stctest/organizations/renewal2020/data-collector, retrying 5/5 in 57s
testsrv10.stctest resolving cookbooks for run list: ["push-jobs"]
testsrv10.stctest Synchronizing Cookbooks:
testsrv10.stctest - runit (4.0.4)
testsrv10.stctest - packagecloud (0.3.0)
testsrv10.stctest - yum-epel (2.1.2)
testsrv10.stctest - push-jobs (2.2.0)
testsrv10.stctest - compat_resource (12.19.1)
testsrv10.stctest - windows (3.4.4)
testsrv10.stctest - ohai (5.2.1)
testsrv10.stctest Installing Cookbook Gems:
testsrv10.stctest Compiling Cookbooks...
testsrv10.stctest /var/chef/cache/cookbooks/packagecloud/resources/repo.rb:12: warning: constant ::Fixnum is deprecated
testsrv10.stctest /var/chef/cache/cookbooks/packagecloud/resources/repo.rb.org:10: warning: constant ::Fixnum is deprecated
testsrv10.stctest
testsrv10.stctest ================================================================================
testsrv10.stctest Recipe Compile Error in /var/chef/cache/cookbooks/push-jobs/recipes/default.rb
testsrv10.stctest ================================================================================
testsrv10.stctest
testsrv10.stctest RuntimeError
testsrv10.stctest ------------
testsrv10.stctest This cookbook currently supports only Windows, Debian-family Linux, and RHEL-family Linux.
testsrv10.stctest
testsrv10.stctest Cookbook Trace:
testsrv10.stctest ---------------
testsrv10.stctest /var/chef/cache/cookbooks/push-jobs/recipes/default.rb:37:in `from_file'
testsrv10.stctest
testsrv10.stctest Relevant File Content:
testsrv10.stctest ----------------------
testsrv10.stctest /var/chef/cache/cookbooks/push-jobs/recipes/default.rb:
testsrv10.stctest
testsrv10.stctest 30:
testsrv10.stctest 31: case node['platform_family']
testsrv10.stctest 32: when 'windows'
testsrv10.stctest 33: include_recipe 'push-jobs::windows'
testsrv10.stctest 34: when 'debian', 'rhel'
testsrv10.stctest 35: include_recipe 'push-jobs::linux'
testsrv10.stctest 36: else
testsrv10.stctest 37>> raise 'This cookbook currently supports only Windows, Debian-family Linux, and RHEL-family Linux.'
testsrv10.stctest 38: end
testsrv10.stctest 39:
testsrv10.stctest
testsrv10.stctest System Info:
testsrv10.stctest ------------
testsrv10.stctest chef_version=13.5.3
testsrv10.stctest platform=aix
testsrv10.stctest platform_version=7.2
testsrv10.stctest ruby=ruby 2.4.2p198 (2017-09-14 revision 59899) [powerpc-aix6.1.0.0]
testsrv10.stctest program_name=chef-client worker: ppid=8454556;start=21:45:21;
testsrv10.stctest executable=/opt/chef/bin/chef-client
testsrv10.stctest
testsrv10.stctest
testsrv10.stctest Running handlers:
testsrv10.stctest [2018-02-23T21:47:14+09:00] ERROR: Running exception handlers
testsrv10.stctest Running handlers complete
testsrv10.stctest [2018-02-23T21:47:14+09:00] ERROR: Exception handlers complete
testsrv10.stctest Chef Client failed. 0 resources updated in 01 minutes 53 seconds
testsrv10.stctest [2018-02-23T21:47:14+09:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
testsrv10.stctest [2018-02-23T21:47:14+09:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
testsrv10.stctest [2018-02-23T21:47:14+09:00] ERROR: This cookbook currently supports only Windows, Debian-family Linux, and RHEL-family Linux.
testsrv10.stctest [2018-02-23T21:47:14+09:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
[renewal2020_user@chef13 ~]$

thomascate pushed a commit to thomascate/push-jobs that referenced this issue Mar 20, 2018
thomascate pushed a commit to thomascate/push-jobs that referenced this issue Mar 20, 2018
@cdelacruzpinto
Copy link

Any updates about this?
Is the push daemon working in AIX currently?

@dai624fuji
Copy link
Author

The problem still exists.
If AIX user use push-jobs, they'll have to modify the cookbook code themselfs.
I expect Chef.inc resolve to this issue...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants