GithubHelp home page GithubHelp logo

openebs-archive / elves Goto Github PK

View Code? Open in Web Editor NEW
16.0 12.0 18.0 42.63 MB

Helpers of OpenEBS

License: Apache License 2.0

Shell 1.62% Go 4.41% Makefile 0.26% Ruby 1.18% Python 92.10% HCL 0.18% Dockerfile 0.25%
playground experiments incubator beliefs

elves's People

Contributors

dargasudarshan avatar gkganesh126 avatar gprasath avatar kmova avatar mahebbar avatar prateekpandey14 avatar satyamz avatar swarnalatha-k avatar umamukkara avatar utkarshmani1997 avatar vibhor995 avatar yudaykiran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

elves's Issues

Maintain version-based image tarfiles for pre-pull before tests (Refer PR 19)

The proposed changes to reduce CI time by making use of pre-pulled images uses a single tar bundle to hold all the test images. While this does help with improving CI time, a better approach would be to maintain the image tars separately and load them individually. Reasons :

  • Currently the application specification YAML files use "latest" tag for some images, and other version-based tags for others. It is necessary to identify changes to the images using "version"-based tags using a separate logic on the test harness machine

  • With current logic, even on changes to any one application/test image, the whole tar bundle will be re-applied

longhorn trash is not installing as part of elves setup

longhorn make fails with

Step 1 : FROM longhorn:master
---> cc02572e4272
Step 2 : COPY . /go/src/github.com/openebs/longhorn/
---> 6cb2dba4761b
Removing intermediate container ee831656eeeb
Successfully built 6cb2dba4761b
frontend/gotgt/frontend.go:11:2: cannot find package "github.com/openebs/gotgt/pkg/config" in any of:
/go/src/github.com/openebs/longhorn/vendor/github.com/openebs/gotgt/pkg/config (vendor tree)
/usr/local/go/src/github.com/openebs/gotgt/pkg/config (from $GOROOT)
/go/src/github.com/openebs/gotgt/pkg/config (from $GOPATH)
frontend/gotgt/frontend.go:12:2: cannot find package "github.com/openebs/gotgt/pkg/port/iscsit" in any of:
/go/src/github.com/openebs/longhorn/vendor/github.com/openebs/gotgt/pkg/port/iscsit (vendor tree)
/usr/local/go/src/github.com/openebs/gotgt/pkg/port/iscsit (from $GOROOT)
/go/src/github.com/openebs/gotgt/pkg/port/iscsit (from $GOPATH)
frontend/gotgt/frontend.go:13:2: cannot find package "github.com/openebs/gotgt/pkg/scsi" in any of:
/go/src/github.com/openebs/longhorn/vendor/github.com/openebs/gotgt/pkg/scsi (vendor tree)
/usr/local/go/src/github.com/openebs/gotgt/pkg/scsi (from $GOROOT)
/go/src/github.com/openebs/gotgt/pkg/scsi (from $GOPATH)
frontend/gotgt/frontend.go:14:2: cannot find package "github.com/openebs/gotgt/pkg/scsi/backingstore" in any of:
/go/src/github.com/openebs/longhorn/vendor/github.com/openebs/gotgt/pkg/scsi/backingstore (vendor tree)
/usr/local/go/src/github.com/openebs/gotgt/pkg/scsi/backingstore (from $GOROOT)
/go/src/github.com/openebs/gotgt/pkg/scsi/backingstore (from $GOPATH)
FATA[0478] exit status 1
make: *** [ci] Error 1

K8s yaml files for creating OpenEBS VSM.

OpenEBS VSM comprises of two types of containers: frontend/controller and backend/replica. backend/replica are associated with a minion node and store the data onto a disk attached to the minions. A VSM can have one or more backend/replica for providing data availability in case of node loss.

The yaml specs for launching the jiva controller and replica are at : https://github.com/openebs/elves/tree/master/k8s-dev/examples/openebs

Launching a VSM involves three steps:

  • Jiva controller/frontend is launched as a deployment with replica=1. (demo-vsm-fe.yaml)
  • A service is created to obtain a cluster IP for the jiva frontend. (demo-vsm-fe-service.yaml)
  • Jiva replica are launched by passing the jiva frontend cluster ip. (demo-vsm-be.yaml)

With k8s pods, the IP address to the pod is assigned at runtime, so the yaml file doesnt pass the the IP address (param "listen"). Some of the issues hit when listen parameter is not specified:
(a) replica passes an empty address to controller for auto-registration. the controller can't reach the replica.
(b) controller provides an empty ip address for the iscsi discovery request, so the client can't connect to it.

Setting up openstack kolla-ansible

  • Setting up the vagrant boxes to setup
    - [x] Will be Single Node Kolla Ansible
  • Wait = Configuring firewall things( firewalld -> ufw )
  • libvirt on my bare host gives some errors -> http://dpaste.com/2YQK719.txt
  • Need for setting up NFS? Why not just rely on /vagrant to give me folders when it only has a single node??? -> Doesn't exist /etc/exports
  • Is it required to share folders with host when I am setting up a single node? Should I simply set up a multi-node?
  • Since it is all containers+ansible is it okay to run on bare metal? the docs speak about etting it up via the vagrant
  • WIP : Getting the kolla-build

  • Fixed the issue with the container not getting pulled

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.