[00:03] hi veebers, I just saw u mentioned that in standup. I was looking at deploying percona-cluster on caas [00:06] veebers, the problem was `leader-elected` hook failed due to `network-get` could not find relation primary address(it's empty `{MACAddress: InterfaceName: Addresses:[]}`) [00:06] kelvinliu: ah right, thanks. I could have sworn it was a relations thing but wasn't too sure ^_^ [00:11] veebers, Is the issue on IAAS ? [00:16] kelvinliu: aye, it's charm related. Not sure of the impact for caas. [00:16] ah, did ur deployment failed at the same hook? [00:18] https://pastebin.ubuntu.com/p/7JXwP44Ry4/ [00:18] Is the error u got, veebers ? [00:20] kelvinliu: no, the percona-cluster error was in deb-relation-changed [00:20] it deployed fine, was when I attempted to relate it to a mediawiki app that it fails [00:21] ic [00:22] the problem might be different. [00:23] I believe it is === Makyo is now known as Guest71270 [08:28] hi guys [08:28] is it ok to ask for help on deploying with juju here? [08:29] valenitn: sure thing [08:30] great, thanks [08:30] I'm trying to deploy a xenial charm on azure with storage [08:31] valenitn: cool, you've peeked at https://jujucharms.com/docs/2.3/charms-storage ? [08:31] this worked fine a few weeks ago, but now I get the agent blocked in "allocating" and storage in "pending" [08:32] valenitn: hmm, so have to see in the debug log what's up [08:32] yep, that's where I got the command from [08:32] there's nothing relevant in the juju logs for the unit or the machine [08:32] valenitn: it might be in the controller logs as it sets up the storage to be used [08:33] valenitn: the unit itself doesn't make the calls out to the storage provider [08:33] I think the storage works because I see the disks on the machine with lsblk [08:33] but they are not mounted [08:34] valenitn: hmm, can you `juju switch controller` and check the logs on the controller machine? [08:35] if there's nothing in the unit/machine log there it's the only other place I can think to look for any error/issue feedback [08:38] there is this in the logs, but I remember seeing it even when it was working: [08:38] machine-0: 08:09:36 WARNING juju.cmd.jujud determining kvm support: INFO: Your CPU does not support KVM extensions KVM acceleration can NOT be used : exit status 1 no kvm containers possible [08:39] valenitn: yea, but that's nothing to do with storage. That just means you can't create kvm containers on that platform [08:39] on the machine syslog I see May 4 08:15:38 machine-1 HV_FCOPY: open /dev/vmbus/hv_fcopy failed; error: 2 No such file or directory [08:41] hmm, that looks better more interesting. There's some instances of that out there. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1614618 [08:41] Bug #1614618: hv-fcopy-daemon.service system failed start [08:42] valenitn: might have to file a bug. [08:43] valenitn: does it work intermittently? I see some links around bits of this stuff being racy [08:44] it failed consistently in the last days [08:44] I thought something on azure changed [08:45] maybe the ami for ubuntu? [08:45] valenitn: yea, maybe something with a new kernel or maybe something Juju needs to be doing automatically that Azure changed. I'm not sure. [08:45] valenitn: if you can file a bug with the charm/instructions for what you're trying we can chase it down [08:46] ok, will try to look a little more and file a bug [08:46] thanks for help [08:47] valenitn: yea sorry I don't have a quick fix for you [08:49] np [09:32] rick_h_: do you know a good, recent interface example. I'm not really getting it how I can properly send information from one charm to another through a self-written custom interface :/ it's to_publish right? [09:34] https://jujucharms.com/docs/2.3/developer-layers-interfaces <-- does relations.unit in this tutorial represent all connected charms? [11:15] hi guys, I have installed nova-compute on our compute nodes, Now I am thinking to install the percona clulster on another three nodes supposed to act as controllers. What does the "deploy --to lxd:0" mean here? I have skipped the neutron deployment as I want to do it later with cisco ACI. === salmankhan1 is now known as salmankhan [12:06] srihas: "deploy --to lxd:0" means it will deploy into a new lxd container which will be created on machine 0 [12:06] srihas: https://jujucharms.com/docs/2.3/charms-deploying-advanced#deploying-to-specific-machines [12:26] aha [12:27] roadmr: what if the machine is not yet in the list of machines on juju ? then I go the way I do --constraints tags=db --to lxd ? [12:29] but then I cannot specify :0 or 1 or something, right? [12:30] "To deploy to specific, pre-existing machines the --to option is used. When this is done, unless the machine was created via add-machine, a charm has already been deployed to the machine." [12:46] srihas: AFAIk there's always a machine 0, but you may be able to specify any existing machine [12:46] srihas: it sounds like you're following a document, that should tell you the machines that are available [12:59] roadmr: I want to install percona on a new fresh machine thats not yet in the list of machines in juju [12:59] juju machines doesn't show a machine with id 0 for me :o [14:31] srihas: Are you following along https://docs.openstack.org/charm-deployment-guide/latest/install-openstack.html#deploy-openstack? [14:34] zeestrat: yeah [14:34] I am on it [14:34] but its sometimes confusing me [14:35] like now the swift-server.config has the bind_ip = 0.0.0.0 instead of specific IP [14:35] :7 [14:37] srihas: Gotcha. I'd recommend maybe looking at using bundles which is mentioned in the next step https://docs.openstack.org/charm-deployment-guide/latest/install-openstack-bundle. It will make it easier to define things and map applications to machines in a predictable way [14:38] zeestrat: thats a good point. I will study it though I can't deploy directly [14:39] Also if you find some doc bugs you can file them here https://launchpad.net/charm-deployment-guide [14:39] zeestrat: is there a way to add all the "ready" nodes to juju [14:39] like I get them when I do the juju machines [14:40] without any charms (atleast OpenStack related) deployed [14:42] Just so I understand, is there a reason you can't deploy bundles directly? [14:43] zeestrat: yeah, we will be using cisco ACI for neutron and ScaleIO for storage. so no ceph and neutron [14:45] srihas: Right. But you're using openstack charms with juju for the other components such as Nova compute? You can just remove them from the bundle [14:47] zeestrat: aha [14:47] zeestrat: I will look around it, thank you for the suggestions [14:47] will get back to you [14:48] zeestrat: how can we add custom charms, for example if we use ScaleIO ? [14:50] 16:39 < srihas> zeestrat: is there a way to add all the "ready" nodes to juju [14:50] 16:39 < srihas> like I get them when I do the juju machines [14:50] I think this is needed, I am missing some thing crucial here [14:55] srihas: I'm actually not sure. I only use bundles which define which machines I want from MAAS. I'm thinking out loud now, but you can check if you can do a `juju add-machine` which should deploy a machine, then if you do something like `juju deploy nova-compute --to ` where is the one you get after the add-machine. [14:56] srihas: But I really think you should look at using bundles where you can define constraints which allows you to select which machines you want to deploy on from MAAS. [14:56] aha [14:57] srihas: Regarding ScaleIO, are you planing to use the charms from https://jujucharms.com/u/cloudscaling/ or write your own ScaleIO charms? I haven't used them so don't know the state of them. [14:57] zeestrat: the ones from juju, they are old? [14:58] https://github.com/thecodeteam/juju-scaleio -> I looked at them before [14:59] Looks like last activity was in Jan 2017 so I'm not sure of the state. [15:00] zeestrat: ok [15:01] zeestrat: is there a guide to write "hello-world" juju charm ? (please bare with me) [15:02] srihas: https://jujucharms.com/docs/stable/developer-getting-started [15:02] zeestrat: thank you [15:05] srihas: No problem. The bundle docs page talks a bit more about constraints and how to place things on different machines. https://jujucharms.com/docs/2.3/charms-bundles If you tag machines in MAAS you can target those using the `tags` constraint which is one of the constraints available: https://jujucharms.com/docs/2.3/reference-constraints [15:06] srihas: I can whip up a short example, but you'll have to remind me next week [15:06] zeestrat: sure, I will get back to you :) [20:28] HELP: Hi Team, is it possible declare a Cross Model Relations into a bundle files ?