Skip to content

Chef-Client 15.8.23 - AIX - Cannot find chef-client #317

@Firenice03

Description

@Firenice03

Description

When bootstrapping new AIX LPAR nodes, 15.8.23 is the defaulted client to bootstrap (I have a CB pinned @15.6) appears to install normally but bootstrap fails when starting Chef-Client.

If trying to verify client the below is received:
chef-client
ksh: chef-client: not found
chef
ksh: chef: cannot execute

Bootstrap Command..
knife bootstrap 10.xx.xx.xx -N hostname --sudo -U userid --policy-name cookbook_base --policy-group prd

Chef Version

15.8.23 is the boostrapped Chef-Client version
We use (pinned) Chef-Client 15.6
Chef-Infra: chef-server 13.1.13
Chef Wrkstn: 0.15.18

Platform Version

This client is bootstrapping AIX 7.1 or 7.2 nodes
Chef Infra runs on RHEL 7.5
CW is running from Win10

Replication Case

Client Output

Installing Chef Omnibus (stable/15)

downloading https://omnitruck.chef.io/chef/install.sh
to file /tmp/install.sh.31982016/install.sh
[10.xx.xx.xx] trying perl...

[10.xx.xx.xx] aix 7.2 powerpc
Getting information for chef stable 15 for aix...
downloading https://omnitruck.chef.io/stable/chef/metadata?v=15&p=aix&pv=7.2&m=powerpc
to file /tmp/install.sh.6684970/metadata.txt
[10.xx.xx.xx] trying perl...
[10.xx.xx.xx] sha1 6645e99a3cca27c920fb8e1e2c50326df733b08f
sha256 b22c1415d8f79150009af9782f11f575d49df8d0aad2857f6bdc1f349a2f3ef2
url https://packages.chef.io/files/stable/chef/15.8.23/aix/7.2/chef-15.8.23-1.powerpc.bff
version 15.8.23
[10.xx.xx.xx]
[10.xx.xx.xx] downloaded metadata file looks valid...
[10.xx.xx.xx] downloading https://packages.chef.io/files/stable/chef/15.8.23/aix/7.2/chef-15.8.23-1.powerpc.bff
to file /tmp/install.sh.6684970/chef-15.8.23-1.powerpc.bff
[10.xx.xx.xx] trying perl...

[10.xx.xx.xx] Comparing checksum with shasum...

[10.xx.xx.xx] Installing chef 15
installing with installp...
[10.xx.xx.xx] +-----------------------------------------------------------------------------+
Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
[10.xx.xx.xx] WARNINGS

Problems described in this section are not likely to be the source of any
immediate or serious failures, but further actions may be necessary or
desired.

Already Installed

The number of selected filesets that are either already installed
or effectively installed through superseding filesets is 1. See
the summaries at the end of this installation for details.

NOTE: Base level filesets may be reinstalled using the "Force"
option (-F flag), or they may be removed, using the deinstall or
"Remove Software Products" facility (-u flag), and then reinstalled.

<< End of Warning Section >>

[10.xx.xx.xx] Verifying req
uisites...done
Results...

+-----------------------------------------------------------------------------+
BUILDDATE Verification ...
+-----------------------------------------------------------------------------+
Verifying build dates...done
Pre-installation Failure/Warning Summary

Name Level Pre-installation Failure/Warning

chef 15.8.23.1 Already installed

[10.xx.xx.xx] Starting the first Chef Infra Client Client run...
[10.xx.xx.xx] /tmp/chef_Z6GhSS/bootstrap.sh[265]: chef-client: not found
ERROR: The following error occurred on 10.xx.xx.xx:
ERROR: +--------------------------------------------------
---------------------------+
Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...

   +-----------------------------------------------------------------------------+
               BUILDDATE Verification ...
   +-----------------------------------------------------------------------------+
   Verifying build dates...done
   FILESET STATISTICS
   ------------------
       1  Selected to be installed, of which:
           1  Already installed (directly or via superseding filesets)
     ----
       0  Total to be installed


   Pre-installation Failure/Warning Summary
   ----------------------------------------
   Name                      Level           Pre-installation Failure/Warning
   ------------------------------------------------------------------

   chef                      15.8.23.1       Already installed

   /tmp/chef_Z6GhSS/bootstrap.sh[265]: chef-client:  not found



## Stacktrace
<!--- Please include the stacktrace.out output or link to a gist of it, if there is one. -->

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions