Skip to content

Commit 4f4e535

Browse files
committed
Druting debug
1 parent ced2c58 commit 4f4e535

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

etc/kayobe/kolla.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,9 @@ kolla_build_blocks:
296296
{% endfor %}
297297
{% else %}
298298
RUN \
299+
echo "== BEFORE APT SOURCE MODIFICATION ==" && \
300+
cat /etc/apt/sources.list && \
301+
ls -l /etc/apt/ && \
299302
rm /etc/apt/sources.list && \
300303
{% if stackhpc_repo_mirror_auth_proxy_enabled | bool %}
301304
{# We lack the ca-certificates package at this stage, so don't verify the CA initially #}
@@ -311,8 +314,13 @@ kolla_build_blocks:
311314
echo '{{ repo }}' >> /etc/apt/sources.list {% if not loop.last %} && \
312315
{% endif %}
313316
{% endfor %}
317+
{% endif %} && \
318+
echo "== AFTER APT SOURCE MODIFICATION ==" && \
319+
cat /etc/apt/sources.list && \
320+
ls -l /etc/apt/
314321
{% endif %}
315322
{% endif %}
323+
316324
base_centos_repo_overrides_post_yum: |
317325
{# fixme #}
318326
{% if kolla_base_distro == 'rocky' %}
@@ -329,6 +337,7 @@ kolla_build_blocks:
329337
-e '/\[{{ repo.tag }}\]/,/^\[/ s|^\(name.*\)|\1\nbaseurl={{ repo.url }}|' /etc/yum.repos.d/{{ repo.file }}{% if not loop.last %} &&{% endif %} \
330338
{% endfor %}
331339
{% endif %}
340+
332341
# With the UCA keyring installed we can now add all repos.
333342
base_ubuntu_package_sources_list: |
334343
{% if stackhpc_kolla_clean_up_repo_mirrors | bool %}
@@ -337,9 +346,11 @@ kolla_build_blocks:
337346
{% else %}
338347
COPY sources.list.ubuntu.noble /etc/apt/sources.list.backup
339348
{% endif %}
340-
341349
{% endif %}
342350
RUN \
351+
echo "== BEFORE REPLACING APT SOURCES IN base_ubuntu_package_sources_list ==" && \
352+
cat /etc/apt/sources.list || echo "No sources.list found" && \
353+
ls -l /etc/apt/ && \
343354
rm /etc/apt/sources.list && \
344355
rm -f /etc/apt/apt.conf.d/90no-verify-peer && \
345356
{% if kolla_base_distro_version == 'jammy' %}
@@ -352,6 +363,10 @@ kolla_build_blocks:
352363
echo '{{ repo }}' >> /etc/apt/sources.list {% if not loop.last %} && \
353364
{% endif %}
354365
{% endfor %}
366+
{% endif %} && \
367+
echo "== AFTER REPLACING APT SOURCES IN base_ubuntu_package_sources_list ==" && \
368+
cat /etc/apt/sources.list && \
369+
ls -l /etc/apt/
355370
{% endif %}
356371
footer: |
357372
{% if stackhpc_kolla_clean_up_repo_mirrors | bool %}

0 commit comments

Comments
 (0)