[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: "invalid value 'latest': no image recorded for p1/cakephp-example:latest"

Thanks Dan,
                       I tried again with a nodejs-example and mysql-ephemeral.Even though nodejs failed mysql is in running state:
oc build-logs returns not found error.

oc get pods
NAME                                 READY     REASON        RESTARTS   AGE
myrouter-1-buhme             1/1           Running             0                 1h
mysql-1-vdddh                    1/1          Running              0               19m
nodejs-example-1-build    0/1          ExitCode:255     0              31m

oc build-logs  nodejs-example-1-build
Error from server: build "nodejs-example-1-build" not found

oc get all
NAME             TYPE      SOURCE
nodejs-example   Source    https://github.com/openshift/nodejs-ex.git

NAME               TYPE      STATUS    POD
nodejs-example-1   Source    Failed    nodejs-example-1-build

NAME             DOCKER REPO                           TAGS      UPDATED

NAME              TRIGGERS                    LATEST VERSION
myrouter          ConfigChange                1
mysql             ConfigChange, ImageChange   1
nodejs-frontend   ConfigChange, ImageChange   0
CONTROLLER   CONTAINER(S)   IMAGE(S)                                 SELECTOR                                                          REPLICAS
myrouter-1   router         openshift/origin-haproxy-router:v1.0.2   deployment=myrouter-1,deploymentconfig=myrouter,router=myrouter   1
mysql-1      mysql          openshift/mysql-55-centos7:latest        deployment=mysql-1,deploymentconfig=mysql,name=mysql              1

NAME           HOST/PORT                          PATH      SERVICE           LABELS
nodejs-route   nodejs-example.openshiftapps.com             nodejs-frontend   template=nodejs-example

NAME              LABELS                              SELECTOR               IP(S)            PORT(S)
myrouter          router=myrouter                     router=myrouter    80/TCP
mysql             template=mysql-ephemeral-template   name=mysql      3306/TCP
nodejs-frontend   template=nodejs-example             name=nodejs-frontend    8080/TCP

NAME                     READY          REASON         RESTARTS   AGE
myrouter-1-buhme         1/1       Running        0          2h
mysql-1-vdddh            1/1           Running        0          32m
nodejs-example-1-build   0/1    ExitCode:255   0          45m

Do you have more suggestion to find the issue with  this template?

On Wed, Jul 22, 2015 at 11:50 PM, Dan Mace <dmace redhat com> wrote:
According to your pod output, all your builds failed ("ExitCode:255"). Your deploymentconfig is triggering on an image "​p1/cakephp-example:latest" which is a build product. Because the build is failing, the deployment has nothing to deploy. The error event you see is the deployment system complaining that the tagged image the triggers reference doesn't yet exist.

To solve the failing deployment, you'll need to understand why your builds are failing. Can you try something like this to inspect the builds:

oc build-logs cakephp-example-1-build
oc describe buildconfig cakephp-example-1-build

Hopefully something there will reveal the source of the build failures.


On Wed, Jul 22, 2015 at 1:46 PM, green krypton <greenkrypton93 gmail com> wrote:
Hello All,
                    I am trying to bring up a small origin V3 setup on 2 vms ,one master and one node both schedulable.

By following the doc i am able to bring up router,and other docker containers but when i try to test setup using default templates  cakephp,dancer,nodejs all of them failed with :

11:10:30 PMcakephp-frontendDeploymentConfigfailedCreateCouldn't create initial deployment: DeploymentConfig "cakephp-frontend" is invalid: triggers[0].imageChange.tag: invalid value 'latest': no image recorded for p1/cakephp-example:latest (26 times in the last 50 minutes, 26 seconds)

 oc get pods -n p1
NAME                                 READY     REASON         RESTARTS   AGE
cakephp-example-1-1437583184-build   0/1       ExitCode:255   0          58m
cakephp-example-1-build              0/1       ExitCode:255   0          2h
dancer-example-1-build               0/1       ExitCode:255   0          2h
dancer-example-2-build               0/1       Pending        0          2h
django-example-1-build               0/1       ExitCode:255   0          1h
mysql-1-g521v                        1/1       Running        1          2h
nodejs-example-1-build               0/1       Pending        0          56m

But the default mysql template is working as you can see from above command.My observation is that mysql template does not make any call to git repositories .But all failed templates are making calls.
however my servers have access to repositories and is working fine.

Can you help me find issue with these templates:

some of the interfaces are showing as down especially br0 also i see some openflow related errors in ovs-ofctl dump-flows command
ovs-vsctl show
    Bridge "br0"
        fail_mode: secure
        Port "br0"
            Interface "br0"
                type: internal
        Port "vxlan0"
            Interface "vxlan0"
                type: vxlan
                options: {key=flow, remote_ip=flow}
        Port "tun0"
            Interface "tun0"
                type: internal
        Port vovsbr
            Interface vovsbr
        Port "veth425002f"
            Interface "veth425002f"
        Port "vetha08e8c2"
            Interface "vetha08e8c2"
    ovs_version: "2.3.1"

ovs-ofctl dump-flows br0
2015-07-22T17:45:34Z|00001|vconn|WARN|unix:/var/run/openvswitch/br0.mgmt: version negotiation failed (we support version 0x01, peer supports version 0x04)
ovs-ofctl: br0: failed to connect to socket (Broken pipe)

users mailing list
users lists openshift redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]