File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,23 @@ apt repositories. This can be done on a host-by host basis by defining the
107
107
variables as host or group vars under ``etc/kayobe/inventory/host_vars `` or
108
108
``etc/kayobe/inventory/group_vars ``.
109
109
110
+ For Ubuntu-based deployments, Pulp currently `lacks support
111
+ <https://github.com/pulp/pulp_deb/issues/419> `_ for certain types of content,
112
+ including i18n files and command-not-found indices. This breaks APT when the
113
+ ``command-not-found `` package is installed:
114
+
115
+ .. code :: console
116
+
117
+ E: Failed to fetch https://pulp.example.com/pulp/content/ubuntu/jammy-security/development/dists/jammy-security/main/cnf/Commands-amd64 404 Not Found
118
+
119
+ The ``purge-command-not-found.yml `` custom playbook can be used to uninstall
120
+ the package, prior to running any other APT commands. It may be installed as a
121
+ :kayobe-doc: `pre-hook <custom-ansible-playbooks.html#hooks> ` to the ``host
122
+ configure `` commands. Note that if used as a hook, this playbook matches all
123
+ hosts, so will run against the seed, even when running ``overcloud host
124
+ configure ``. Depending on the stage of deployment, some hosts may be
125
+ unreachable.
126
+
110
127
For CentOS and Rocky Linux based systems, package manager configuration is
111
128
provided by ``stackhpc_dnf_repos `` in ``etc/kayobe/dnf.yml ``, which points to
112
129
package repositories on the local Pulp server. To use this configuration, the
You can’t perform that action at this time.
0 commit comments