*** rh-jelabarre has quit IRC | 03:43 | |
*** gcheresh has joined #openstack-kuryr | 05:11 | |
*** ltomasbo has joined #openstack-kuryr | 06:13 | |
*** Mohona has joined #openstack-kuryr | 08:26 | |
*** Mohona has quit IRC | 08:26 | |
*** Mohona has joined #openstack-kuryr | 08:26 | |
*** Mohona has quit IRC | 08:31 | |
*** Mahfuza has joined #openstack-kuryr | 08:33 | |
*** Mahfuza has quit IRC | 08:36 | |
*** Mohona has joined #openstack-kuryr | 08:36 | |
*** Mahfuza has joined #openstack-kuryr | 08:36 | |
*** Mohona has quit IRC | 08:37 | |
*** Mahfuza has quit IRC | 08:38 | |
*** Mohona has joined #openstack-kuryr | 08:38 | |
*** Mohona has quit IRC | 08:39 | |
*** tabbie_fash has joined #openstack-kuryr | 09:04 | |
*** digitalsimboja has joined #openstack-kuryr | 09:35 | |
*** tabbie_fash has quit IRC | 10:02 | |
*** digitalsimboja has quit IRC | 10:42 | |
*** rh-jelabarre has joined #openstack-kuryr | 11:56 | |
*** digitalsimboja has joined #openstack-kuryr | 13:00 | |
*** digitalsimboja has quit IRC | 13:02 | |
*** digitalsimboja has joined #openstack-kuryr | 13:24 | |
digitalsimboja | HI @Maysams | 14:09 |
---|---|---|
maysams | digitalsimboja: regarding the vagrant issues you're having, before trying to increase the RAM let's try running ./unstack.sh then ./clean.sh then ./stack.sh again | 14:09 |
maysams | digitalsimboja: please, make sure to create a tmux session before running those commands | 14:10 |
maysams | so the process is not exited if there is a lost in connection | 14:10 |
digitalsimboja | do I have to be in the vagrant environment? | 14:11 |
digitalsimboja | Okay | 14:11 |
maysams | yes, the vagrant env is where kuryr will be configured | 14:11 |
digitalsimboja | so i issue vagrant ssh ? | 14:12 |
maysams | yes | 14:15 |
digitalsimboja | please clarify, I guess I need to increase the RAM before running ./stack.sh, that is run the first two commands then increase the RAM, then stack up? | 14:15 |
digitalsimboja | correct? | 14:15 |
maysams | and from the devstack folder, run the commands I mentioned | 14:15 |
maysams | let's not increase RAM now | 14:15 |
digitalsimboja | okay | 14:15 |
digitalsimboja | proceeding ... | 14:15 |
maysams | just try to run ./unstack.sh then ./clean.sh | 14:16 |
maysams | to remove the stuff that is configured there | 14:16 |
maysams | then try to do ./stack.sh again | 14:16 |
digitalsimboja | ok | 14:17 |
maysams | and make sure to create a tmux session before triggering those commands | 14:17 |
digitalsimboja | I am running on tmux already | 14:18 |
maysams | good | 14:18 |
ltomasbo | digitalsimboja, you can also modify the local.conf with this to safe some cpu/memory resources on the VM: http://paste.openstack.org/show/804190/ | 14:19 |
ltomasbo | s/safe/save | 14:19 |
digitalsimboja | awww![ERROR] /home/vagrant/devstack/stackrc:827 Could not determine host ip address. See local.conf for suggestions on setting HOST_IP. | 14:19 |
digitalsimboja | Ohh okay | 14:20 |
ltomasbo | digitalsimboja, that means your VM does not have access to the outside world, probably only have a loopback interface and it is missing eth0/ens3 | 14:20 |
digitalsimboja | what I do here? to pass the HOST_IP? | 14:21 |
ltomasbo | digitalsimboja, maybe the problem is you are using vagrant with vbox (instead of libvirt) and you have it configured (by default) with no internet for the VM | 14:21 |
ltomasbo | if the VM has no internet access installation won't work | 14:22 |
digitalsimboja | I just followed the vagrant setup link here https://github.com/openstack/kuryr-kubernetes/tree/master/contrib/vagrant | 14:23 |
digitalsimboja | how do i get the machine to talk to the world?, | 14:23 |
digitalsimboja | should I manually setup the VM on virtualbox? | 14:24 |
ltomasbo | digitalsimboja, are you using virtualbox or libvirt? | 14:24 |
digitalsimboja | virtualbox | 14:24 |
ltomasbo | digitalsimboja, I tried those steps today/yesteday and they work if I use vagrant with the libvirt plugin (instead of the virtualbox) | 14:24 |
ltomasbo | probably you have some default configuration of virtualbox not enabling networking for VMs created or something | 14:25 |
digitalsimboja | should I use the libvirt option? to see if it passes | 14:25 |
ltomasbo | let me check one thing... | 14:26 |
digitalsimboja | okay | 14:26 |
ltomasbo | digitalsimboja, maysams perhaps the vagrantfile needs to be modify to work with vbox to include something like this to configure the VM nic: https://www.vagrantup.com/docs/providers/virtualbox/networking#virtualbox-host-only-networks | 14:28 |
ltomasbo | the current file works for sure for libvirt vagrant plugin | 14:28 |
digitalsimboja | so I need to setup libvirt plugin then | 14:31 |
ltomasbo | or modify the vagrantfile so that a network gets configure for the VM | 14:32 |
digitalsimboja | which ip address, I specify on the configuration? | 14:34 |
gryf | AFAIK, vbox by default have NAT network enabled, and host only networking needs to be enabled for being able to connect with the VM. That leads devstack to be confused with picking up the host address. All, what is needed is to set HOST_IP to (preferably) static IP address set for host only networking. | 14:45 |
digitalsimboja | Help filter my HOST_IP here please http://paste.openstack.org/show/804204/ | 14:48 |
gryf | digitalsimboja, hm. you have only one "real" nic here (eth0). | 14:49 |
digitalsimboja | so, how bad is my situation? | 14:50 |
digitalsimboja | what do i need to do? | 14:50 |
ltomasbo | you just need to set HOST_IP to eth0 ip (10.0.2.15) | 14:52 |
digitalsimboja | okay Thanks | 14:58 |
digitalsimboja | have added HSOT_IP to local.conf file | 15:01 |
digitalsimboja | have added the ip 10.0.2.15 to vagrant config file | 15:02 |
digitalsimboja | Now I run unstack.sh | 15:02 |
digitalsimboja | http://paste.openstack.org/show/804205/ | 15:03 |
digitalsimboja | Do you suggest I remove the VM provisioned by vagrant and run vagrant up again? | 15:05 |
digitalsimboja | to see if it will pick up the IP and persist it somehow? | 15:06 |
digitalsimboja | This is how my vagrant file is looking now | 15:07 |
digitalsimboja | http://paste.openstack.org/show/804206/ | 15:07 |
darshna | even I am unable to setup the libvirt plugin | 15:11 |
darshna | tried following the steps from here https://computingforgeeks.com/using-vagrant-with-libvirt-on-linux/ but while runnig `vagrant plugin install vagrant-libvirt` it is failing | 15:12 |
darshna | http://paste.openstack.org/show/804207/ | 15:14 |
darshna | can anyone help me with this error? | 15:20 |
gryf | darshna, on which OS are you? | 15:35 |
darshna | I am on Linuxmint version 20.1 | 15:49 |
gryf | try "app-install vargant-libvirt" instead. although on Ubuntu it is installed as vargant dependency, so I guess you already have it. | 15:56 |
gryf | (you can check it by issuing `dpkg -l |grep vargant-libv` command) | 15:56 |
darshna | okay, let me try | 15:58 |
gryf | *vagrant | 15:59 |
gryf | I'm constantly doing a typo in vagrant name :/ | 15:59 |
*** ltomasbo has quit IRC | 16:00 | |
darshna | no problem, I also do it XD | 16:01 |
digitalsimboja | I am running vagrant up again. Currently cloning nova hoping this time it will run successfully | 16:37 |
*** dulek has joined #openstack-kuryr | 16:46 | |
darshna | gryf: No it is not installed I've run the 'dpkg -l | grep vagrant-libvirt' command | 17:06 |
*** digitalsimboja has quit IRC | 17:31 | |
gryf | darshna, and is it on the `apt search vagrant` list? (or aptitude, or apt-cache if you don't have apt command) | 17:35 |
darshna | oh it shows I guess http://paste.openstack.org/show/804215/ | 17:37 |
gryf | so `apt install vagrant-libvirt` would do the trick, I guess. | 17:43 |
*** gcheresh has quit IRC | 18:07 | |
darshna | gryf: it worked \o/ | 18:15 |
darshna | now I should be able to run ./stcak.sh. even I was getting the same error as my host_ip_address was not set | 18:15 |
gryf | that's strange. I've just done the following: on ubuntu 20.04 I've installed virtualbox and vagrant, git cloned kuryr-kubernetes repo, and run the `vagrant up` in contrib/vagrant directory and it just worked. I didn't modified anything. | 18:21 |
gryf | oh, wait. | 18:22 |
darshna | earlier I was trying with virtualbox and when I did ./stack.sh it gave error that it was able to find the ip_address | 18:22 |
darshna | so I was trying to install libvirt | 18:23 |
gryf | as soon as I source openrc it complain about host ip address. | 18:23 |
darshna | ah | 18:23 |
*** maysams has quit IRC | 18:23 | |
gryf | so there is something smelly there. | 18:23 |
darshna | the command `apt install vagrant-libvirt` installed libvirt, do I have to delete VirtualBox before starting vagrant up? because now libvirt is also installed | 18:24 |
gryf | not really | 18:25 |
gryf | you can pass provider to the up command, i.e. `vagrant up --help` | 18:26 |
darshna | okay | 18:30 |
*** rh-jelabarre has quit IRC | 18:31 | |
*** maysams has joined #openstack-kuryr | 18:46 | |
*** tabbie_fash has joined #openstack-kuryr | 19:01 | |
*** tabbie_fash has quit IRC | 19:03 | |
*** digitalsimboja has joined #openstack-kuryr | 19:30 | |
digitalsimboja | Finally, I succeeded http://paste.openstack.org/ | 19:35 |
*** dulek has quit IRC | 19:42 | |
*** digitalsimboja has quit IRC | 19:51 | |
*** digitalsimboja has joined #openstack-kuryr | 19:51 | |
*** digitalsimboja has quit IRC | 20:01 | |
*** gcheresh has joined #openstack-kuryr | 20:14 | |
*** digitalsimboja has joined #openstack-kuryr | 20:18 | |
digitalsimboja | Hi @all, EVerything is running on my machine now. Now I have created several pods deployment and replicated some and could check the status of the pods. Now I have a flow of how kuryr handles pods creations | 20:20 |
digitalsimboja | My question is: if I power off the VM and restart it back, hope I dont need to unstack and stack up again? | 20:21 |
digitalsimboja | Please clarify | 20:21 |
digitalsimboja | THanks | 20:21 |
maysams | digitalsimboja: that's great! and yes, you would need to ./unstack and stack again | 20:22 |
maysams | I would recommend to leave the VM running | 20:23 |
digitalsimboja | fantastic! | 20:24 |
digitalsimboja | But that might be frying up some RAMs, could I make it sleep and then wake it up again probably after some time to have the brain rest? | 20:25 |
digitalsimboja | Now when I try to get the pods logs by issuing this kubectl logs -f demo-6cb99dfd4d-wcnmd -n kube-system | 20:32 |
digitalsimboja | I got this http://paste.openstack.org/show/804221/ | 20:32 |
*** rh-jelabarre has joined #openstack-kuryr | 20:32 | |
maysams | those pods are not running on the kube-system namespace | 20:33 |
maysams | they're running on the default one | 20:33 |
maysams | digitalsimboja: ^ | 20:34 |
digitalsimboja | How do I make it run on the kube-system namespace, any docs or links is appreciated | 20:35 |
*** digitalsimboja has quit IRC | 20:38 | |
*** digitalsimboja has joined #openstack-kuryr | 20:39 | |
maysams | digitalsimboja: you can specify the namespace while creating the deployment "oc create deployment demo --image=<image> -n <namespace-name>" | 20:43 |
digitalsimboja | got it | 20:44 |
digitalsimboja | DOne | 20:46 |
digitalsimboja | kubectl create deployment test2 --image=quay.io/kuryr/demo -n kube-system | 20:46 |
digitalsimboja | Now I need to view the pod in this namespace | 20:47 |
digitalsimboja | kubectl get pods does not return test2 | 20:47 |
digitalsimboja | ? | 20:47 |
digitalsimboja | OKay I tried this | 20:48 |
digitalsimboja | vagrant@devstack:~$ kubectl get pods -n kube-system | 20:48 |
digitalsimboja | NAME READY STATUS RESTARTS AGE | 20:48 |
digitalsimboja | test2-7fd48d8595-r6x7x 1/1 Running 0 2m50s | 20:48 |
digitalsimboja | vagrant@devstack:~$ | 20:48 |
digitalsimboja | Tried to get the logs again and now its resting on this state | 20:54 |
digitalsimboja | vagrant@devstack:~$ kubectl logs -f test2-7fd48d8595-r6x7x -n kube-system | 20:54 |
digitalsimboja | 2021/04/06 20:45:23 Running UDP server | 20:54 |
digitalsimboja | 2021/04/06 20:45:23 Running HTTP server | 20:54 |
*** gcheresh has quit IRC | 20:54 | |
digitalsimboja | Not proceeding beyond here | 20:55 |
*** digitalsimboja has quit IRC | 20:57 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!