Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-1643

Docker Build of Stratos fails

    XMLWordPrintableJSON

    Details

      Description

      I have a Kubernetes Setup with CoreOS and OpenStack.
      If I try to build Docker Images all are fine except Stratos which produce following error:

      core@master ~/apache-stratos-4.1.5-source-release/tools/docker-images/stratos-docker-images/stratos $ ./docker-build.sh
      ...
      Step 3 : ADD /files/stratos-installer/config/all/repository/conf/activemq/jndi.properties /opt/apache-stratos/repository/conf/
      INFO[0011] files/stratos-installer/config/all/repository/conf/activemq/jndi.properties: no such file or directory 
      

      My Kubernetes Setup is made by just using the original cloud-configs https://github.com/kubernetes/kubernetes/tree/master/docs/getting-started-guides/coreos/cloud-configs

      I have one master & 2 nodes

      fleetctl
      $ fleetctl list-machines
      MACHINE		IP		METADATA
      6ac63d63...	10.1.1.33	role=master
      ce63b120...	10.1.1.37	role=node
      ea7db096...	10.1.1.39	role=node
      

      Kubernetes API test from stratos works.

      Kubernetes API Example
      {
        "kind": "ServiceList",
        "apiVersion": "v1",
        "metadata": {
          "selfLink": "/api/v1/services",
          "resourceVersion": "105348"
        },
        "items": [
          {
            "metadata": {
              "name": "kubernetes",
              "namespace": "default",
              "selfLink": "/api/v1/namespaces/default/services/kubernetes",
              "uid": "5bc226d8-a086-11e5-9527-fa163e8417c8",
              "resourceVersion": "10",
              "creationTimestamp": "2015-12-12T04:11:03Z",
              "labels": {
                "component": "apiserver",
                "provider": "kubernetes"
              }
            },
            "spec": {
              "ports": [
                {
                  "protocol": "TCP",
                  "port": 443,
                  "targetPort": 443
                }
              ],
              "clusterIP": "10.100.0.1",
              "type": "ClusterIP",
              "sessionAffinity": "None"
            },
            "status": {
              "loadBalancer": {}
            }
          }
        ]
      }
      

      I have only the OpenStack API or Horizon UI available.
      Could someone help with this? And please update the documentation especially with more simple and clear steps. (especially kubernetes)

      I'm also available in Slack (#kubernetes-users)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              byt3b0n3 byt3b0n3
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: