question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cannot execute /usr/libexec/s2i/assemble

See original GitHub issue

Description

Dear all:

I’m doing a fabric8:deploy towards a “pro” account on OpenShift Online. The account has been freshly created, it contains a mysql deployment and nothing more. The error I’m getting is the following;

F8: Failed to execute the build [Unable to build the image using the OpenShift build service] [console.txt](https://github.com/fabric8io/fabric8-maven-plugin/files/3345078/console.txt)

The console log is attached. My plugin configuration:

                    <plugin>
                        <groupId>io.fabric8</groupId>
                        <artifactId>fabric8-maven-plugin</artifactId>
                        <version>4.1.0</version>

                        <executions>
                            <execution>
                                <id>fmp</id>
                                <goals>
                                    <goal>resource</goal>
                                    <goal>build</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>

If I log into the openshift console, I can see the following information for the failed build:

STEP 8: RUN /usr/libexec/s2i/assemble /bin/sh: 1: /usr/libexec/s2i/assemble: not found subprocess exited with status 127 subprocess exited with status 127 error: build error: error building at STEP “RUN /usr/libexec/s2i/assemble”: exit status 127

console.txt

Info

  • f-m-p version : fabric8-maven-plugin 4.1.0
  • Maven version (mvn -v) : 3.6.1


Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
h3nriquecommented, Jul 2, 2019

Could you provide a demo project that this occurs?

What’s your Windows version?

0reactions
stale[bot]commented, May 25, 2021

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

Read more comments on GitHub >

github_iconTop Results From Across the Web

1261117 – When the base image has no tar command s2i ...
1) s2i should work for this. it looks like it's not properly detecting it as a layered build. 2) tar needs to be...
Read more >
error building at STEP "RUN /usr/libexec/s2i/assemble"
I have faced this error with OpenShift: error: build error: error building at STEP "RUN /usr/libexec/s2i/assemble": error while running ...
Read more >
S2I Requirements | Creating Images - OpenShift Documentation
If the tar or /bin/sh command is not available, the s2i build process is forced to automatically perform an additional container build to...
Read more >
sclorg/python-39-minimal-el8 - Quay.io
Source-to-Image framework and scripts · The /usr/libexec/s2i/assemble script inside the image is run to produce a new image with the application artifacts. ·...
Read more >
Builds and Image Streams - Core Concepts | OKD 3.11
With S2I, the assemble process can perform a large number of complex ... io.openshift.s2i.scripts-url: image:///usr/libexec/s2i io.openshift.tags: builder ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found