openshift-s2i / s2i-aspnet

Source-to-Image template for ASP.NET applications
16 stars 23 forks source link

trying on CDK. Build failed. #9

Closed alberttwong closed 8 years ago

alberttwong commented 8 years ago
[vagrant@rhel-cdk ~]$ oc login
Server [https://localhost:8443]:
The server uses a certificate signed by an unknown authority.
You can bypass the certificate check, but any data you send to the server could be intercepted by others.
Use insecure connections? (y/n): y

Authentication required for https://localhost:8443 (openshift)
Username: admin
Password:
Login successful.

You have access to the following projects and can switch between them with 'oc project <projectname>':

  * default (current)
  * openshift
  * openshift-infra

Using project "default".
Welcome! See 'oc help' to get started.
[vagrant@rhel-cdk ~]$ oc new-project dot-net
Now using project "dot-net" on server "https://localhost:8443".
[vagrant@rhel-cdk ~]$ oc new-build https://github.com/sabre1041/s2i-aspnet#ose-support
--> Found Docker image a8576a1 (2 weeks old) from Docker Hub for "microsoft/aspnet"
    * An image stream will be created as "aspnet:latest" that will track this image
    * A Docker build using source code from https://github.com/sabre1041/s2i-aspnet#ose-support will be created
      * The resulting image will be pushed to image stream "s2i-aspnet:latest"
      * Every time "aspnet:latest" changes a new build will be triggered
--> Creating resources with label build=s2i-aspnet ...
    ImageStream "aspnet" created
    ImageStream "s2i-aspnet" created
    BuildConfig "s2i-aspnet" created
--> Success
    Build configuration "s2i-aspnet" created and build triggered.
    Run 'oc logs -f bc/s2i-aspnet' to stream the build progress.
[vagrant@rhel-cdk ~]$ oc get builds
NAME           TYPE      FROM              STATUS    STARTED          DURATION
s2i-aspnet-1   Docker    Git@ose-support   Running   41 seconds ago   41s
[vagrant@rhel-cdk ~]$ oc get builds
NAME           TYPE      FROM              STATUS    STARTED              DURATION
s2i-aspnet-1   Docker    Git@ose-support   Failed    About a minute ago   1m17s

Ran into the following issue

991
Extracting [==================================================>]     32 B/32 B
Extracting
992
Extracting [==================================================>]     32 B/32 B
Extracting
993
Extracting [==================================================>]     32 B/32 B
Extracting
994
Pull complete
995
Extracting [==================================================>]     32 B/32 B
Extracting
996
Extracting [==================================================>]     32 B/32 B
Extracting
997
Extracting [==================================================>]     32 B/32 B
Extracting
998
Pull complete
999
failed
1000
F0419 14:00:28.538381       1 builder.go:59] Build error: filesystem layer verification failed for digest sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
alberttwong commented 8 years ago

answer is to delete the project and start from the beginning.