Hi,
I modified my kolla_build.conf like this
(2023.2) [root@r9localrepo work]# cat kolla_build.conf
[DEFAULT]
base = rocky
namespace = kolla
push = true
registry = 192.168.2.35:4000
[octavia-base]
<------------- I modified this from octavia to octavia-base
type = local
location = /root/work/octavia
Then I tried this cmd to build
(2023.2) [root@r9localrepo work]# kolla-build --config-file ./kolla_build.conf --tag 2023.2-1 --engine podman -d --docker-healthchecks --logs-dir /root/work/logs --openstack-release 2023.2 octavia
But it failed I got those errors
ia && mkdir -p /etc/octavia && cp -r /octavia/etc/* /etc/octavia/ && touch /usr/local/bin/kolla_octavia_extend_start && chmod 644 /usr/local/bin/kolla_extend_start /usr/loca
l/bin/kolla_octavia_extend_start
ERROR:kolla.common.utils.octavia-base:Processing /octavia
ERROR:kolla.common.utils.octavia-base:Preparing metadata (setup.py): started
ERROR:kolla.common.utils.octavia-base:Preparing metadata (setup.py): finished with status 'error'
ERROR:kolla.common.utils.octavia-base:error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [19 lines of output]
[pbr] Generating ChangeLog
/var/lib/kolla/venv/lib64/python3.9/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and othe
r standards-based tools.
warnings.warn(
/var/lib/kolla/venv/lib64/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards
-based tools.
warnings.warn(
error: Multiple top-level packages discovered in a flat-layout: ['etc', 'httpd', 'specs', 'devstack', 'elements', 'playbooks', 'releasenotes'].
To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.
If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:
1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names
To find more information, look for "package discovery" on setuptools docs.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR:kolla.common.utils.octavia-base:error: metadata-generation-failed
Regards.