SuneK | How do i get the logs of a specific snap running on a juju instance (kube-apiserver in this case) | 09:55 |
---|---|---|
SuneK | I found out eventually. (It's in syslog) | 10:35 |
magicaltrout | alright folks | 11:27 |
magicaltrout | kjackal or someone. Is there something I can prod from within an app to find out if my app is running within a charm? | 11:27 |
magicaltrout | scrap that found what i want | 11:32 |
kjackal | SuneK: yes these are systemd services. journalctl should get you the logs | 12:49 |
kjackal | magicaltrout: you can do a while true loop and try try to hear the fan :) | 12:51 |
magicaltrout | :P | 12:51 |
kjackal | lol | 12:52 |
SuneK | Where can I find the repos for the snaps used in the CDK? | 12:54 |
kjackal | SuneK: just a sec let me llok for them | 12:54 |
kjackal | SuneK: they are on the Global store, not sure what should I get you from there... | 12:57 |
kjackal | I see them when I get here: https://dashboard.snapcraft.io/snaps/ | 12:57 |
kjackal | but thats probably because i have proper permissions... | 12:58 |
SuneK | Yeah I found them there, but the developer website references an email. I would like to look into their definitions and eventually modify them | 12:58 |
kjackal | for example: https://dashboard.snapcraft.io/snaps/kube-scheduler/ | 12:58 |
SuneK | Hmm I get a 404 when I go there | 13:01 |
SuneK | Do I need special permissions? | 13:01 |
kjackal | Can you give us some more info on what you want to do? | 13:02 |
kjackal | Do you want to see the source? How these snaps are created? | 13:02 |
kjackal | I can point you to the github repos | 13:02 |
kjackal | SuneK: ^ | 13:02 |
SuneK | Exactly, I want to make the vsphere cloud provider setup easier in CDK. Github repos would be excellent | 13:03 |
kjackal | ok just a sec | 13:04 |
kjackal | SuneK: here is one: https://github.com/juju-solutions/cdk-addons | 13:06 |
kjackal | https://github.com/juju-solutions/release/tree/rye/snaps/snap | 13:07 |
SuneK | Thanks kjackal! | 13:07 |
kjackal | hi elmaciej! | 13:43 |
elmaciej | hi kjackal! | 13:44 |
kjackal | elmaciej: I am eu based so you can reach me your morning hours | 13:49 |
elmaciej | kjackal: Thanks a lot. I thought that maybe they will make decision today for this workshop but looks like it will take time | 13:51 |
magicaltrout | does greece count as europe? | 13:51 |
kjackal | lol eu for sure magicaltrout :p | 13:56 |
kjackal | jealous magicaltrout | 13:57 |
kjackal | ? | 13:57 |
magicaltrout | sob | 13:59 |
magicaltrout | i might move in | 13:59 |
magicaltrout | i'm very good a striking | 13:59 |
kjackal | You are always wellcomed but I though you were moving to LA | 13:59 |
magicaltrout | ha | 14:00 |
magicaltrout | trying to sell my house currently actually | 14:00 |
magicaltrout | the new potential buyer are fscking rubbish | 14:00 |
kjackal | you are in a bad shape if you have to do fscking | 14:01 |
magicaltrout | at least the UK can afford sufficient bandwidth to keep me online though kjackal | 14:13 |
utking | How can i re-deploy a failed envirnoment? | 14:14 |
rick_h | utking: what failed and you want to deploy a new model or do you mean to retry what failed? | 14:16 |
knobby | magicaltrout: keep the gloves above the waist! | 14:19 |
magicaltrout | hehe | 14:19 |
magicaltrout | kjackal gives as good as he gets | 14:19 |
knobby | this is true | 14:19 |
utking | I want to retry a model that failed :) | 14:20 |
utking | I'm deploying openstack, and it selected the wrong machine, so i have to do it again | 14:20 |
utking | with maas that is | 14:21 |
knobby | you could use --to in order to select the machine | 14:21 |
utking | well i kind of removed all the machines, so i just need to re-deploy the model | 14:22 |
utking | can i use --to in the gui? | 14:22 |
knobby | you can in a bundle I know, but I'm not sure about the ui | 14:22 |
utking | or do i have to that specifically on the one service (cinder) that i'm deploying? | 14:23 |
knobby | did you destroy the model or remove the applications? | 14:23 |
utking | hmm | 14:23 |
utking | no, none of it, it took some time to set up the model the way i wanted to | 14:23 |
knobby | when I deployed I altered my bundle to use --to | 14:23 |
utking | where do you do that? | 14:23 |
knobby | so you can just add-unit myapp --to machine | 14:23 |
knobby | `juju add-unit myapp --to machine` | 14:23 |
utking | ah ok :) sounds nice | 14:24 |
utking | even though that app is a part of a big model? | 14:24 |
knobby | you'd have to find the bundle you were deploying and download it and edit it. Then you juju deploy that filename instead of your original bundle. Using the gui though, I don't know how you would do that, but I imagine you can... | 14:25 |
knobby | yeah, you'd need to add all the units back that you need for the whole model | 14:25 |
utking | hmm, ok | 14:25 |
knobby | so if you have 2 kubernetes-worker and 1 kubernetes-master(I know you don't with openstack, but I don't know the app names for that), you would run add-unit twice for kubernetes-worker and once for kubernetes-master | 14:25 |
utking | ah ok, i'll guess i'll try that then | 14:26 |
utking | but is there no way of just re-deploying the model i have? | 14:26 |
kjackal | I do not know what juju magic you pulled out here magicaltrout but I managed to get quassel back on! | 14:26 |
utking | like release the machines, and do it once more | 14:26 |
knobby | I don't know of a way to do a deploy to a specific model, but it certainly sounds like something you could do...let me look at the docs | 14:27 |
utking | sure, that would be great! :) | 14:28 |
knobby | utking: looks like you can do a juju deploy -m model_name to deploy to a specific model | 14:28 |
utking | i tried that | 14:28 |
utking | i just get no charm or bundle specified | 14:29 |
knobby | --map-machines exists too in order to select what machines | 14:29 |
knobby | oh it would be something like `juju deploy -m my_model openstack`, but then you'd get random machines...I think you need --map-machines to do what you want | 14:29 |
utking | hmm, in where in that sentence? ^^ | 14:30 |
utking | guess i'll read the docs some more | 14:31 |
utking | pretty new to juju and maas | 14:31 |
knobby | so maybe `juju deploy -m my_model --map-machines 0=5,1=2,2=1,3=4 openstack-base` if you wanted machine 0 from the bundle to use your machine 5, which ends up with neutron-gateway, etc | 14:36 |
knobby | I found the machine numbers and what mapped to them here: https://api.jujucharms.com/charmstore/v5/openstack-base/archive/bundle.yaml | 14:36 |
elmaciej | Hi! I'm trying to relate rabbitmq and ceph-mon, when I do it it is failing as it's trying to insert rbd module which exist | 14:37 |
elmaciej | should I use specific charm for rabbit on ceph based openstack installation ? I'm doing pike | 14:38 |
elmaciej | ceph-relation-changed subprocess.CalledProcessError: Command '['modprobe', 'rbd']' returned non-zero exit status 1 | 14:38 |
knobby | sorry, utking, it would be --map-machines=existing,0=5,1=2,2=1,3=4 | 14:39 |
utking | oh wow! thanks knobby! I'll try that out, you've been an angel :) | 14:40 |
kjackal | elmaciej: that might be an isse with the cepf relation | 14:42 |
elmaciej | kjackal: it looks like, I'll try to deploy rabbit outside of the container, I have ceph-mon running without container too | 14:42 |
elmaciej | wondering if I need a relation between ceph and rabbit | 14:42 |
kjackal | elmaciej: there are some restrictions when trying to modprobe inside a container | 14:44 |
kjackal | the problem is that the kernel is owned by the host operating system and it might not allow for module loading | 14:44 |
elmaciej | well it should check if the module is not loaded as it is already loaded | 14:45 |
kjackal | fair point, if you open an issue on the charm code the devs will eventualy get to it | 14:49 |
kjackal | you could also submit a PR | 14:49 |
kjackal | or even "fork" the charm under your namespace | 14:49 |
elmaciej | well I usually pull the charm and rebuild if it's quick fix :) | 14:50 |
kjackal | you do charm pull or do you clone the charm layer and then do a charm build? | 14:50 |
elmaciej | charm pull, then fix, then charm build and install local charm | 14:51 |
kjackal | which charm are you using? | 14:52 |
elmaciej | kjackal: I found proper way, none of them can be put in container and then looks good. testing now and let now if any issue appear. Thanks! | 15:24 |
=== test is now known as Guest63412 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!