[FFe] Sync version 15.8.25.3.gcf41df6a2-6 from Debian unstable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chef (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
chef-zero (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ohai (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ruby-cheffish (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ruby-mixlib-authentication (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ruby-mixlib-cli (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ruby-mixlib-config (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ruby-mixlib-log (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ruby-mixlib-shellout (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Current version of chef in the archive (13.8.7-6) is broken and it is not working with Ruby 2.7. In Debian, a new upstream version was uploaded which supports Ruby 2.7 and the maintainer has performed some tests to make sure it is working fine.
There current Debian version is 15.8.25.
To sync this Debian release we also need to update some chef's dependencies:
* chef-zero/15.0.0-2 -> current version in Ubuntu: 13.1.0-2
* ohai/16.0.7-3 -> current version in Ubuntu: 13.8.0-1
- There is a circular dependency between src:ohai and src:chef)
* ruby-cheffish/
* ruby-mixlib-
* ruby-mixlib-
* ruby-mixlib-
* ruby-mixlib-
- There is a sync request for it: https:/
* ruby-mixlib-
And we also need 2 new packages:
* ruby-ffi-
* ruby-train/3.2.20-2
I have prepared a PPA with all those dependencies in it:
https:/
I created a clean Ubuntu focal amd64 container and installed chef from the PPA above and it worked fine:
# apt install -y chef
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libapt-pkg5.90 libfreetype6 libicu65
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
chef-bin chef-zero libyajl-dev libyajl2 ohai ruby-addressable
ruby-bcrypt-pbkdf ruby-bundler ruby-chef-config ruby-chef-utils
ruby-diff-lcs ruby-ed25519 ruby-erubis ruby-ffi ruby-ffi-libarchive
ruby-ffi-yajl ruby-fuzzyurl ruby-hashie ruby-highline ruby-iniparse
ruby-ipaddress ruby-json ruby-mixlib-archive ruby-mixlib-
ruby-mixlib-cli ruby-mixlib-config ruby-mixlib-log ruby-mixlib-
ruby-molinillo ruby-net-
ruby-net-ssh ruby-net-
ruby-proxifier ruby-public-suffix ruby-rack ruby-syslog-logger ruby-systemu
ruby-thor ruby-tomlrb ruby-train-core ruby-tty-screen ruby-uuidtools
The following NEW packages will be installed:
chef chef-bin chef-zero libyajl-dev libyajl2 ohai ruby-addressable
ruby-bcrypt-pbkdf ruby-bundler ruby-chef-config ruby-chef-utils
ruby-diff-lcs ruby-ed25519 ruby-erubis ruby-ffi ruby-ffi-libarchive
ruby-ffi-yajl ruby-fuzzyurl ruby-hashie ruby-highline ruby-iniparse
ruby-ipaddress ruby-json ruby-mixlib-archive ruby-mixlib-
ruby-mixlib-cli ruby-mixlib-config ruby-mixlib-log ruby-mixlib-
ruby-molinillo ruby-net-
ruby-net-ssh ruby-net-
ruby-proxifier ruby-public-suffix ruby-rack ruby-syslog-logger ruby-systemu
ruby-thor ruby-tomlrb ruby-train-core ruby-tty-screen ruby-uuidtools
0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded.
Need to get 2402 kB of archives.
After this operation, 14.1 MB of additional disk space will be used.
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Get:39 http://
Get:40 http://
Get:41 http://
Get:42 http://
Get:43 http://
Get:44 http://
Get:45 http://
Get:46 http://
Get:47 http://
Fetched 2402 kB in 21s (114 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package ruby-chef-utils.
(Reading database ... 33117 files and directories currently installed.)
Preparing to unpack .../00-
Unpacking ruby-chef-utils (15.8.25.
Selecting previously unselected package ruby-mixlib-
Preparing to unpack .../01-
Unpacking ruby-mixlib-
Selecting previously unselected package ruby-tomlrb.
Preparing to unpack .../02-
Unpacking ruby-tomlrb (1.2.9-1) ...
Selecting previously unselected package ruby-mixlib-config.
Preparing to unpack .../03-
Unpacking ruby-mixlib-config (3.0.6-1~ppa1) ...
Selecting previously unselected package ruby-fuzzyurl.
Preparing to unpack .../04-
Unpacking ruby-fuzzyurl (0.8.0-1) ...
Selecting previously unselected package ruby-public-suffix.
Preparing to unpack .../05-
Unpacking ruby-public-suffix (3.0.3+ds-1) ...
Selecting previously unselected package ruby-addressable.
Preparing to unpack .../06-
Unpacking ruby-addressable (2.7.0-1) ...
Selecting previously unselected package ruby-chef-config.
Preparing to unpack .../07-
Unpacking ruby-chef-config (15.8.25.
Selecting previously unselected package ruby-json.
Preparing to unpack .../08-
Unpacking ruby-json (2.3.0+
Selecting previously unselected package ruby-bcrypt-pbkdf.
Preparing to unpack .../09-
Unpacking ruby-bcrypt-pbkdf (1.0.1-1build1) ...
Selecting previously unselected package ruby-ed25519.
Preparing to unpack .../10-
Unpacking ruby-ed25519 (1.2.4-1build1) ...
Selecting previously unselected package ruby-net-ssh.
Preparing to unpack .../11-
Unpacking ruby-net-ssh (1:5.2.0-1) ...
Selecting previously unselected package ruby-net-scp.
Preparing to unpack .../12-
Unpacking ruby-net-scp (2.0.0-3) ...
Selecting previously unselected package ruby-train-core.
Preparing to unpack .../13-
Unpacking ruby-train-core (3.2.20-2~ppa1) ...
Selecting previously unselected package ruby-mixlib-cli.
Preparing to unpack .../14-
Unpacking ruby-mixlib-cli (2.1.6-1~ppa1) ...
Selecting previously unselected package ruby-mixlib-log.
Preparing to unpack .../15-
Unpacking ruby-mixlib-log (3.0.8-1~ppa1) ...
Selecting previously unselected package ruby-mixlib-
Preparing to unpack .../16-
Unpacking ruby-mixlib-
Selecting previously unselected package ruby-mixlib-
Preparing to unpack .../17-
Unpacking ruby-mixlib-archive (0.4.1-1) ...
Selecting previously unselected package ruby-systemu.
Preparing to unpack .../18-
Unpacking ruby-systemu (2.6.5-1) ...
Selecting previously unselected package libyajl2:amd64.
Preparing to unpack .../19-
Unpacking libyajl2:amd64 (2.1.0-3) ...
Selecting previously unselected package libyajl-dev:amd64.
Preparing to unpack .../20-
Unpacking libyajl-dev:amd64 (2.1.0-3) ...
Selecting previously unselected package ruby-ffi-yajl.
Preparing to unpack .../21-
Unpacking ruby-ffi-yajl (2.3.1-2build1) ...
Selecting previously unselected package ruby-plist.
Preparing to unpack .../22-
Unpacking ruby-plist (3.2.0-1) ...
Selecting previously unselected package ruby-ipaddress.
Preparing to unpack .../23-
Unpacking ruby-ipaddress (0.8.3-2) ...
Selecting previously unselected package ruby-ffi.
Preparing to unpack .../24-
Unpacking ruby-ffi (1.12.2+
Selecting previously unselected package ohai.
Preparing to unpack .../25-
Unpacking ohai (16.0.7-3~+ppa1) ...
Selecting previously unselected package ruby-net-
Preparing to unpack .../26-
Unpacking ruby-net-
Selecting previously unselected package ruby-net-ssh-multi.
Preparing to unpack .../27-
Unpacking ruby-net-ssh-multi (1.2.1-3) ...
Selecting previously unselected package ruby-net-sftp.
Preparing to unpack .../28-
Unpacking ruby-net-sftp (1:2.1.2-4) ...
Selecting previously unselected package ruby-highline.
Preparing to unpack .../29-
Unpacking ruby-highline (2.0.3-1) ...
Selecting previously unselected package ruby-tty-screen.
Preparing to unpack .../30-
Unpacking ruby-tty-screen (0.7.1-1) ...
Selecting previously unselected package ruby-erubis.
Preparing to unpack .../31-
Unpacking ruby-erubis (2.7.0-3) ...
Selecting previously unselected package ruby-diff-lcs.
Preparing to unpack .../32-
Unpacking ruby-diff-lcs (1.3-1) ...
Selecting previously unselected package ruby-ffi-
Preparing to unpack .../33-
Unpacking ruby-ffi-libarchive (1.0.0+-2~ppa1) ...
Selecting previously unselected package ruby-hashie.
Preparing to unpack .../34-
Unpacking ruby-hashie (3.5.5-2) ...
Selecting previously unselected package ruby-uuidtools.
Preparing to unpack .../35-
Unpacking ruby-uuidtools (2.1.5-2) ...
Selecting previously unselected package ruby-rack.
Preparing to unpack .../36-
Unpacking ruby-rack (2.0.7-2) ...
Selecting previously unselected package chef-zero.
Preparing to unpack .../37-
Unpacking chef-zero (15.0.0-2~ppa1) ...
Selecting previously unselected package ruby-iniparse.
Preparing to unpack .../38-
Unpacking ruby-iniparse (1.4.2-1) ...
Selecting previously unselected package ruby-syslog-logger.
Preparing to unpack .../39-
Unpacking ruby-syslog-logger (1.6.8-1) ...
Selecting previously unselected package ruby-proxifier.
Preparing to unpack .../40-
Unpacking ruby-proxifier (1.0.3-1) ...
Selecting previously unselected package ruby-molinillo.
Preparing to unpack .../41-
Unpacking ruby-molinillo (0.6.4-1) ...
Selecting previously unselected package ruby-net-
Preparing to unpack .../42-
Unpacking ruby-net-
Selecting previously unselected package ruby-thor.
Preparing to unpack .../43-
Unpacking ruby-thor (0.19.4-1) ...
Selecting previously unselected package ruby-bundler.
Preparing to unpack .../44-
Unpacking ruby-bundler (2.1.4-1) ...
Selecting previously unselected package chef.
Preparing to unpack .../45-
Unpacking chef (15.8.25.
Selecting previously unselected package chef-bin.
Preparing to unpack .../46-
Unpacking chef-bin (15.8.25.
Setting up ruby-fuzzyurl (0.8.0-1) ...
Setting up ruby-diff-lcs (1.3-1) ...
Setting up ruby-net-
Setting up ruby-proxifier (1.0.3-1) ...
Setting up ruby-molinillo (0.6.4-1) ...
Setting up ruby-tty-screen (0.7.1-1) ...
Setting up ruby-erubis (2.7.0-3) ...
Setting up ruby-hashie (3.5.5-2) ...
Setting up ruby-bcrypt-pbkdf (1.0.1-1build1) ...
Setting up ruby-rack (2.0.7-2) ...
Setting up ruby-highline (2.0.3-1) ...
Setting up ruby-tomlrb (1.2.9-1) ...
Setting up ruby-public-suffix (3.0.3+ds-1) ...
Setting up ruby-mixlib-cli (2.1.6-1~ppa1) ...
Setting up libyajl2:amd64 (2.1.0-3) ...
Setting up ruby-plist (3.2.0-1) ...
Setting up ruby-ed25519 (1.2.4-1build1) ...
Setting up ruby-mixlib-config (3.0.6-1~ppa1) ...
Setting up ruby-thor (0.19.4-1) ...
Setting up ruby-json (2.3.0+
Setting up ruby-mixlib-
Setting up ruby-systemu (2.6.5-1) ...
Setting up ruby-mixlib-log (3.0.8-1~ppa1) ...
Setting up ruby-syslog-logger (1.6.8-1) ...
Setting up libyajl-dev:amd64 (2.1.0-3) ...
Setting up ruby-ipaddress (0.8.3-2) ...
Setting up ruby-chef-utils (15.8.25.
Setting up ruby-uuidtools (2.1.5-2) ...
Setting up ruby-iniparse (1.4.2-1) ...
Setting up ruby-ffi-yajl (2.3.1-2build1) ...
Setting up ruby-mixlib-
Setting up ruby-ffi (1.12.2+
Setting up ruby-addressable (2.7.0-1) ...
Setting up ruby-net-ssh (1:5.2.0-1) ...
Setting up ruby-bundler (2.1.4-1) ...
Setting up ruby-net-
Setting up ruby-mixlib-archive (0.4.1-1) ...
Setting up ruby-ffi-libarchive (1.0.0+-2~ppa1) ...
Setting up ruby-net-ssh-multi (1.2.1-3) ...
Setting up chef-zero (15.0.0-2~ppa1) ...
Setting up ruby-chef-config (15.8.25.
Setting up ruby-net-scp (2.0.0-3) ...
Setting up ruby-net-sftp (1:2.1.2-4) ...
Setting up ohai (16.0.7-3~+ppa1) ...
Setting up ruby-train-core (3.2.20-2~ppa1) ...
Setting up chef (15.8.25.
Creating config file /etc/chef/client.rb with new version
Setting up chef-bin (15.8.25.
Processing triggers for systemd (244.3-1ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu6) ...
I just checked the knife command:
# knife --help
Usage: knife sub-command (options)
-s, --server-url URL Cinc Server URL.
-k, --key KEY Cinc Server API client key.
-c, --config CONFIG The configuration file to use.
--defaults Accept default values for all questions.
-d, --disable-editing Do not open EDITOR, just accept the data as is.
-e, --editor EDITOR Set the editor to use for interactive commands.
-E, --environment ENVIRONMENT Set the Cinc Client environment (except for in searches, where this will be flagrantly ignored).
--[no-]fips Enable FIPS mode.
-F, --format FORMAT Which format to use for output. (valid options: 'summary', 'text', 'json', 'yaml', or 'pp')
-z, --local-mode Point knife commands at local repository instead of Cinc Server.
-u, --user USER Cinc Server API client username.
--profile PROFILE The credentials profile to select.
-V, --verbose More verbose output. Use twice for max verbosity.
-v, --version Show Cinc Client version.
-y, --yes Say yes to all prompts for confirmation.
-h, --help Show this help message.
Available subcommands: (for details, knife SUB-COMMAND --help)
** BOOTSTRAP COMMANDS **
knife bootstrap [PROTOCOL:
** CLIENT COMMANDS **
knife client bulk delete REGEX (options)
knife client create CLIENTNAME (options)
knife client delete [CLIENT [CLIENT]] (options)
knife client edit CLIENT (options)
knife client key create CLIENT (options)
knife client key delete CLIENT KEYNAME (options)
knife client key edit CLIENT KEYNAME (options)
knife client key list CLIENT (options)
knife client key show CLIENT KEYNAME (options)
knife client list (options)
knife client reregister CLIENT (options)
knife client show CLIENT (options)
** CONFIG COMMANDS **
knife config get [OPTION...] (options)
Displays the value of Chef::Config[
knife config get-profile
knife config list-profiles (options)
knife config use-profile PROFILE
** CONFIGURE COMMANDS **
knife configure (options)
knife configure client DIRECTORY
** COOKBOOK COMMANDS **
knife cookbook bulk delete REGEX (options)
knife cookbook delete COOKBOOK VERSION (options)
knife cookbook download COOKBOOK [VERSION] (options)
knife cookbook list (options)
knife cookbook metadata COOKBOOK (options)
knife cookbook metadata from file FILE (options)
knife cookbook show COOKBOOK [VERSION] [PART] [FILENAME] (options)
knife cookbook upload [COOKBOOKS...] (options)
** DATA BAG COMMANDS **
knife data bag create BAG [ITEM] (options)
knife data bag delete BAG [ITEM] (options)
knife data bag edit BAG ITEM (options)
knife data bag from file BAG FILE|FOLDER [FILE|FOLDER..] (options)
knife data bag list (options)
knife data bag show BAG [ITEM] (options)
** ENVIRONMENT COMMANDS **
knife environment compare [ENVIRONMENT..] (options)
knife environment create ENVIRONMENT (options)
knife environment delete ENVIRONMENT (options)
knife environment edit ENVIRONMENT (options)
knife environment from file FILE [FILE..] (options)
knife environment list (options)
knife environment show ENVIRONMENT (options)
** EXEC COMMANDS **
knife exec [SCRIPT] (options)
** KNIFE COMMANDS **
Usage: /usr/bin/knife (options)
** NODE COMMANDS **
knife node bulk delete REGEX (options)
knife node create NODE (options)
knife node delete [NODE [NODE]] (options)
knife node edit NODE (options)
knife node environment set NODE ENVIRONMENT
knife node from file FILE (options)
knife node list (options)
knife node policy set NODE POLICY_GROUP POLICY_NAME (options)
knife node run_list add [NODE] [ENTRY [ENTRY]] (options)
knife node run_list remove [NODE] [ENTRY [ENTRY]] (options)
knife node run_list set NODE ENTRIES (options)
knife node show NODE (options)
** PATH-BASED COMMANDS **
knife delete [PATTERN1 ... PATTERNn]
knife deps PATTERN1 [PATTERNn]
knife diff PATTERNS
knife download PATTERNS
knife edit [PATTERN1 ... PATTERNn]
knife list [-dfR1p] [PATTERN1 ... PATTERNn] (options)
knife show [PATTERN1 ... PATTERNn] (options)
knife upload PATTERNS (options)
knife xargs [COMMAND] (options)
** RAW COMMANDS **
knife raw REQUEST_PATH (options)
** RECIPE COMMANDS **
knife recipe list [PATTERN]
** REHASH COMMANDS **
knife rehash
** ROLE COMMANDS **
knife role bulk delete REGEX (options)
knife role create ROLE (options)
knife role delete ROLE (options)
knife role edit ROLE (options)
knife role env_run_list add [ROLE] [ENVIRONMENT] [ENTRY [ENTRY]] (options)
knife role env_run_list clear [ROLE] [ENVIRONMENT] (options)
knife role env_run_list remove [ROLE] [ENVIRONMENT] [ENTRIES] (options)
knife role env_run_list replace [ROLE] [ENVIRONMENT] [OLD_ENTRY] [NEW_ENTRY] (options)
knife role env_run_list set [ROLE] [ENVIRONMENT] [ENTRIES] (optionss)
knife role from file FILE [FILE..] (options)
knife role list (options)
knife role run_list add [ROLE] [ENTRY [ENTRY]] (options)
knife role run_list clear [ROLE] (options)
knife role run_list remove [ROLE] [ENTRY] (options)
knife role run_list replace [ROLE] [OLD_ENTRY] [NEW_ENTRY] (options)
knife role run_list set [ROLE] [ENTRIES] (options)
knife role show ROLE (options)
** SEARCH COMMANDS **
knife search INDEX QUERY (options)
** SERVE COMMANDS **
knife serve (options)
** SSH COMMANDS **
knife ssh QUERY COMMAND (options)
** SSL COMMANDS **
knife ssl check [URL] (options)
knife ssl fetch [URL] (options)
** STATUS COMMANDS **
knife status QUERY (options)
** SUPERMARKET COMMANDS **
knife supermarket download COOKBOOK [VERSION] (options)
knife supermarket install COOKBOOK [VERSION] (options)
knife supermarket list (options)
knife supermarket search QUERY (options)
knife supermarket share COOKBOOK [CATEGORY] (options)
knife supermarket show COOKBOOK [VERSION] (options)
knife supermarket unshare COOKBOOK
** TAG COMMANDS **
knife tag create NODE TAG ...
knife tag delete NODE TAG ...
knife tag list NODE
** USER COMMANDS **
knife user create USERNAME DISPLAY_NAME FIRST_NAME LAST_NAME EMAIL PASSWORD (options)
knife user delete USER (options)
knife user edit USER (options)
knife user key create USER (options)
knife user key delete USER KEYNAME (options)
knife user key edit USER KEYNAME (options)
knife user key list USER (options)
knife user key show USER KEYNAME (options)
knife user list (options)
knife user reregister USER (options)
knife user show USER (options)
FFe approved, if you can get the NEW packages through in time.