/srv/irclogs.ubuntu.com/2020/04/28/#juju.txt

=== xnox|sessions is now known as xnox
flxfoohi all08:14
flxfoosorry to bother again for a quick one.08:14
flxfoorax asked me to try changing the flavor (trying to bootstrap a new controller)08:14
flxfoolist of "flavors" name contains spaces character08:15
flxfooso if I use `instance-type=4GB Standard Instance` that does not work... as juju client will consider `Standard` and `Instance` as parameters... Of course I tried to escape space character but with mo luck08:16
flxfoodoes anyone has some ideas for that?08:16
achilleasaflxfoo: AFAICT from looking at the constraints parsing code, we currently split the constraint list on space so this (or any other key-value constraint combination with spaces for that matter) will not work.08:32
achilleasaflxfoo: Can you create a bug for this?08:33
flxfooachilleasa: ok, where do I do that?08:36
achilleasaflxfoo: you can create a new one here: https://bugs.launchpad.net/juju/+filebug08:37
flxfoook I created a bug08:46
flxfoois there anything I can do meanwhile?08:46
achilleasaflxfoo: are the instance types aliased or something that you can rename? Btw, what provider are you using?08:51
flxfooachilleasa: provider is rackspace08:55
achilleasaflxfoo: if it's a blocker and you don't mind compiling juju I can push a branch with a quick patch which will allow you to use something like '\ ' to escape spaces till we fix the bug08:55
flxfooachilleasa: it looks like juju by default uses flavorId = 5, is there a parameter to pass to juju to update that?08:56
flxfooachilleasa: the blocking situation is that, rax deleted an image which the current ctrl would use to create containers, so the platform is pretty unmanageable. On top of that, the current ctrl has been bootstraped using a custom simplestream  because the image list provided by rackspace is empty.08:58
flxfooachilleasa: so I though to bootstrap a new ctrl with a new image id (that rax provided me) in order to migrate the model, so at least I can do something.08:59
achilleasaflxfoo: if you pass "general1-4" as the instance type does it work?09:01
achilleasaflxfoo: oh wait, according to https://developer.rackspace.com/docs/cloud-servers/v2/general-api-info/flavors/ ID 5 corresponds to the one you are trying to use (4gb standard instance)?09:03
flxfooachilleasa: tried it nope, it returns the list of available flavors which the ones with spaces09:03
flxfooachilleasa: yeah (my bad) I should have tried another one, but the issue remains with the spaces...09:03
flxfooachilleasa: this is rax support answer: It looks like the issue with the command is that you're attempting to create a boot from volume Standard flavor server. Standard flavor servers don't have the ability to use a CBS volume as the system disk. You'll either want to try the command without the flags for BlockDeviceMappings or choose a different server flavor such as General Purpose:09:04
achilleasaI see. As mentioned, I can push a branch with a patch to get you unblocked until the bug is fixed09:07
flxfooachilleasa: thanks09:09
flxfooachilleasa: just a silly question, I suppose I can not create an instance on rackspace and tell juju to use it to setup the controller?09:11
achilleasaflxfoo: you probably can if you set it up as a manual cloud (https://juju.is/docs/manual-cloud). Don't have access to rackspace so I can't verify this though...09:13
flxfooachilleasa: thanks for your time09:14
achilleasaflxfoo: if you checkout (https://github.com/achilleasa/juju/tree/2.7-support-escaped-spaces-in-constraints) in $GOPATH/juju/juju and run 'make install' you will have a juju cli that supports constraints with slash-escaped spaces09:36
achilleasaflxfoo: FYI, there is another related bug for zones with spaces and the fix for that (currently in review) will also take care of the issue you are having without the need to manually escape spaces09:51
thumperhttps://github.com/juju/juju/pull/11506 fix for intermittent test failure09:59
stickupkid_thumper, I'll check that one10:00
stickupkid_thumper, any QA steps, other than hammer the test with -race?10:00
stickupkid_manadart, https://github.com/juju/juju/pull/11412#issuecomment-62052523510:36
thumperstickupkid_: nah10:41
thumperstickupkid_: it took 10 - 20 minutes to replicate on my machine10:41
stickupkid_thumper, I tried whilst waiting for aws to bootstrap and couldn't replicate10:41
thumperyeah, that's cause I fixed it :)10:41
stickupkid_before hand10:42
stickupkid_haha10:42
thumperah... yeah, it took me a long time10:42
=== arif-ali_ is now known as arif-ali
stickupkid_anybody tried rebuilding dependencies for 2.7 branch11:32
stickupkid_juju ssh 0 -m controller <- why does that not work and this does -> juju ssh -m controller 011:59
stickupkid_we totally we should have done juju ssh 0 -m controller -- bash12:00
timClicksare storage pools model-level entities or cloud-level ones? if I run create-storage-pool in model a, will it be available from other models?13:08
hmltimClicks: they seem to be model-level from my experience14:05
hmlstickupkid: ran qa on 11412 with new code - success, though what is “ERROR no available address(es)” from at the end?14:22
stickupkidhml, yeah, that's fine it's trying to get the engine reports14:22
stickupkidhml, it's optional at best14:22
hmlstickupkid: rgr14:23
hmludpate my results in the pr14:23
jamaxino, looking at your charm code, I don't see install or start being handled, just config-changed/leader-elected/upgrade-charm15:54
axinojam: yeah but the "hooks" directory has a "start" symlink to charm.py15:54
jamaxino, gotcha. I would also create an install symlink. You can have both and that should handle 2.7.3 and 2.815:55
axinojam: indeed, indeed. This is what the official operator doc says currently15:55
axinoI think I'll just resolve this bug15:55
axinodone15:57
axinosorry for the noise o/15:57
jamaxino, np. I think it is very good to understand changes between releases16:04

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!