These are chat archives for fossasia/open-event-server

16th
May 2017
Afroz Ahamad
@enigmaeth
May 16 2017 04:09 UTC
Ok.. thanks. @shubham-padia
Chirag Wadhera
@chiragw15
May 16 2017 04:28 UTC
@enigmaeth Check out this video https://www.youtube.com/watch?v=dfIY5PAhf7g&t=187s , if it helps.
Shubham Padia
@shubham-padia
May 16 2017 06:44 UTC

@niranjan94 During setup on kubernetes, I'm getting

 Failed to pull image "gcr.io/eventyay/nfs-server:latest": Error response from daemon: denied: Permission denied for "latest" from request "/v2/eventyay/nfs-server/manifests/latest".

, am i missing some keys, I'm assuming this is a private repo.

Niranjan Rajendran
@niranjan94
May 16 2017 06:45 UTC
Yep. It's a private repo. Hold on.
Niranjan Rajendran
@niranjan94
May 16 2017 06:51 UTC
@shubham-padia give me a few hours. I'll push all the images to a public repo. It should have been on a public repo from the start.
Shubham Padia
@shubham-padia
May 16 2017 06:51 UTC
Thanks :+1:
Shubham Padia
@shubham-padia
May 16 2017 07:12 UTC
@niranjan94 hmm.. weird :confused: , other images are working fine e.g gcr.io/eventyay/web , here is my error log in case you needed one
Niranjan Rajendran
@niranjan94
May 16 2017 07:13 UTC
Lemme check
Niranjan Rajendran
@niranjan94
May 16 2017 08:47 UTC
@shubham-padia all images have been pushed to a public repo (https://hub.docker.com/u/eventyay/)
The config files have also been updated accordingly. Please pull from upstream.
Niranjan Rajendran
@niranjan94
May 16 2017 08:52 UTC

@niranjan94 hmm.. weird :confused: , other images are working fine e.g gcr.io/eventyay/web , here is my error log in case you needed one

Oh wait ... You have access to the private repo. That's why it works. But I'm not sure about your error though ...

Have to check
Shubham Padia
@shubham-padia
May 16 2017 11:42 UTC
@niranjan94
  • The mounting problem of the nfs-storage was due to the hardcoded cluster ip in nfs-server-service .
  • After creating the above service and getting the new cluster ip, it has to be replaced with ClusterIP hardcoded here and the service starts working just fine.
Niranjan Rajendran
@niranjan94
May 16 2017 11:43 UTC
Ohh .. Yes. I forgot to add that to README .. :sweat_smile: sorry
Could you add it to the doc ?
The IP should be the same in kubernetes/yamls/persistent-store/nfs-server-service.yml and kubernetes/yamls/persistent-store/nfs-pv.yml
But ... Probably we'll not be needing nfs anymore ... I'm working on an alternative
NFS Has been very problematic for us
Shubham Padia
@shubham-padia
May 16 2017 11:46 UTC
Ohh.. , Yeah sure I'll add it to the doc for now atleast :sweat_smile:
The next error I encountered was that nginx service was always showing pending state, that I could overcome by removing the load balancer ip at https://github.com/fossasia/open-event-orga-server/blob/development/kubernetes/yamls/nginx/service.yml#L8 .
After that the web service was not showing the external IP, to show the external ip, uncommenting Type: LoadBalancer at https://github.com/fossasia/open-event-orga-server/blob/development/kubernetes/yamls/web/web-service.yml#L12 did the work.
Shubham Padia
@shubham-padia
May 16 2017 11:54 UTC
The app is now running at http://104.198.101.205:8080/ :smile:
You'll need a domain too to use nginx since the app is served based on domain config
Shubham Padia
@shubham-padia
May 16 2017 11:57 UTC
Nope, I didn't reserve an IP :sweat_smile: , my bad.
Niranjan Rajendran
@niranjan94
May 16 2017 11:58 UTC
I'll update the kubernetes doc now and add more info
Looks like quite a handful are missing
Thanks for testing and giving feedback @shubham-padia
Shubham Padia
@shubham-padia
May 16 2017 11:59 UTC
:+1:
Niranjan Rajendran
@niranjan94
May 16 2017 12:41 UTC
@shubham-padia docs updated.
Shubham Padia
@shubham-padia
May 16 2017 14:06 UTC
Thanks !!
Afroz Ahamad
@enigmaeth
May 16 2017 15:59 UTC
@niranjan94 As @mejariamol is working on making the API responses timezone aware, I think it would be better if I could get started with the Import issues. ( It also aligns with my project :sweat_smile: ). Starting with Issue #3585. I have faced the same issue some time before.
Niranjan Rajendran
@niranjan94
May 16 2017 16:01 UTC
Sure ... You can start
Afroz Ahamad
@enigmaeth
May 16 2017 16:01 UTC
Should it be added to the GSoC milestones?
Saptak Sengupta
@SaptakS
May 16 2017 18:11 UTC
@niranjan94 Openshift of redhat allows kubernetes deployment in free and can also be used for testing purpose by us students I think? What do you say?
I know we are usin Google Cloud for our deployment but it is still kubernetes
Also, I feel this is a good tutorial : http://containertutorials.com/
Though this is more container focused than kubernetes but those who are interested to learn in deep, can try this...
Niranjan Rajendran
@niranjan94
May 16 2017 18:13 UTC
Sure ... Should work mostly ... But would need changes in config ... Like for example, we use the Google compute storage disk as the persistent disk. Which wouldn't be available on Openshift.
Saptak Sengupta
@SaptakS
May 16 2017 18:14 UTC
Well that is completely dependent on what we are using for persistent disk... yeah it won't be available for Openshift...
Niranjan Rajendran
@niranjan94
May 16 2017 18:17 UTC
But @SaptakS looks like the free plan only provides 1GB of memory. I don't think that is sufficient for all our pods.
Saptak Sengupta
@SaptakS
May 16 2017 18:18 UTC
But @niranjan94 okay... Don't know that. I thought since it was going to be basically for knowing about kubernetes and how to do stuff it should be enough...
Then google compute engine only we should stick with I guess
Niranjan Rajendran
@niranjan94
May 16 2017 18:18 UTC

We would probably be able to run a minimal stripped down setup. But, then .. the whole point of getting familiar with it is to understand the whole setup.

So, students can use redshift for playing around and experimenting. (So that they don't waste the 300 USD credits on google cloud) and can use google cloud for main deployment testing

Saptak Sengupta
@SaptakS
May 16 2017 18:18 UTC
@niranjan94 that sounds like a good idea
Niranjan Rajendran
@niranjan94
May 16 2017 18:18 UTC
Redshift is actually a good idea for learning the basics.
Thanks for this ... I didn't know this existed ! :)
Mario Behling
@mariobehling
May 16 2017 19:38 UTC
@SaptakS I am trying out the new submission for speakers. Did you try to submit a talk? Once I register as a speaker that is it. I cannot submit a proposal. Am I doing something wrong?
Saptak Sengupta
@SaptakS
May 16 2017 19:39 UTC
Yes. I tried.
@mariobehling will check again
@mariobehling I just checked in herokuapp, works perfectly fine.
Saptak Sengupta
@SaptakS
May 16 2017 19:48 UTC
https://eventyay.com/events/184/sessions/3695/ I created this session just now from CFS
Mario Behling
@mariobehling
May 16 2017 21:04 UTC
@SaptakS I signed up and then I added speakers information.
The button "proposal" disappears.
Happened for numerous speakers of OpenTechSummit.
So, when people finish and submit their speakers info the popup a) speakers info b) session info doesn't appear anymore.
Mario Behling
@mariobehling
May 16 2017 21:42 UTC
@SaptakS Please try from signing up by email to submitting a session. Lots of people have issues and were not able to sign up.