stormmore | actually looks like a CA issue :-/ | 01:04 |
---|---|---|
hardys | any one can help -> Problem with juju bootstrap | 02:22 |
hardys | the command.log is under https://github.com/Ubuntu-Solutions-Engineering/openstack-installer/issues/1042 , and the first lds server is in deployed state under maas... | 02:28 |
ybaumy | is there a way to logon to a failed commission machine in maas | 06:43 |
ybaumy | i need to debug | 06:44 |
ybaumy | i tried ubuntu/ubuntu | 06:44 |
=== frankban|afk is now known as frankban | ||
kjackal | Good morning Juju world! | 08:08 |
Zic | hi here :) | 09:10 |
Zic | lazyPwr: just discovered a bug after 1.5.2 -> 1.5.3 upgrade: | 09:10 |
Zic | root@mth-k8smaster-01:~# kubectl exec -it nginx-ingress-controller-0lxzg /bin/bash | 09:10 |
Zic | Error from server: error dialing backend: x509: certificate signed by unknown authority | 09:10 |
Zic | it just affect the "kubectl exec" subcommand | 09:10 |
Zic | all other kubectl subbcommands works with no certificate error | 09:10 |
Zic | any clues? | 09:10 |
kjackal | Hi Zic, thank you for reporting this | 09:11 |
Zic | another one: "kubectl logs" is also affected | 09:11 |
Zic | as I regularly do other subcommand, I think only exec & logs are affected | 09:12 |
kjackal | would you be able to open an issue so we can track this down? | 09:13 |
kjackal | Zic: https://github.com/kubernetes/kubernetes/issues | 09:13 |
Zic | yep | 09:13 |
kjackal | Zic many thanks | 09:14 |
Zic | for information, the kubectl logs error is a bit more explicit: Error from server: Get https://mth-k8s-02:10250/containerLogs/development/phpbackend-w0bnv/phpbackend: x509: certificate signed by unknown authority | 09:16 |
Zic | so I just curl'ed this | 09:16 |
Zic | (openssl s_client -connect mth-k8s-02:10250 actually) | 09:17 |
Zic | http://paste.ubuntu.com/24187612/ | 09:18 |
kjackal | And this is after upgrading from 1.5.2 to 1.5.3, right? I will try to repro today | 09:20 |
Zic | and it fact, certs was updated if I observe their date: | 09:20 |
Zic | http://paste.ubuntu.com/24187616/ | 09:20 |
Zic | kjackal: yep, all charms of the CDK bundle to latest version | 09:20 |
Zic | including EasyRSA | 09:20 |
kjackal | Do you have the issue URL? | 09:20 |
Zic | I'm writing it, just a moment :) | 09:20 |
kjackal | Thanks | 09:21 |
Zic | was collecting some more logs to add to it ^^ | 09:21 |
Zic | hmm, s/just a moment/I will ping you with the issue's URL/ (because morning do disaster: "GitHub: There have been several failed attempts to sign in from this account or IP address.") | 09:24 |
Zic | it seems that I don't know to type my GitHub's password without a coffee | 09:24 |
Zic | "Please wait a while and try again later." | 09:25 |
kjackal | :) | 09:25 |
Zic | just got access to my GitHub's account :D I'm preparing the issue :) | 09:41 |
=== frankban is now known as frankban|afk | ||
Zic | kjackal: https://github.com/kubernetes/kubernetes/issues/43209 | 10:01 |
kjackal | Awesome, thank you Zic | 10:02 |
Zic | don't know if I need to tag something because it's about CDK | 10:03 |
Zic | (I precised it in the title and "Install tools") | 10:03 |
kjackal | ok, Zic | 10:05 |
=== frankban|afk is now known as frankban | ||
cnf | morning | 10:37 |
cnf | if you add a maas to juju, does juju use your credentials to do things for all users? or does every user needs their own maad credentials? | 10:38 |
BlackDex | Hello there. I'm using maas togher with juju (or the other way arround ;) ). Now i wonder if i want to use the latest LXD version 2.11 instead of 2.8, is that possible with juju? | 11:09 |
BlackDex | cnf: Depends, if you share your juju credentials, then yes. | 11:09 |
kjackal | cnf: looking here https://jujucharms.com/docs/2.1/clouds-maas each user should/could have its own maas certs that need to be passed to juju | 11:09 |
cnf | kjackal: could, or has to? | 11:10 |
cnf | kjackal: so a user needs some maas credentials to use the juju command to provision against maas? | 11:10 |
BlackDex | cnf: Yes | 11:10 |
BlackDex | without credentials juju can't connect and control maas | 11:11 |
cnf | BlackDex: after bootstrapping | 11:11 |
cnf | kjackal: so that means anyone using juju, at any time, needs credentials for the controller, AND the cloud juju is running on? | 11:14 |
kjackal | cnf: correct | 11:15 |
cnf | hmm... | 11:15 |
cnf | that's a lot of account-making | 11:16 |
kjackal | cnf: the benefit is that changing cloud (eg moving from maas to aws and back) is transparent | 11:18 |
cnf | how so? | 11:18 |
cnf | hmm | 11:20 |
cnf | kjackal: so how does the juju webui work? | 11:20 |
cnf | that caches credentials, doesn't it? | 11:20 |
kjackal | I have credentials for aws, openstack, local deployment with lxd and google's GCE. I imported the credentials once and I can switch between clouds with juju switch, everyhing else stays the same (juju deploy kubernetes everywhere) | 11:20 |
cnf | kjackal: but those are juju credentials | 11:21 |
cnf | kjackal: so if i make a juju controller on AWS, and i make a user on that controller for you | 11:21 |
cnf | do you then need AWS credentials to use that controller? | 11:21 |
kjackal | cnf: have a look here: https://jujucharms.com/docs/2.1/tut-users | 11:26 |
kjackal | cnf: here is a better explanation on the users in juju https://jujucharms.com/docs/2.1/users | 11:29 |
cnf | yeah, been reading that | 12:09 |
cnf | it's not entirely clear to me, still | 12:09 |
cnf | kjackal: https://jujucharms.com/docs/2.1/tut-users seems to imply juju caches the cloud credentials used during bootstrap, and uses that for all juju users | 12:12 |
anrah_ | Can I introduce new relation on existing charm? | 12:45 |
anrah_ | Meaning that I'm running some version of the charm and now implemented new relation and when I upgrade the charm it seems like the charm does not recognize that it has should have relation | 12:46 |
kjackal | cnf: seems so! | 12:52 |
kjackal | anrah_: You cannot do a add-relation? | 12:54 |
anrah_ | No, it says No relations found | 12:55 |
cnf | ok, i think i have stuff sorted, now | 13:02 |
cnf | made a special juju user for maas | 13:02 |
cnf | now to figure out how to get a _working_ openstack deployed with juju | 13:02 |
kjackal | anrah_: can you double check that you have updated both the metadata.yaml and the layer.yaml with the interfaces of the relation? | 13:02 |
anrah_ | yes, when I deploy from scratch the relation is available | 13:03 |
anrah_ | But when upgrading the charm the new relation is not available | 13:03 |
kjackal | I see so it only through the update that the relation is not available | 13:03 |
anrah_ | Yes | 13:04 |
kjackal | can you please open a bug or send an email to the list so that you raise awareness? | 13:04 |
anrah_ | Sure! | 13:05 |
erik_lonroth | Hello, I'm looking for a good example charm for interfacing against "postgresql" (interface:pgsql). I'm about to create my first charm with juju and have read up alot but still find it a bit daunting to create and use juju with my application. | 13:08 |
erik_lonroth | Any help apprechiaed | 13:09 |
kjackal | hi erik_lonroth here is the list of charms using the pgsql relation https://jujucharms.com/requires/pgsql . The postgresql client seems a good place to start: https://jujucharms.com/u/postgresql-charmers/postgresql-client/3 | 13:15 |
erik_lonroth | kjackal: Thanx! | 13:28 |
kjackal | Hey rick_h where was this zeppelin based dashboard you have? I want to steal some metrics from there:) | 13:30 |
=== petevg_afk is now known as petevg | ||
kklimonda | how can I get IP addresses of all application units? any code I could look at | 13:52 |
kklimonda | hmm, probably relation_ids with correct relation | 13:54 |
kjackal | kklimonda: https://github.com/juju-solutions/interface-zookeeper-quorum/blob/master/peers.py#L41 | 13:59 |
kklimonda | thanks | 13:59 |
disposable2 | cnf: i don't know whose balls you had to scratch to get this much help from this channel but bravo | 14:33 |
cnf | disposable2: just persistence, i guess :P | 14:37 |
erlon | guys does anyone knows how do I connect to a mysql server that juju installed as admin user? | 14:54 |
erlon | I do can log using the credentials of the services (like cinder nova), but I need elevated permissions | 14:55 |
BlackDex | does juju support lxd 2.10/2.11? So can i use the lxd ppa? (ppa:ubuntu-lxc/lxd-stable) | 14:56 |
BlackDex | i see that conjure-up now supports it, but does that implicate that juju supports it? | 14:56 |
rick_h | BlackDex: yes, conjure-up uses juju so it supports it. | 15:00 |
BlackDex | oke nice | 15:01 |
cnf | hmm, how does machine affinity work in bundle .yml files? | 15:03 |
cnf | i see things like to: lxd/1, but lxd on what machine? | 15:04 |
BlackDex | cnf: in a bundle file that would be lxd:1 then | 15:04 |
BlackDex | which means lxd container on machine 1 | 15:04 |
cnf | ah, ok | 15:04 |
BlackDex | to define specific machines i suggest to create tags in maas | 15:04 |
BlackDex | like machine1, machine2 etc... | 15:05 |
cnf | can i also use space affinity do do that? | 15:05 |
BlackDex | and add those as constraints | 15:05 |
BlackDex | yea you can do that also. If you only want specific network space affinity | 15:05 |
andrew-ii | I have a small test setup, and each machine is pretty specialized, and I actually use the machine name in the tags | 15:07 |
cnf | andrew-ii: how do you define that in the yml file? | 15:07 |
andrew-ii | In a bundle, I think you can put the `tags=myMachineTag` in the constraints clause | 15:08 |
cnf | the file i have doesn't have constraints | 15:08 |
cnf | i'll have to look up how to do that | 15:08 |
cnf | (or to apply a bundle.yml file, for that matter) | 15:08 |
andrew-ii | machines: '0': series: xenial constraints: "tags=myMachineTag" | 15:09 |
cnf | jamespage gave me an example over at #openstack-charms i'm adopting for my needs | 15:09 |
andrew-ii | I think it's like that | 15:09 |
cnf | ah, hmm | 15:09 |
cnf | interesting | 15:09 |
cnf | hmm, so i could make tags like "controller" and "computer" and "storage" | 15:10 |
cnf | hmm | 15:10 |
andrew-ii | I think so. I did that. Then realized that my machines are a bit junk and have to manually deploy specifically for the test | 15:10 |
cnf | :P | 15:10 |
cnf | the lightest machine is a 16 core, 24G ram gen7 HP with 500G storage | 15:11 |
cnf | so i'll be fine, i think | 15:11 |
andrew-ii | nice | 15:11 |
cnf | got 2 32 core, 96G ram machines, and a 64 core 192 G ram machine as well, for compute | 15:11 |
andrew-ii | That'll do | 15:12 |
cnf | and 3 ceph nodes with a ton of disks coming in | 15:12 |
cnf | i want to put the network gateway, and dbase and dashboard on the lightest machine | 15:12 |
andrew-ii | I'm currently just trying to figure out how to deploy the components without them getting hung. I keep getting incomplete relations, though I also have a mess of VLANs and spaces likely messing it up | 15:14 |
cnf | yeah... | 15:14 |
cnf | it's a bit of a learning curve | 15:14 |
cnf | thankfully, $currentclient is willing to pay my hours for it :P | 15:15 |
cnf | so i can set to: lxd right? without specifying a machine after it? or does it need a machine right there? | 15:21 |
andrew-ii | I think you specify the machine | 15:21 |
andrew-ii | But the machine may be anonymous (unless your constraints limit it to one) | 15:22 |
cnf | hmm, you can use to: to units as well | 15:22 |
cnf | it seems | 15:22 |
cnf | to: lxd:neutron-gateway/0 | 15:23 |
andrew-ii | I think that is pretty great, if only for planning. It makes it much clearer what machine is getting what grouped with it | 15:24 |
cnf | but form what i can see no "put it in an lxd container on a machine matching these constraints" | 15:24 |
cnf | yeah | 15:24 |
andrew-ii | The constraint matching happens in the machines: clause | 15:24 |
andrew-ii | From then on the machine numbers are consistent | 15:25 |
cnf | you can match constraints on application level as well | 15:25 |
cnf | https://jujucharms.com/docs/stable/charms-bundles | 15:25 |
andrew-ii | I forgot about that, but I'm not sure "tags=maasTag" works for applications (though I need to try it to be sure) | 15:26 |
BlackDex | cnf: You can use the constraints for lxd placements | 15:36 |
BlackDex | if you use a constraint it will ask maas for a machine with that constraint | 15:36 |
cnf | BlackDex: ok, so how do i tell it to put it in LXD, and add constraints? | 15:37 |
cnf | from what i can see, the to:lxd expects something behind lxd | 15:37 |
cnf | either a machine, or a unit | 15:37 |
BlackDex | a machine in the case of juju | 15:38 |
cnf | uhm | 15:38 |
cnf | i don't follow | 15:38 |
BlackDex | you define machines by number, and allocate them using constraints. After that you can use lxd:<machine-number> to place that specific application on that machine on an lxd | 15:39 |
cnf | yes, i know | 15:39 |
cnf | that's not what i was asking, though :P | 15:39 |
BlackDex | ow :p | 15:39 |
cnf | i want to know if i can put it in an lxd container. and NOT define a machine, but have a constraint instead | 15:39 |
jam | cnf: we don't do scheduling to lxd containers. I believe if you use just "lxd:" we'll let you, but we'll allocate a new top level machine and then put it into a container on that machine. | 15:40 |
cnf | jam: right | 15:41 |
cnf | jam: that's too bad, but i can work with it | 15:41 |
=== hml_ is now known as hml | ||
narinder | mwenning, yes | 16:06 |
stormmore | so lazyPwr, looks like the issue with logs might be something cert related. once I downloaded the newer 1.5.3 client I got: "Error from server: Get https://ip-172-31-12-41:10250/containerLogs/default/default-http-backend-9wcl3/default-http-backend: x509: certificate signed by unknown authority" | 16:10 |
=== hml_ is now known as hml | ||
=== hml_ is now known as hml | ||
Zic | lazyPwr: around? | 16:43 |
stormmore | he has been unresponsive so far Zic | 16:47 |
Zic | not important, thanks :) | 16:47 |
=== hml_ is now known as hml | ||
ybaumy | can tags be seperated by comma? | 17:20 |
catbus1 | ybaumy: is this what you are looking for: https://docs.ubuntu.com/maas/2.1/en/manage-cli-tags | 17:26 |
tvansteenburgh | stormmore: Zic: lazyPwr is out sick today | 17:27 |
=== frankban is now known as frankban|afk | ||
Budgie^Smore | ugh! somehow I am not surprised tvansteenburgh with how his schedule has been lately | 17:30 |
ybaumy | catbus1: thanks yes thats what i was looking for. and i remember that i even saw this page before. but couldnt recall it | 17:31 |
otis | Hi. I'm looking for information about Juju adoption. Are there any data, any charts, or anything else one could see/use? | 17:43 |
=== rogpeppe1 is now known as rogpeppe | ||
ybaumy | otis you mean like a powerpoint presentation? | 17:59 |
ybaumy | or documentation? | 17:59 |
otis | ybaumy - anything that shows any numbers and, ideally, trends | 18:05 |
otis | I'm asking because I've recently been asking people about Juju and most of them have either not heard of it or are not using it. | 18:05 |
otis | And I've been aware of Juju for *years*. So now I'm wondering if Juju is stagnant or growing or .... | 18:06 |
ybaumy | hmm better ask the devs then. maybe they have something. would be interessting for me too though. if i can show management something. they think ubuntu is a kiddies OS | 18:10 |
ybaumy | and juju too | 18:10 |
ybaumy | alone the name they laughed about | 18:10 |
Budgie^Smore | I am surprised that I don't see it on job descriptions for sure | 18:11 |
ybaumy | in the last 12 month or so. when i was getting job offers left and right. i only encountered ubuntu in a job offer once | 18:12 |
ybaumy | im from germnay | 18:12 |
ybaumy | germany | 18:12 |
ybaumy | maybe in the US its more popular | 18:12 |
otis | Ubuntu is popular. But Juju != Ubuntu :) | 18:14 |
otis | Juju is NOT popular from what I can tell. | 18:14 |
ybaumy | true but ubuntu is pushing it | 18:14 |
ybaumy | ive never seen it yet on the redhat or suse sites | 18:14 |
ybaumy | maybe they adopted it too | 18:15 |
ybaumy | in germany everythings suse pretty much. a little redhat | 18:16 |
Budgie^Smore | in my experience there is a lot of use of Ubuntu or Ubuntu based distros in the US but not juju by any stretch | 18:27 |
otis | Sounds like there is nobody from Ubuntu here with numbers :( | 18:28 |
BlackDex | i use juju a lot | 19:36 |
BlackDex | to deploy OpenStack mainly | 19:36 |
BlackDex | But also CEPH Clusters | 19:36 |
BlackDex | But, i'm a ubuntu (debian) fanboy ;) | 19:37 |
roadmr | hello jujuers. Has anybody seen insert juju.system.indexes keyUpdates:0 exception: BSONObj size: 61366220 (0xCC5FA803) is invalid. Size must be between 0 and 16793600(16MB) First element: : ?type=92 code:10334 locks(micros) w:10805 5ms from juju's mongodb? | 19:39 |
ybaumy | the gui is deployed to the controller right? how do i access the gui? | 20:11 |
ybaumy | if i try to connect to one of the ips in the show-controller output nothing is thre | 20:12 |
ybaumy | there | 20:12 |
tvansteenburgh | ybaumy: `juju gui` | 20:14 |
ybaumy | ahh | 20:14 |
ybaumy | nice | 20:14 |
ybaumy | i seee | 20:15 |
ybaumy | this is cool | 20:15 |
bdx | I'm experiencing some very odd behavior it seems when I deploy an application multiple times in a model, almost like I'm not getting the latest version of the charm on subsequent deploys .... I don't seem to get an actual current revision that I deploy until I modify the application name | 21:01 |
bdx | geh ... that was tattered | 21:01 |
bdx | basically, my deploys seem to be deploying an older an older rev of the charm, even though I am specifying the latest rev when redeploying | 21:02 |
bdx | butchered again | 21:02 |
bdx | moreover, my lxd local deploys are acting strangely different then my lxd deploys on aws | 21:04 |
bdx | here is a lxd local deploy http://paste.ubuntu.com/24191166/ | 21:05 |
bdx | and here is a deploy of the same charms, but to an instance on aws http://paste.ubuntu.com/24191170/ | 21:05 |
bdx | this has been working consistently for me across both providers up until today | 21:06 |
ybaumy | in the gui is it possible to add constraints like tags for maas? | 21:06 |
andrew-ii | When juju's provisioner complains about there being no obvious space for a container (like a maas space), is there a way I can configure that in the bundle or gui? | 22:40 |
andrew-ii | My controller is on 2.1.1, if that helps (or makes things worse...) | 22:40 |
andrew-ii | Or perhaps a better question: does `juju gui` version 2.4.3 allow space configuration constraints? | 22:45 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!