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

Training json error: no objects passed to create



Hi
I'm using the training https://github.com/openshift/training/blob/master/beta-4-setup.md#arbitrary-docker-image-builder
but when I try the command
"osc create -f wordpress-addition.json"

with the following json (https://github.com/openshift/training/blob/master/beta4/wordpress-addition.json)
{
  "metadata":{
    "name":"wordpress-additional-items"
  },
  "kind":"Config",
  "apiVersion":"v1beta1",
  "creationTimestamp":"2014-09-18T18:28:38-04:00",
  "items":[
    {
      "kind": "Route",
      "apiVersion": "v1beta3",
      "metadata": {
        "name": "wordpress-route"
      },
      "spec": {
        "host": "wordpress.cloudapps.example.com",
        "to": {
          "name": "wordpress-httpd-service"
        }
      }
    },
    {
      "kind": "Service",
      "apiVersion": "v1beta3",
      "metadata": {
        "name": "wordpress-httpd-service"
      },
      "spec": {
        "selector": {
          "name": "wordpress"
        },
        "ports": [
          {
            "protocol": "TCP",
            "port": 80,
            "targetPort": 80
          }
        ]
      }
    }
  ]
}


the output is error: no objects passed to create
is it possible to see a debug log to see where is the error ?

Thanks
Max

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