Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container build can't find base container #1028

Open
vladiskuz opened this issue Sep 17, 2024 · 2 comments
Open

Container build can't find base container #1028

vladiskuz opened this issue Sep 17, 2024 · 2 comments

Comments

@vladiskuz
Copy link

I have my instance of OBS and I'm trying to build containers. I have base container that built in the same repo. Then I have the following container

<?xml version="1.0" encoding="utf-8"?>
<image schemaversion="7.4" name="os">
  <description type="system">
    <author>Me</author>
    <contact>[email protected]</contact>
    <specification>OS image container</specification>
    <license>MIT</license>
  </description>
  <preferences>
    <type image="docker" derived_from="obsrepositories:/this/is/my-base#latest">
      <containerconfig
        name="this/is/my-os" tag="latest"
        maintainer="Me">
        <subcommand execute="kolla_start"/>
      </containerconfig>
    </type>
    <version>1.0.0</version>
    <packagemanager>dnf</packagemanager>
    <rpm-excludedocs>true</rpm-excludedocs>
  </preferences>
  <repository>
    <source path="obsrepositories:/"/>
  </repository>
  <packages type="image">
    <package name="cronie"/>
  </packages>
</image>

In web UI I can see -- nothing provides container:this/is/my-base:latest
I can see nothing in my logs but I can pull this/is/my-base container
Looks like this is a bug

@mlschroe
Copy link
Member

(This may be a bug, but it's unlikely that it is in obs-build.)

You said that you can pull the base container, how do you do that?
Can you please paste the last lines of the log file of the base container build done in the same project?

@mlschroe
Copy link
Member

The base container build should also have produced a <something>.containerinfo file. What are the contents of this file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants