File size: 74,033 Bytes
4aa5fce |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 |
[00:01] <jcw4> davecheney: I just understood your comment... derp :) I was thinking about ParseActionTag being a way to extract unit and/or service name from the action name [00:01] <jcw4> I think for now tag, ok:= tag.(ActionTag); ok {} should work [00:17] <davecheney> jcw4: and that is only needed if [00:17] <davecheney> a. you want to ensure the string you passed to ParseTag was actually an action tag [00:17] <davecheney> b. you care about any specific fields on ActionTag, rather than just the Tag interface [01:05] <menn0> Phew! Review please: https://github.com/juju/juju/pull/109 [01:05] <waigani> thumper, menn0: State.User.DateCreated() and State.User.LastConnection() were returning timestamps in local rather than UTC timezones. I've added .UTC() to ensure UTC timezones: https://github.com/juju/juju/pull/91 [01:07] <waigani> menn0: i.e. timezone bug solved! [01:07] <menn0> waigani: is it worth figuring out why local timestamps were being returned and fixing that? According to the doc string for DateCreated() we expect a UTC timestamp to come out. [01:07] <menn0> and thumper expected that too [01:08] <waigani> menn0: timezone bug not solved! [01:11] <waigani> menn0: It's set to UTC on AddUser and also on UpdateLastConnection. You said the user docs were the same. So it must be converted to local time on read. [01:12] <menn0> waigani: yes it is converted to local time on read - that's the problem. That means our expectations aren't correct (see the doc string for DateCreated) [01:13] <menn0> waigani: it could be that mgo is doing the conversion, or mongo itself [01:13] <thumper> I'd suggest updating the user methods to do a UTC [01:13] <thumper> should be a no-op if already in UTC [01:14] <thumper> however, that doesn't explain the factory tests passing [01:14] <thumper> why is that different? [01:19] <menn0> thumper: I just figured that out. They're not running! [01:19] <thumper> wah...? [01:19] <menn0> missing this: var _ = gc.Suite(&factorySuite{}) [01:19] <thumper> oh ffs [01:19] <menn0> I've added that and they fail [01:19] <thumper> :-( [01:19] <thumper> but \o/ [01:19] <thumper> that explains it [01:20] <thumper> menn0: did you want to propose a branch that just fixes that? [01:20] <thumper> if you don't [01:20] <thumper> I will [01:20] <menn0> thumper: will do. I literally just discovered this. [01:21] <waigani> ah [01:21] <menn0> so what do we want to do about the failures [01:21] <menn0> thumper: ? [01:21] <thumper> menn0: how about I fix it? [01:21] <menn0> the tear down fails too: Error: Test left sockets in a dirty state [01:21] <thumper> I know what I want to do [01:22] * thumper takes it [01:22] <menn0> thumper: no problems [01:22] <menn0> thumper: are you going to get mgo/mongo to give us UTC timestamps back too? [01:23] <thumper> menn0: I'll make the tests pass :-) [01:23] <waigani> thumper: I've added .UTC() to user methods [01:23] <menn0> thumper: I guess that will do [01:23] <thumper> waigani: yeah, saw that, I may do that in my branch to make sure it works [01:23] <thumper> ack [01:24] <waigani> thumper: so should I land my branch now or wait for yours? [01:24] <thumper> wait please [01:24] <thumper> won't be long [01:24] <waigani> ok [01:34] <thumper> wow the tests take a while to run now... [01:36] <thumper> FAIL github.com/juju/juju/replicaset 455.322s [01:43] <thumper> ok git folks, I've accidentally committed to the local master [01:43] <thumper> how to I get my master back following upstream master? [01:46] <thumper> menn0, waigani: https://github.com/juju/juju/pull/110 [01:47] <thumper> axw: ta [01:47] <axw> nps [01:51] <axw> thumper: if you accidentally committed to master, you can "git reset HEAD^". you probably want to stash the working tree first [01:52] <thumper> axw: I already branched from it and pushed, hence pull 110 [01:52] <thumper> nope, already done [01:52] <thumper> what I want is uncommit [01:52] <waigani> git reset --hard HEAD^ [01:52] <axw> thumper: yes, that is equivalent to uncommit [01:52] <thumper> HEAD^ whazzat? [01:53] <axw> HEAD-1 I think? [01:53] * thumper missed the caret [01:53] <thumper> that worked [01:53] <thumper> ta [02:01] <davecheney> state/state.go:189 [02:01] <davecheney> I think we are leaking mongo iterators [02:05] <davecheney> var tagPrefix = map[byte]string{ 'm': names.MachineTagKind + "-", 's': names.ServiceTagKind + "-", 'u': names.UnitTagKind + "-", 'e': names.EnvironTagKind + "-", 'r': names.RelationTagKind + "-", 'n': names.NetworkTagKind + "-", [02:05] <davecheney> }OMG, i just found a private encoding of tags in the state package ...!!! [02:12] <waigani> haha, good to see your hard work being appreciated [02:22] <menn0> thumper, axw: "git help revisions" talks about all the ways to refer to revisions with git. It's useful and complete but dense. This page is a bit gentler: http://git-scm.com/book/en/Git-Tools-Revision-Selection [02:24] <axw> thanks menn0 [02:26] <thumper> menn0: please don't add "er" on to the method name for the interface name [02:26] <thumper> that will make me want to kill you [02:26] <thumper> especially if it is a nonsense name [02:26] <thumper> String, Stringer is kinda ok [02:26] <thumper> Read, Reader is ok [02:26] <thumper> Status, Statuser is not [02:27] * thumper has an OCD meltdown [02:29] <menn0> davecheney: it looks like that tag mapping is only used in one place as well [02:30] <menn0> thumper: we have plenty of other interfaces that use a similar naming style (there's even a setStatuser, so ha!). I used that and other code and articles I've seen online as a guide as I figured that was the idomatic Go thing to do. [02:31] * thumper twitches [02:31] <davecheney> thumper: there is a reason why the thing that runs Hooks is called a Uniter [02:31] <thumper> haha [02:32] <davecheney> you can ask fwereade about that [02:32] <thumper> and not a HookRunner? [02:32] <menn0> I can call it StatusAPI or something if that makes the twitching stop [02:32] <thumper> because, OMG that might tell you what it is doing [02:34] <thumper> there are still those that titter when I explain to them that a hooker is a valid rugby position [02:36] <menn0> is that the player who hangs around the dark corner of the field not wearing very much? [02:37] * menn0 disappears to change the interface name... [02:45] <waigani> menn0: ugh, sorry about the statuser - stupid [02:45] <menn0> waigani: np. given that it confused you and thumper hates it, I'll change the name. [02:46] <davecheney> ... what does a Thumper do ? [02:46] <thumper> Thumps [02:46] <thumper> :-) [02:46] <menn0> http://en.wikipedia.org/wiki/Sun_Fire_X4500 ? [02:47] <menn0> ;-> [02:47] <davecheney> coll, id, err := state.ParseTag(s.State, m.Tag()) [02:48] <davecheney> why does state have it's own ParseTag method ... [02:49] <davecheney> m, err := s.State.AddMachine("quantal", state.JobHostUnits) [02:49] <davecheney> c.Assert(err, gc.IsNil) [02:49] <davecheney> coll, id, err := state.ParseTag(s.State, m.Tag().String()) [02:49] <davecheney> we have a machine, we get it's tag, then we parse it's tag [02:50] <davecheney> and then I (╯°□°)╯︵ ┻━┻) [03:04] <axw> wallyworld: https://github.com/juju/juju/pull/112 when you're free [03:04] <wallyworld> sure [03:05] <wallyworld> axw: just reading the desc, can we retry bootstrap for the user? [03:07] <axw> wallyworld: I think it's actually quite rare to occur, so I'd rather not complicate it [03:07] <axw> wallyworld: I've never seen it delete after afterwards [03:07] <wallyworld> ok [03:07] <axw> it just sits there [03:14] <menn0> thumper, waigani: interface name changed [03:14] <thumper> :) [03:16] <waigani> thumper: you've got a test failure [03:17] <thumper> waigani: ta [03:22] <waigani> thumper: you need to replace DateCreated: time.Time{}, with user.DateCreated() [03:22] <waigani> thumper: I've done that in my branch, ironically if I landed my branch first, yours would pass [03:23] <waigani> thumper: state/apiserver/usermanager/usermanager_test.go:189 [03:23] * thumper nods [03:23] <thumper> looking at it [03:24] <thumper> waigani: that isn't it though :) [03:24] <waigani> oh? [03:24] <thumper> it is the zero value from last connection has a TZ of UTC [03:24] <thumper> now that we specify that... [03:24] * thumper hacks [03:26] <waigani> thumper: all tests pass on my branch. DateCreated and LastConnection are just set from the corresponding user methods - as long as they return UTC [03:26] <thumper> you'll see [03:50] <waigani> thumper: what happens when you UTC a zero time? [03:51] <thumper> you get something that is no longer zero [04:16] <menn0> waigani, thumper: I think the setting-UTC-on-a-zero-time thing is part of what was confusing us (well at least me) this morning. A Time{} and Time{} with UTC set both convert to the same string when printed but are actually different. [04:17] * thumper nods [04:17] <waigani> thumper: menn0: and the difference seems to be only the location [04:19] <menn0> thumper, waigani: here's a good example of the problem: http://play.golang.org/p/zYoOyRiUsm [04:19] <menn0> 0001-01-01 00:00:00 +0000 UTC [04:19] <menn0> 0001-01-01 00:00:00 +0000 UTC [04:19] <menn0> false [04:21] <menn0> that's pretty sucky. if "no location" is supposed to get interpreted as UTC (which the string representation seems to indicate) then they should compare equal. [04:21] <davecheney> http://golang.org/pkg/time/#Time.Equal [04:21] <davecheney> read the comment [04:21] <menn0> davecheney: I was just looking to see if there was such a thing [04:22] <menn0> davecheney: thanks. that's good to know about. [04:23] <menn0> davecheney: it is a bit tricker for some of the cases were were dealing with today where there were Times stored in structs that were being compared. [04:23] <waigani> menn0: just ran your example through jc: [04:23] <waigani> mismatch at (*.loc): validity mismatch; obtained <nil>; expected time.Location{name:"UTC", zone:[]time.zone(nil), tx:[]time.zoneTrans(nil), cacheStart:0, cacheEnd:0, cacheZone:(*time.zone)(nil)} [04:23] <davecheney> menn0: store them as uint64s [04:24] <menn0> waigani: jc? [04:24] <waigani> menn0: jc "github.com/juju/testing/checkers" [04:24] <menn0> davecheney: nah. I like the richer type. it's just one of those things you need to be aware of. [04:25] <menn0> waigani: jc.DeepEquals? [04:25] <waigani> menn0: sorry, yeah that is what I mean [04:25] <waigani> it shows you the problem [04:26] <menn0> waigani: that's also very useful to know. The error message from gc.DeepEquals was completely misleading. [04:26] <menn0> hooray for learning lots of new stuff today :) [04:26] <waigani> menn0: yeah thumper has been trying to thump it into me to use jc instead of gc [04:28] <waigani> so converting to UTC changes .loc from nil to time.Location{.... [04:29] <menn0> waigani: yep. Here's that earlier example using %Q, which shows the difference: http://play.golang.org/p/5yjGGgGjTr [04:30] * menn0 gets back to more pressing matters [04:40] * davecheney can't believe nobody pulled me up for this [04:40] <davecheney> http://godoc.org/github.com/juju/names#Tag [05:22] <waigani> menn0: thumper's fix breaks the tests - the rabbit hole deepens [05:23] <menn0> waigani: what's the failure? [05:23] <waigani> menn0: If you pull trunk and update the UserInfo tests to compare user.DateCreated(), user.LastConnection() instead of time.Time{} you'll see it is the same error [05:24] <waigani> menn0: i.e. the user factory returns .loc = nil, while the api returns .loc = time.Location{... [05:25] <menn0> waigani: I can't look right now, deep in schema upgrade stuff and about to finish up anyway [05:25] <waigani> menn0: removing thumpers fix, and always returning UTC, even on zero time, makes all the tests pass [05:25] <waigani> menn0: I don't need you to, just sharing as you are interested in the problem [05:26] <menn0> waigani: I am interested. I'll have a look tomorrow if you don't figure it out first. It'll be a matter of stepping through all the pieces. [05:26] <waigani> menn0: have a good evening :) [05:26] <menn0> you too [07:04] <wallyworld> axw: jeez, your ahving no luck with the merging [07:04] <wallyworld> you're [07:09] <axw> wallyworld: yeah it's giving me the shits [07:10] <wallyworld> axw: i'm off to soccer but will talk to martin when i get back and see if he can fix it [07:10] <axw> wallyworld: thanks. have fun [07:10] <wallyworld> will do [07:11] <wallyworld> axw: incidentally, i just re-ran the azure upgrade test and it passed. i had a theory that your azure fix would help as the run was previously failing to bootstrap, maybe due to old resources hanging around [07:12] <wallyworld> so i'll let curtis know and hopefully it will continue to be well behaved [07:12] <axw> wallyworld: sweet [07:33] <voidspace> morning all [07:34] <TheMue> morning === psivaa-afk is now known as psivaa [08:23] <TheMue> anyone available for reviewing https://github.com/juju/juju/pull/107 ? it’s a very small one, only added a test [08:56] <jam> TheMue: I just reviewed: https://github.com/juju/juju/pull/107 [08:57] <jam> perrito666: what is the status of https://github.com/juju/juju/pull/30, there seem to be a ton of comments on it, and I'm not really sure what has and hasn't been addressed. Can you give a quick summary? [09:00] <TheMue> jam: thx [09:02] <jam> wallyworld: I realize we've been doing release-y stuff, which is great. But have you looked at alternative code review yet? [09:03] <TheMue> jam: I thought I read that I first have to Start() before Serve(). It seems I got it wrong. Will change. [09:04] <jam> TheMue: well if docs say that, they are probably wrong, and we should fix those while we're here. [09:04] <jam> certainly if you had to have a "channel' in order to use a website, it would just be broken, right? [09:05] <TheMue> jam: exactly [09:05] <TheMue> jam: costed me some time to get why I have a race condition every 10th to 20th run :/ [09:07] <jam> fwereade: dimitern: any chance I can ask you guys to have a look at my API Versioning proposals? They've been sitting for 2 days, and apparently they scare the on-call reviewers… :) [09:07] <jam> https://github.com/jameinel/juju/pull/1 https://github.com/jameinel/juju/pull/2 https://github.com/jameinel/juju/pull/3 [09:07] <jam> are the incremental diffs [09:09] <dimitern> jam, really sorry I couldn't get to them yesterday, I'll have a look quickly, but I'll do a more thorough review after the standup (after I finish the doc finally) [09:10] <jam> dimitern: it can wait until you can focus on it, I guess. [09:10] <jam> I'm the OCR today, so I can't just poke myself to go review it. :) [09:11] <dimitern> :) indeed [09:14] <TheMue> jam: ah, found it, wrong understanding. not „it has to“ but „it may be“. so it’s only said that one can call Serve() later, e.g. to register another root [09:15] <jam> TheMue: right. We do use that to switch from the "Admin" root that only exposes Login to the functional root that lets you do all the actual work. [09:16] <TheMue> jam: will keep it in mind for the docs ;) [09:16] <jam> thx [09:19] <tasdomas> axw, I think I don't have the permissions to merge pull requests into github.com/juju/juju [09:19] <jam> tasdomas: you probably need to set your membership in the juju group to public [09:19] <jam> tasdomas: go here https://github.com/orgs/juju/members?page=2 [09:19] <jam> and you can fix it [09:19] <jam> the bot needs to know that you're in the "allowed" group [09:23] <tasdomas> jam, thanks - this takes time to apply, right? [09:24] <jam> tasdomas: well, it takes a while before the bot polls again, but I don't think you have to vote again. [09:24] <jam> *I* see you as public now [09:24] <jam> so the bot should be happy [09:27] <perrito666> jam1: I think it can be merged, I was waiting on fwereade to ack that the last note I added actually clarifies what he wanted it to say about creating new workers, but that should not be a showstopper [09:29] <perrito666> jam1: that is abot PR:30 [09:32] <voidspace> perrito666: morning [09:33] <perrito666> voidspace: morning [09:35] <jam> tasdomas: "merge request accepted" was just posted by the bot [09:35] <jam> so it looks like your perms are sorted out. [09:35] <tasdomas> jam, thanks! [09:35] <jam> it will take… 15min + for the bot to actually process it. [09:35] <jam> tasdomas: it is running it now: http://juju-ci.vapour.ws:8080/job/github-merge-juju/179/ [09:39] <jam> ericsnow: I just commented on https://github.com/juju/juju/pull/97 [09:39] <jam> feel free to ask any questions if you want clarification. [09:39] <jam> overall a pretty good first submission IMO [09:45] <voidspace> jam: did you see the question of mine late last night? [09:45] <voidspace> jam: I don't suppose you had any thoughts? [09:45] <jam> voidspace: [09:45] <voidspace> jam: about changing values in the EnvironConfig of the server side of a JujuConnSuite [09:46] <jam> I remember reading that you had a test problem, and I think I started investigating, but then had a phone call and completely forgot the context [09:46] <voidspace> I'm about to start poking at it again [09:46] <voidspace> heh [09:46] <voidspace> I had to go anyway [09:46] <voidspace> jam: let me grab the link to the code [09:46] <voidspace> if you're ok to have a look now that is [09:47] <voidspace> <voidspace> it's (indirectly) a JujuConnSuite test with an apiserver and api client [09:47] <voidspace> <voidspace> I'm testing an api endpoint (so apiserver) that needs to use the mongo port and mongo administrator password [09:47] <voidspace> <voidspace> I'm pretty sure I can get these by calling state.State.EnvironConfig() and then calling AdminSecret and StatePort [09:47] <voidspace> <voidspace> so what I want is a test that checks those values are used [09:47] <voidspace> <voidspace> I can't find a way to set those values (from the test) in the environ config used by the test suite [09:47] <voidspace> <voidspace> setting them in DummyConfig doesn't work [09:47] <voidspace> <voidspace> calling BackingState.UpdateEnvironConfig doesn't work [09:47] <voidspace> <voidspace> calling BackingState.SetAdminMongoPassword and State.SetAdminMongoPassword doesn't work [09:47] <voidspace> * arturt has quit (Quit: Computer has gone to sleep.) [09:47] <voidspace> <voidspace> any ideas? [09:47] <voidspace> <voidspace> jam1: the test specifically is here: https://github.com/voidspace/juju/compare/download-backup#diff-198897e828f0611e3185053d7354a523R96 [09:47] <jam> voidspace: just for context, this is the backup code, right? [09:47] <voidspace> that's correct [09:47] <voidspace> this is the api endpoint [09:48] <voidspace> it needs the mongo port and mongo admin password to call the code doing the actual backup [09:48] <jam> voidspace: we should also make sure that you guys are talking with menn0 et al because their looking to use the backup code with their upgrade rollback stuff. [09:48] <voidspace> ah, right [09:48] <voidspace> we haven't talked at all yet [09:48] <jam> voidspace: and one thing that popped out is that they want to give the backup to the client, but they also really would like to keep a copy on the server [09:48] <voidspace> the backup code is now in [09:48] <jam> so the client doesn't have to get involved if upgrade fails [09:49] <voidspace> right [09:49] <voidspace> that's easy for them to implement on top of what perrito666 did [09:49] <voidspace> when you call Backup you give it a directory to put the backup file in [09:49] <voidspace> in my code I send that to the client and then delete the backup file [09:50] <voidspace> they wouldn't need to reuse my code at all [09:50] <jam> voidspace: for "c.Assert(os.IsNotExist(err), jc.IsTrue) [09:50] <jam> " [09:50] <jam> you can use" [09:51] <jam> c.Assert(err, jc.Satisfies, os.IsNotExist0 [09:51] <jam> sorry [09:51] <voidspace> right, I saw examples of that [09:51] <voidspace> but I saw no benefit [09:51] <jam> no "(" in the end of that line [09:51] <jam> voidspace: when it doesn't match [09:51] <jam> you get output on the console [09:51] <jam> which describes "err" [09:51] <jam> rather than output [09:51] <jam> that describes" false" [09:51] <voidspace> ok [09:51] <jam> voidspace: so when the assert fails, you get better debugging information. [09:52] <voidspace> although *specifically* what I'm interested in is "does the directory still exist" [09:52] <voidspace> so it's kind of a true / false situation [09:52] <jam> also, you should try to use "Check" rather than "Assert" whenever you can reasonably continue to check more things. [09:52] <voidspace> although if there's another error it would be useful to know what it is I guess [09:52] <voidspace> jam: c.Check ? [09:52] <voidspace> that's helpful [09:52] <jam> voidspace: so yes, what you care about is that you get IsNotExist, but if the test *fails* I'd rather know that it got ErrNOTDIR or EINVALID or ESOMETHING ELSE [09:53] <voidspace> yep, fair enough. Thanks. [09:53] <jam> voidspace: because the first thing that you're going to do if that assert fails is go in and change the line to something else so that you get that context :) [09:53] <wallyworld> jam: it's one of mgz's top priorities [09:53] <jam> voidspace: c.Check vs c.Assert is something that we're not particularly consistent with, but just a guideline to keep in mind. [09:54] <jam> I try to use Assert for things that would cause a panic [09:54] <jam> later if not Asserted [09:54] <jam> and then Check for everything else. [09:54] <wallyworld> but the intermittent github merge rejections (after tests have passed) are becoming too annoying to ignore [09:54] <voidspace> yeah, that's better - I keep commenting out asserts to see if a later one passes [09:54] <jam> voidspace: anyway back to your original question. The idea is "I need to inject my test values and assert that I see them passed correctly to my apiserver.Backup function" correct? [09:54] <voidspace> I just haven't used Check before [09:54] <voidspace> jam: yep [09:55] <voidspace> jam: JujuConnSuite has a BackingState which is allegedy the State used by the apiserver in the test [09:55] <voidspace> jam: so that is where I should be setting the test values [09:55] <voidspace> jam: however I have so far failed to influence what EnvironConfig returns [09:56] <perrito666> axw: you just made me realize that the hook is not working for me (i have it set) [09:56] <axw> perrito666: what's your git version? [09:57] <axw> perrito666: it's just called "pre-push" in .git/hooks? [09:58] <perrito666> axw: 1.9.1 I most likely did something wrong when setting it up [09:58] <axw> perrito666: in .git/hooks, you should have "pre-push -> ../../scripts/pre-push.bash" [10:01] <perrito666> axw: I had done the simlink wrongly [10:01] <perrito666> I had pre-push.bash [10:01] <perrito666> instead of pre-push [10:06] <voidspace> so I get errors from pre-push now [10:06] <voidspace> because of perrito666's code! [10:06] <voidspace> :-) [10:07] <perrito666> voidspace: its fixed by axw merge again [10:07] <perrito666> :p [10:07] <voidspace> hehe [10:07] <voidspace> I'd better pull then [10:07] <natefinch> jam: you around? We should talk multi-env state servers. I'm unfortunately going to have to be out for much of the morning due to a rescheduled doctor's appointment [10:08] <voidspace> natefinch: morning [10:08] <natefinch> voidspace: morning [10:13] <jam> voidspace: tbh, both BackingState and State should be touching the same DB. [10:13] <voidspace> jam: right [10:14] <jam> You should only need BackingState for things that are already cached in memory, like workers and watchers sort of things. [10:14] <jam> natefinch: I'm around, and can chat a bit. I have team standup in 30min. [10:14] <voidspace> jam: however, calling UpdateEnvironConfig doesn't seem to change the values it returns [10:14] <natefinch> Yep ok [10:14] <jam> Though I have more evening time than normal because my family is out of town [10:15] <natefinch> jam: well, I'll probably be available around 8:30pm your time... if you're on, we can talk. [10:15] <natefinch> but yes, some time now would be good [10:15] <voidspace> brb [10:16] <jam> natefinch: start up a g+ and invite me, I'll come in, I'm trying to help out voidspace a bit right now., but maybe I can do both [10:17] <jam> natefinch: if you want, we can just use our team standup one, since I'm sure we'll be talking right up until standup: https://plus.google.com/hangouts/_/canonical.com/juju-sapphire [10:17] <voidspace> jam: these are the things I've tried specifically: http://pastebin.ubuntu.com/7657695/ [10:17] <natefinch> jam: that makes sense [10:18] <jam> voidspace: you probably should be checking the error returned from UpdateEnvironConfig [10:18] <jam> it might tell you there is a bug in what you're asking. [10:18] <voidspace> jam: ok, good point [10:18] <voidspace> thanks [10:18] <jam> voidspace: for example, I think StatePort is immutable once set [10:19] <jam> voidspace: so you're probably better off just looking internally for what the current value is, and then asserting that you see it in the test. [10:19] <jam> rather than trying to change it. [10:19] <voidspace> ok [10:19] <voidspace> that would be fine [10:20] <voidspace> as the admin password is set to an empty string I would really rather change that [10:20] <voidspace> as an empty string could come from anywhere [10:20] <voidspace> jam: your suspicion was correct [10:20] <voidspace> well, sort of [10:20] <voidspace> ... value *errors.errorString = &errors.errorString{s:"admin-secret should never be written to the state"} ("admin-secret should never be written to the state") [10:20] <voidspace> setting the admin-secret in the EnvironConfig fails [10:21] <voidspace> setting the mongo admin password directly doesn't change the one stored in EnvironConfig either [10:21] <voidspace> which maybe means it's the wrong place to get it from [10:21] <jam> fwereade: is there a template for us to use for writing up multi environment state server spec ? [10:21] <voidspace> jam: and yes, the state-port is immutable too [10:21] <voidspace> I can get that by introspecting the EnvironConfig though [10:22] <jam> well, you could introspect both of those, right? [10:22] <voidspace> jam: the admin secret in EnvironConfig is an empty string [10:22] <voidspace> and that could come from anywhere, so I don't think it's a good test [10:23] <jam> voidspace: admin secret is the password for the "user-admin" I think, and not intended as the password you use for the DB [10:23] <jam> you need machine-0's (machine-1, etc) mongo password [10:23] <voidspace> *plus*, calling state.SetAdminMongoPassword("something") doesn't change what is returned by EnvironConfig.AdminSecret() [10:23] <jam> voidspace: right, but you shouldn't be using it anyway [10:23] <jam> sorry, I'm still paging in some context of how all this works. [10:23] <voidspace> ok, perrito666 told me that I *should* be using the admin password [10:23] <jam> we probably don't use admin secret anymore. [10:24] <jam> admin secret is the password for "user-admin" and we actually don't give them direct DB rights anymore (IIRC) [10:24] <jam> so you need to be using the machine password for the API server. [10:24] <voidspace> hmm... the parameter to backup.Backup is specifically called adminPassword [10:25] <voidspace> perrito666: will the state server machine password do? [10:25] <voidspace> jam: how do I get the machine password? (I haven't looked for that, so maybe it's easy) [10:25] <perrito666> voidspace: well, according to what jam says, it should [10:25] <voidspace> it sounds like AdminSecret is definitely wrong though [10:26] <voidspace> perrito666: heh, ok [10:26] <voidspace> the state server has write permissions to the database (obviously), so I would expect so [10:26] <jam> voidspace: perrito666: Have to do this call now, so I'll try to get back after our standup is done [10:26] <voidspace> jam: thanks very much [10:27] <jam> voidspace: so machines know their password by reading their agent.conf [10:27] <jam> presumably that is also stored in the DB because of the API validating their password. [10:28] <voidspace> AgentContext is how perrito666 suggested I get it, but that means finding the location of the conf file [10:28] <voidspace> so I wanted to see if there was an easier path first [10:29] <voidspace> I don't *think* it's stored in the state though, I did have a bit of a spelunk [10:29] <voidspace> I may have missed it [10:29] <perrito666> voidspace: the easy way is to try to run the dump with a different password (and perhaps you will have to change the user too [10:30] <voidspace> perrito666: you mean try it manually with a running mongo? [10:30] <voidspace> sounds like a good check [10:33] <perrito666> voidspace: yup, current backup uses admin/oldPassword [10:53] <wallyworld> mgz: i'd like a quick hangout if you are free [10:57] <mgz> wallyworld: sure [10:57] <wallyworld> mgz: https://plus.google.com/hangouts/_/gruuhdkj3yzsvab42gsqrpr5i4a [10:57] <natefinch> perrito666: are you working on the HA backup thing? [10:57] <mgz> gurk, can we use the standup one? [10:57] <perrito666> natefinch: yup, I am reading the prs merged around the breakage [10:58] <natefinch> perrito666: good, thanks. [11:08] <jam> natefinch: if you want to join again, our standup is done [11:09] <jam> voidspace: perrito666: thinking about it, I think we actually only store the *hash* of the API Password in the database. And the Agent logs in by supplying the real text, and we then hash it and make sure it matches our saved hash. [11:09] <jam> So we probably don't actually store the actual password anywhere but in the agent files. [11:09] <jam> however, this is going to be run as the current agent user, right? [11:10] <jam> so it should have some idea of what its current password is. [11:10] <jam> though it is possible that it loads that information, connects, and then immediately forgets about it for the rest of its process. [11:10] <jam> which is a bit of a shame. [11:10] <voidspace> I couldn't see how to get the AgentContext from the apiserver without reloading it [11:11] <voidspace> (and yes, I saw various references to the password hash - but not to the password itself) [11:11] <voidspace> so it looks like I have to re-read it [11:11] <voidspace> the conf file is in a subdirectory of DataDir, the sub-directory is easy because that's the machine Tag [11:12] <voidspace> jam: do you know how I find the DataDir for the conf file? [11:12] <natefinch> jam: ok [11:12] <jam> voidspace: I think the cmd/juju/machineAgent has that information [11:12] <voidspace> jam: thanks, will look [11:22] <voidspace> London to Boston flights in July are really expensive [11:22] <voidspace> cheapest is £900 return - and the travel provider always seems to cost more [11:23] <mgz> eech [11:24] <voidspace> yeah, direct is £1500! [11:24] <voidspace> so looks like I'll be stopping :-/ [11:25] <perrito666> voidspace: lucky you there is no direct from here [11:26] <voidspace> heh, yeah very lucky. A direct option I can't take... :-) [11:27] <mgz> hm, looks okay via AMS [11:27] <mgz> lucky me [11:27] <perrito666> The shortest flight I see, which has 1 scale costs 3kUSD [11:27] <voidspace> mgz: AMS? [11:27] <voidspace> perrito666: 1 scale? [11:28] <mgz> voidspace: my local airport is Norwich INTERNATIONAL... because it has a hop to schiphol [11:28] <perrito666> so I do my city > brazil, brazil > somewhere in US, somewhere > boston [11:29] <voidspace> perrito666: :-( [11:29] <voidspace> hopefully I'll have only one stop [11:30] <perrito666> I hope brazil airport is nice, I have 13h there [11:30] <perrito666> :p [11:49] <jam> mgz: the same is true for my "International" airport in Cedar Rapids, and apparently true for the Nuremberg International airport. I haven't been able to book travel from DXB all the way to Nur, but apparently I can get to Schiphol and then take a direct flight from there. [11:51] <mgz> it's actually pretty handy, as an alternative to train down to heathrow [11:54] <TheMue> I always have to hop, via FRA, MUC or AMS [11:55] <TheMue> BRE next too me is too small, only CPH worked directly [12:17] <voidspace> jeebers, so many levels of indirection [12:22] <voidspace> BootstrapCommand calls InitializeState which calls initUsersAndBootstrapMachine which calls initBootstrapMachine [12:22] <voidspace> this creates a new mongo password, storing only the hash in the state [12:23] <voidspace> it does however call ConfigSetter.SetPassword - the ConfigSetter instance being a configInternal [12:24] <voidspace> the implementation of SetPassword stores the new password on c.stateDetails.password (or c.apiDetails.password) [12:24] <wwitzel3> thanks jam, I do that a lot with mailing lists [12:25] <voidspace> so I need to work out how to get that config and then get the password from it [12:25] <jam> wwitzel3: it doesn't help that google's default is just reply, though you can edit your settings to make the default reply all. [12:25] <jam> For tbird, I think it is a different shortcut, but still I just learned to use that one for most replies. [12:26] <jam> wwitzel3: I *think* I touched all the non-WIP reviews except the massive cloudsigma one. [12:26] <perrito666> there was a lab to make reply to all the default [12:26] <perrito666> very useful I must say [12:26] <voidspace> I don't see the new password being written out, which would be odd as the state machine rebooting would no longer be able to access the db [12:26] <voidspace> so that can't be right [12:27] <voidspace> the DataDir is just a constant set in environs/cloudinit.go - so I'll see if just reading the config back in works [12:54] <perrito666> :| [12:54] <perrito666> ERROR juju.provider.common bootstrap.go:119 bootstrap failed: cannot start bootstrap instance: cannot run instances: Your requested instance type (m3.medium) is not supported in your requested Availability Zone (us-east-1a). Please retry your request by not specifying an Availability Zone or choosing us-east-1d, us-east-1e, us-east-1c. (Unsupported) [12:55] <perrito666> anyone knows how to go around that? [12:57] <fwereade> perrito666, I think axw is working on that -- you should be able to bootstrap --to zone=one-that-works [12:59] <perrito666> fwereade: trying now [12:59] * perrito666 merges back with trunk just in case [12:59] <axw> perrito666: pull trunl, it should be fixed [12:59] <axw> trunk* [12:59] <fwereade> and, everybody, I'm sorry but I seem to be ill. felt a bit crappy, had a lie down after lunch, fell asleep, still feel crap and have a bit of a temperature [12:59] <fwereade> I'm going away again for a bit, might come back if I'm more with it later [13:00] <axw> hope you're feeling well soon fwereade [13:00] <fwereade> axw, cheers :) [13:01] <TheMue> fwereade: yeah, get well soon [13:02] <perrito666> fwereade: get better [13:05] <perrito666> axw: ping me if you have a moment plz [13:07] <axw> perrito666: what's up? [13:20] <perrito666> axw: what exactly is "fixed" in this case? [13:22] <axw> perrito666: nothing much, just preventing warnings from the race detector [13:22] <perrito666> I meant about the region issue [13:22] <perrito666> :) [13:22] <axw> perrito666: they're only in the test code [13:22] <axw> perrito666: oh [13:23] <axw> perrito666: the automatic spread code will attempt with another zone if the one it chooses is constrained [13:23] <axw> perrito666: hum. your error message is a bit different [13:25] <axw> perrito666: the fix was https://github.com/juju/juju/pull/105, but looks like your error is subtly different [13:25] <axw> would you please file a critical bug against 1.19.4 with the error message you got? [13:43] <bodie_> o/ [13:48] <Beret> alexisb, is 1.20 still on track for this week do you know? [13:53] <alexisb> Beret, it will potentially be delayed given the development release is still held up due to critical bugs [13:53] <alexisb> Beret, I will work with the team today to get an adjusted eta for 1.20 [13:53] <Beret> ok, thanks [14:04] <voidspace> ericsnow: wwitzel3: perrito666: are we going to do standup without natefinch or wait? [14:04] <voidspace> I'm happy to wait [14:05] <ericsnow> voidspace: me and perrito666 are in already [14:05] <perrito666> voidspace: as you guys wish [14:05] <voidspace> heh [14:05] <perrito666> if no one has any important question I am happy to continue debugging [14:07] <perrito666> mmpf, kickt out === Ursinha is now known as Ursinha-afk [14:25] <voidspace> rogpeppe: ping [14:26] <rogpeppe> voidspace: pong (but currently in a call) [14:26] <voidspace> rogpeppe: I'm in the apiserver (specifically the new backup end point) [14:26] <voidspace> rogpeppe: I need the mongo admin password [14:26] <voidspace> rogpeppe: the right way to get it seems to be to read the agent conf [14:26] <voidspace> rogpeppe: for that I need the current machine tag [14:27] <voidspace> rogpeppe: the httpHandler has a state [14:27] <rogpeppe> voidspace: are you just debugging, or writing code? [14:27] <voidspace> rogpeppe: writing code [14:27] <voidspace> rogpeppe: the backup command (the shell command we run) needs the admin password [14:27] <rogpeppe> voidspace: you'll need to pass in the password from the machine agent [14:28] <voidspace> rogpeppe: we're not sure if that will work, we *think* we need the admin user and password to do the dump with opLog [14:28] <voidspace> rogpeppe: however, how would I get the machine agent password (and username and mongo port as well) [14:28] <voidspace> I can test both [14:29] <rogpeppe> voidspace: there is no admin user with mongo access [14:29] <rogpeppe> voidspace: the machine agent should have admin rights [14:29] <voidspace> there is an admin user [14:29] <voidspace> that's what the agentConf.OldPassword field is for [14:29] <rogpeppe> voidspace: not quite [14:29] <voidspace> however, I'm happy to run it as the machine agent and see if that works [14:30] <voidspace> but I *still* need to be able to get at that password [14:30] <voidspace> as far as I can tell the password hash is set in the state but not the password [14:30] <rogpeppe> voidspace: the machine agent has access to that password [14:30] <voidspace> I'm inside the apiserver [14:30] <rogpeppe> voidspace: inside jujud/machine.go [14:30] <voidspace> I've seen that code [14:30] <rogpeppe> voidspace: you'll need to pass the password into the api server [14:30] <voidspace> that's not where I am... [14:31] <voidspace> yuck [14:31] <voidspace> change the way the apiserver is created [14:31] <voidspace> is the configInternal that is created in machine.go stored anywhere [14:32] <rogpeppe> voidspace: alternatively, you could provide a way to get the password from the *state.State that was used to connect to it [14:32] <voidspace> so we don't store that password and as we now need it I have to store it [14:32] <voidspace> hmm, ok [14:33] <voidspace> rogpeppe: what is agentConf.OldPassword() for? because that was working for perrito666 [14:33] <rogpeppe> voidspace: no [14:33] <voidspace> "no" is not a semantically valid answer to that question :-) === Ursinha-afk is now known as Ursinha [14:33] <rogpeppe> :-) [14:34] <rogpeppe> voidspace: OldPassword is to force an agent to change their password when it first starts, because the password's been passed through insecure cloudinit [14:34] <voidspace> rogpeppe: if a state server has to restart, how does it connect back to mongo? [14:34] <rogpeppe> voidspace: the machine agent reads its config file [14:34] <voidspace> so the password is in the machine agent config file? [14:34] <rogpeppe> voidspace: then uses the info from that to reconnect to mongo [14:35] <rogpeppe> voidspace: yes, but that's something that the api server should not know about [14:37] <jam> ericsnow: I reviewed https://github.com/juju/juju/pull/113 [14:38] <jam> voidspace: nate is missing standup today if you didn't notice [14:38] <ericsnow> jam: thanks! [14:38] <rogpeppe> voidspace: add this method to state/open.go: [14:38] <rogpeppe> func (st *State) Info() *Info { [14:38] <rogpeppe> return st.info [14:38] <rogpeppe> } [14:38] <rogpeppe> voidspace: then you can get access to the password [14:38] <rogpeppe> voidspace: you may want to copy the info before returning it [14:38] <voidspace> jam: we thought he would be coming later [14:39] <voidspace> rogpeppe: ok, interesting - thanks [14:39] <jam> voidspace: he said he won't be back for 2 more hours [14:39] <jam> at least, I talked with him just before he left, and he said he was going to miss his standup again. [14:39] <jam> I'm not sure why he wouldn't tell *you* guys that directly :) [14:39] <voidspace> jam: he did email us [14:40] <voidspace> jam: we were just hopeful we would get to talk to him I guess :-) [14:41] <jam> ah, k. Well, he said he would be back in ~2 hours from now, because we wanted to collaborate on some stuff. So he should be back later today. I'm guessing that's going to be a bit too late for voidspace but at least perrito666, wwitzel3, and ericsnow can chat with him [14:41] <voidspace> jam: two hours is fine [14:41] <voidspace> jam: we're all in the hangout anyway [14:42] <voidspace> jam: I'm around for ~3hours (just less) [14:42] <voidspace> rogpeppe: perrito666 thinks that this command actually requires the admin user, not just admin permissions though [14:42] <rogpeppe> voidspace: i don't believe so [14:43] <voidspace> heh, he believes so and he's *tried* it - however, I have an open mind [14:43] <rogpeppe> voidspace: if so, then our model is flawed [14:43] <voidspace> heh [14:44] <perrito666> voidspace: as I said, I tried this some time ago by actually doing the xport in the current juju-backup script [14:44] <perrito666> have you tried with the machine-N user again? [14:44] <voidspace> the answer is still no [14:44] <perrito666> Y U NO TRY === tvansteenburgh1 is now known as tvansteenburgh [14:46] <rogpeppe> perrito666: AFAIK there are no special rights given to the user named "admin" that can't be given to other users too [14:48] <perrito666> rogpeppe: nothing would make me happier than the dump thing working with the regular password so lets hope the tag user has the right permissions [14:49] <perrito666> rogpeppe: nevertheless he will still have to fetch that pass [14:49] <rogpeppe> perrito666: i suggested a way, above [14:49] <rogpeppe> perrito666: (a one-line method) [14:53] <voidspace> rogpeppe: yeah, I'm trying that - thanks [14:53] <voidspace> just need to split the port out of info.Addrs[0] [14:54] <jam> rogpeppe: perrito666: I wouldn't think that we would default to configuring the mongo database with full access rights using the user's name and password. We expect them to connect via the API, so you can't just pass those details to "mongodump". However, using the machine-0 (the agent running the API server) seems to make sense to me. [14:54] <jam> It is a little clumsy to get the password, because the agent doesn't cache it directly, but you can get to it. [14:54] <rogpeppe> jam: actually, the agent does cache it directly [14:55] <jam> rogpeppe: on the api.Info as "tag, password" ? [14:55] <rogpeppe> jam: it's in state.State.info.Password [14:55] <rogpeppe> jam: so the api server actually (almost) has access to it already [14:56] <dimitern> jam, replied to your comments on the networking model [14:57] <jam> dimitern: k, I didn't finish reading it all, though I'm probably done for today [14:58] <rogpeppe> perrito666: what exactly did you try that didn't work? [14:58] <perrito666> rogpeppe: iirc, this was a couple of weeks ago, mongodump --oplog --loadsofparams --username <tag> [14:59] <rogpeppe> perrito666: was that to dump one db, or all of them? [14:59] <perrito666> all of them [15:00] <perrito666> $MONGODUMP -v --oplog --ssl --host localhost:PORT --username admin --password <agent.conf OldPassword> [15:00] <perrito666> that worked [15:00] <rogpeppe> perrito666: it's possible you might have to log in to one db - i remember something odd about that [15:00] <perrito666> and, again iirc, that with the tag as username didn't [15:05] <voidspace> if I don't copy the info it makes it easier to test, as I can modify it... [15:14] <rogpeppe> voidspace: ha, that is blatant abuse :-) [15:15] <voidspace> well, without that it's basically untestable [15:15] <voidspace> as far as I can tell [15:16] <rogpeppe> voidspace: really? won't it just connect to the local mongo? [15:16] <voidspace> rogpeppe: my code doesn't have it connect to an actual mongo - it just checks it uses the right params [15:16] <rogpeppe> voidspace: in which case, you just need to check that the params match, i guess [15:17] <voidspace> exactly [15:17] <voidspace> match what? [15:17] <perrito666> command Q is too close to command w [15:17] <voidspace> the default info.Tag is empty [15:17] <voidspace> so is the password [15:17] <voidspace> that is not a useful test [15:17] <rogpeppe> voidspace: the original info passed to Open [15:17] <voidspace> it's JujuConnSuite that creates the State(s) though [15:17] <voidspace> and it has an empty password and tag [15:18] <rogpeppe> voidspace: you can open the state yourself [15:19] <rogpeppe> voidspace: you can even add a new machine to log in as if you want [15:20] <rogpeppe> perrito666: do you know what version of mongo we use now? [15:20] <voidspace> rogpeppe: the existing test infrastructure gives me a state and api server and methods to make requests against that apiserver [15:21] <voidspace> I'm not especially keen to throw all that away [15:21] <rogpeppe> voidspace: you don't have to [15:21] <perrito666> rogpeppe: cant remember [15:21] <rogpeppe> voidspace: but you can connect to the state server again [15:21] <rogpeppe> perrito666: it's possible that --authenticationDatabase is the flag you're after, but it looks like that only appeared in 2.4 [15:22] <rogpeppe> perrito666: i'm guessing that the reason that flag was added is that without it, there's no way to log in as a user in a particular db but dump all databases [15:23] <perrito666> rogpeppe: sounds like a reasonable guess [15:23] <rogpeppe> mgz, natefinch: do you know what version of mongo we can assume? [15:23] <rogpeppe> fwereade: ^ [15:23] <perrito666> rogpeppe: fwereade left, he was not feeling well [15:23] <rogpeppe> perrito666: ah, ok [15:23] <perrito666> rogpeppe: is mongo updated in old servers? [15:23] <rogpeppe> perrito666: probably not [15:24] <rogpeppe> perrito666: you may have to call mongodump once for each db [15:24] <rogpeppe> perrito666: oh, no! [15:24] <rogpeppe> perrito666: hmm [15:24] <rogpeppe> perrito666: wallyworld's been looking at some related issues recently, i think [15:24] <natefinch> rogpeppe: 2.4.6 I believe is the minimum in precise [15:26] * rogpeppe wonders if the mongodump version is updated with the mongod version [15:26] <rogpeppe> i've got mongodump version 2.2.0 but mongod version 2.4.9 [15:26] <natefinch> no idea how the two versions are related [15:27] <voidspace> natefinch: hey, hi [15:27] <voidspace> natefinch: how are your teeth? [15:28] <natefinch> voidspace: they're fine. But I was at the doctor :) [15:29] <voidspace> natefinch: hah, ok [15:29] <voidspace> natefinch: I hope everything is good [15:29] <natefinch> voidspace: yep [15:31] <mgz> rogpeppe: 2.4 [15:32] <rogpeppe> mgz: thanks [15:33] <perrito666> natefinch: wanna jum into the hangout? [15:37] <natefinch> yeah, I'll have the kiddo in a minute, but I can jump in [15:39] <perrito666> natefinch: there is noone right now [15:39] <perrito666> although you can see me cooking [15:57] <perrito666> sinzui: are you available? [15:57] <sinzui> I am [16:01] <perrito666> sinzui: I am trying to figure out why suddenly backup/restore tests are not working for HA [16:02] <perrito666> sinzui: did you change anything on the tests themselves before this broke or it was only juju related? [16:02] <sinzui> perrito666, Was that really broken...I think CI reported it could not put the state-server into HA [16:02] <sinzui> perrito666, ahh, I see some progress and a failure [16:03] <perrito666> sinzui: I http://juju-ci.vapour.ws:8080/job/functional-ha-backup-restore-devel/ [16:03] <perrito666> something around 84 began breaking [16:03] <sinzui> perrito666, CI had 2 jobs stuck for 21 hours. It is catching up now. I think we should assume noting is broken until we have a report of tip [16:03] <perrito666> and then it all went wrong [16:05] <sinzui> perrito666, only the last test run, the one you found is about restore. All other failures are a failure to get into HA (or network/apt issues) [16:06] <sinzui> perrito666, We are still waiting to publish the test tools. I think in 2 hours we will know the real state of juju [16:08] <perrito666> sinzui: trust me on this one, it is broken :p I have just run that exact test on my local machine and it timeouts [16:08] <wwitzel3> rogpeppe: you have any suggestions for how/where I could safely turn off the api for a given state machine? [16:08] <sinzui> perrito666, :( [16:08] <perrito666> sinzui: good news is [16:08] <perrito666> its just a time thing [16:09] <rogpeppe> wwitzel3: from outside or inside the api server itself? [16:09] <perrito666> the replica takes forever [16:09] <rogpeppe> perrito666: yes, mongo is bog slow to replicate [16:09] <perrito666> I just let it run (I commented out the destroy env part on the cleanup) and it eventually started [16:09] <rogpeppe> perrito666: i dunno why - their protocol must be really crap [16:10] <wwitzel3> rogpeppe: inside, this is for when a server is brought back online, but has been replaced by ensure availability. We talked about it before and thought we might not need to stop the api. [16:10] <perrito666> sinzui: at least I get a 4 machines and 1 service all started after a moment [16:10] <perrito666> rogpeppe: yup [16:10] <sinzui> perrito666, The only change we have made to that test since it started failing was to extend to timeout to allow 15 minutes to get into HA [16:10] <wwitzel3> rogpeppe: but we actually have no idea how long this resurected machine has been offline, it could be very old, so disabling the api seems like a good thing to do. [16:11] <sinzui> perrito666, The previous change to the test was a month before to add the test scenario that is now broken [16:12] <perrito666> sinzui: well I know I am not giving you a decent time measure there, but I had time to make lunch (a chicken steak) eat it and it was started somtime around the time I was washing the dishes [16:13] <rogpeppe> wwitzel3: the easiest thing to do in that circumstance is just to never start the api server at all [16:13] <perrito666> sinzui: I think amazon is stretching a bit too thin === vladk is now known as vladk|offline [16:14] <sinzui> perrito666, Indeed. I am extending resources into other clouds. I was planning to use HP, but the apparent limit of 10 secgroups is troublesome [16:14] <rogpeppe> wwitzel3: if the state server's mongo connection is broken, then it will reconnect [16:14] <mgz> sinzui: we may be able to beg for an increase to that [16:15] <perrito666> sinzui: before getting this test to run I had to do the "find an AZ with enough machines" [16:15] <sinzui> mgz, the UI says we have 200. Juju or API is not seeing all 200 [16:15] <sinzui> oh [16:15] <wwitzel3> rogpeppe: right, I've been trying that .. but I can't find a good place to do that .. I tried in jujud/machine.go , but there I can't do the proper check of HasVote || WantsVote because the machine doesn't actually exisit yet (as far as I can tell), so when I try to get the machine from st.Machine(Tag) .. it panics when trying to access any methods of the machine. [16:15] <voidspace> rogpeppe: ok, so I'm convinced that re-opening the apiserver state with new params and testing that they're used is a *better test* [16:16] <rogpeppe> voidspace: good :-) [16:16] <rogpeppe> wwitzel3: i'm having difficulty imagining a scenario where this issue is a problem [16:16] <perrito666> sinzui: would you be so kind to tell me where can I change that timeout? [16:16] <sinzui> perrito666, interesting, I think az3 was bring selected most of the time. CI was using az3 exclusively for tests, though we don't care where the test happen [16:16] <voidspace> I still don't think immutability is a god to be worshipped for its own sake however... [16:17] <voidspace> but my heresies aside [16:17] <voidspace> rogpeppe: how do I do that then? :-) [16:17] <wwitzel3> rogpeppe: if the state machine dies, is replaced by ensure-availability, then an upgrade is performed, then someone manually starts up that old state machine. [16:17] <sinzui> perrito666, I don't think that will help [16:17] <voidspace> rogpeppe: I can see where suite.BackingState is set, but that's magically plucked from the already created apiserver [16:17] <sinzui> perrito666, line I changed is in def wait_for_ha() [16:17] <perrito666> sinzui: as I said, I waited a stupid amount of time and it eventually came back [16:17] <wwitzel3> rogpeppe: wouldn't that cause potentially for commands from the client to go to a state machine that couldn't handle them? [16:18] <sinzui> perrito666, okay [16:18] <perrito666> sinzui: I know its not a solution [16:18] <rogpeppe> wwitzel3: presumably the issue you're worried about is that the machine goes down, we upgrade the environment, the machine gets resurrected, someone manages to connect to the API server in the 0.5s before it decides to upgrade itself [16:18] <perrito666> I just want to make sure I wasn't just lucky [16:19] <sinzui> perrito666, in test_recovery.py restore_missing_state_server() has this line [16:19] <sinzui> env.wait_for_started(150) [16:19] <wwitzel3> rogpeppe: well I didn't say it was likely, but if automated things are running, etc.. also I'm all for a good argument that it doesn't need to be done. [16:19] <rogpeppe> wwitzel3: if that's your concern, i honestly don't think it's worth worrying about. the worst that can happen is that *if* a client happens to hit that <0.5s window, that they use an older API version for a few moments before they're forced to reconnect [16:19] <sinzui> ^ perrito666 maybe change that to 1800 to allow 30 minutes? [16:20] <wwitzel3> natefinch: when you're back [16:20] <rogpeppe> wwitzel3: i'd be more interested in an argument to automatically terminate old state server instances that are now down [16:21] <wwitzel3> rogpeppe: ok, well I discuss with nate when he is back can't remember if he had a scenario as well [16:21] * perrito666 runs with larger timeout [16:21] <wwitzel3> rogpeppe: like a cleanup command the user could run? [16:21] <rogpeppe> voidspace: i don't worship the god of immutability either, but *relying* on the fact that the Info method returns a reference to the info held inside the State seems not great [16:21] <rogpeppe> wwitzel3: i'm more thinking of something the provisioner could take care of [16:22] <voidspace> well, if that's its specified job it doesn't sound so bad [16:22] <wwitzel3> rogpeppe: I thought we never delete state machines without the user explicitly saying so [16:22] <rogpeppe> wwitzel3: that is currently the case, yes [16:22] <voidspace> but changing those params and then testing we get them back isn't as good a test as checking that "the params we opened the state with" are used [16:23] <wwitzel3> rogpeppe: that seems like a safe and sane practice to me [16:24] <rogpeppe> voidspace: to connect to the state server, use state.Open(suite.StateInfo(c)) [16:24] <voidspace> rogpeppe: how do I make sure that the apiserver the test suite is using uses the *new state* [16:24] <voidspace> rogpeppe: that's the specific issue, not just connecting to the state server [16:24] <wwitzel3> rogpeppe: we don't know why this machine was manually restarted .. so having the provisioner delete it without input from the user seems a bit aggressive. [16:25] <voidspace> or rather, make sure it uses the new connection [16:26] <wwitzel3> rogpeppe: so I will discuss with natefinch again about potentially just leaving the api server running and see if there is any concern there. thank you [16:26] <rogpeppe> voidspace: it's pretty trivial to start an api server directly (see apiserver.serverSuite.TestStop for an example) [16:26] <voidspace> rogpeppe: it has an environ craeted from "environs.PrepareFromName", this seems to be what creates the apiserver [16:27] <rogpeppe> wwitzel3: before adding a bunch of complexity in this area, i'd suggest coming up with a concrete scenario where this issue could be a problem, and balance that against the likelihood of it actually happening and the cost of it if it did [16:27] <voidspace> rogpeppe: so I do have to throw away all the infrastructure provided by the existing test suite :-/ [16:28] <rogpeppe> voidspace: it's an unusual test, so it requires unusual infrastructure. but it's only a few lines of code. [16:29] <wwitzel3> rogpeppe: +1, we may have one I am forgetting, thanks. [16:30] <rogpeppe> voidspace: alternatively, split the code into two - one part that takes an api address and does all the hard work of backing up, the other which just extracts the api address from the api and calls the former function [16:31] <rogpeppe> voidspace: then you can test the first one directly, and the second one by mocking the first one and checking that it gets called [16:31] <rogpeppe> voidspace: the bulk of the logic will be in the code that does the actual backing up [16:32] <voidspace> rogpeppe: that sounds better... [16:33] <voidspace> rogpeppe: I'm intriuged that it should only be a few lines of code though [16:33] <rogpeppe> s/api address from the api/api address from the State/ [16:33] <rogpeppe> of course [16:33] <voidspace> rogpeppe: it would replace JujuConnSuite.setUpConn which is non-trivial [16:33] <rogpeppe> voidspace: starting an api server is only a single function call [16:33] <rogpeppe> voidspace: it's fine to have several api servers running at once [16:33] <voidspace> rogpeppe: and we need the client that can talk to it [16:34] <rogpeppe> voidspace: that's also just a function call [16:34] <voidspace> rogpeppe: so my current code is essentially this [16:34] <voidspace> resp, err := s.authRequest(c, "POST", s.backupURL(c), "", nil) [16:35] <voidspace> rogpeppe: can you sketch out the code I'd need to make that work against a new apiserver [16:35] <voidspace> rogpeppe: JujuConnSuite is a little mystical - the apiserver *seems* to be started as a side-effect of preparing the environment [16:35] <rogpeppe> voidspace: well, your actual client call will be something like st.Client().Backup(), right? [16:35] <rogpeppe> voidspace: it is, yeah. it's started by the dummy environ [16:36] <voidspace> rogpeppe: I'm not testing this through the client here [16:36] <rogpeppe> voidspace: actually, it shouldn't be started at Prepare time [16:36] <voidspace> rogpeppe: I'm hitting the api endpoint [16:36] <rogpeppe> voidspace: ok. [16:37] <rogpeppe> voidspace: doesn't that mean you'll need to duplicate the authRequest code in your test? [16:37] <voidspace> rogpeppe: that bit is easy, it's not much code [16:37] <rogpeppe> voidspace: i'd just test the client code rather than directly invoking the PUT request [16:38] <rogpeppe> voidspace: that's how most of the client requests are currently tested [16:38] <voidspace> rogpeppe: well, the charms upload code is tested this way [16:38] <rogpeppe> voidspace: and means you don't have to break layering to write the tests [16:38] <voidspace> rogpeppe: and this api endpoint is a special snowflake in the same way [16:38] <rogpeppe> voidspace: how so? [16:39] <voidspace> rogpeppe: they both return binary blobs so they're directly httpHandlers [16:39] <voidspace> rather than json apis [16:39] <rogpeppe> voidspace: i don't really see the distinction [16:39] <voidspace> well, sort of [16:40] <voidspace> rogpeppe: I'm just saying I used the charms code as the template for the server here - and the tests for the charm as a template for the tests [16:40] <rogpeppe> voidspace: the way that the request is phrased is part of the implementation detail of the API (modulo the fact that we actually publish API specs for non-Go clients) [16:40] <rogpeppe> voidspace: anyway... assuming you want to do this, it's pretty easy [16:41] <voidspace> even testing through the client we'd have the same issue - in a unit test we *don't* want to actually backup a mongo server [16:41] <rogpeppe> voidspace: you'll need to make the state server address a parameter to s.authRequest [16:41] <voidspace> so we need to be able to specify the params we expect to see [16:41] <voidspace> rogpeppe: it is already - through the call to buildURI [16:41] <voidspace> so that's easy [16:41] <rogpeppe> voidspace: i'd quite like a client-local test that the backup actually works tbh [16:42] <voidspace> we need a system test too [16:42] <voidspace> but that's not a good reason not to unit test the code [16:42] <voidspace> which is what I'm trying to do [16:42] <voidspace> a system test isn't complete without restore [16:43] <rogpeppe> voidspace: so, you start the api server, you get its address, you make the backup url from the address, you make an http request using that url [16:43] <voidspace> yep, great [16:45] <voidspace> rogpeppe: you have the bandwidth to join a hangout? [16:45] <rogpeppe> voidspace: sure, though i'm finishing soon [16:45] <voidspace> rogpeppe: me too, it should be quick [16:45] <voidspace> rogpeppe: I just feel like we're going round in circles and we can be done a lot quicker if we actually talk [16:46] <voidspace> rogpeppe: I'm in moonstone if you want to join [16:46] <voidspace> rogpeppe: https://plus.google.com/hangouts/_/canonical.com/moonstone?v=1402515430&clid=4D10946615DC3A35 [16:48] <natefinch> perrito666: how goes the HA functional test? [16:49] <natefinch> perrito666: all fixed I presume? :) [16:49] <perrito666> strongly depends on your definition of fixed [16:49] <perrito666> but seriously, I am running it with a few changes to make sure I nailed the issue [16:51] <natefinch> that's awesome [16:52] <perrito666> sadly the error is at the end of the test [16:52] <perrito666> :p [17:20] <jcw4> mgz: the Actions Tag() implementation in names package: https://github.com/juju/names/pull/6 [17:20] <jcw4> mgz: PTAL / [17:20] <jcw4> (after squash) [17:26] <jcw4> jam, or wwitzel3 I guess you're on call today too :) https://github.com/juju/names/pull/6 [17:33] <wwitzel3> jcw4: yep, I will take a look [17:33] <jcw4> thanks wwitzel3 [17:33] <voidspace> wwitzel3: https://github.com/juju/juju/pull/114 [17:34] <voidspace> yay, tests pass :-) [17:34] <voidspace> finally... [17:34] <voidspace> and they're sensible tests (finally) [17:34] <voidspace> and on that note [17:34] <voidspace> EOD [17:34] <voidspace> g'night all [17:34] <voidspace> see you tomorrow [17:34] <ericsnow> voidspace: yay! [17:34] <voidspace> :-) [18:02] <ericsnow> natefinch: are we meeting in the moonstone hangout? [18:06] <perrito666> sinzui: natefinch it was just a matter of time [18:07] <perrito666> or wasnt [18:07] <perrito666> sorry, false alarm, still hasnt finished [18:07] <natefinch> ericsnow: sorry, got distracted, yep [18:07] * perrito666 bashes head on kb [18:09] <wwitzel3> natefinch: I'm on call review today with jam, so I've been doing that. Also I need to chat a bit about the API server for resurected start servers, specifically what the scenario was for why it should be turned off and if it is worth even more time/complexity in the code. [18:11] <sinzui> perrito666, natefinch canonistack's swift is failing. It failed the last 3 attempts to publish tools [18:12] <perrito666> sinzui: @more [18:12] <sinzui> perrito666, natefinch: I am contemplating how I can quickly work around this [18:19] <perrito666> uff, this is my personal hell [18:24] <sinzui> perrito666, I am pushing a hack to use the deb built by the previous failed job. It wont publish to canonistack. [18:25] <perrito666> sinzui: why is the tools publishing failing? [18:25] <sinzui> cannonistack swift is dying [18:26] <perrito666> ah uff [18:26] <sinzui> perrito666, CI is only as good as the clouds we test...and we know a lot about where each fails [18:28] <bodie_> https://github.com/juju/charm/pull/5 mgz / fwereade / anyone else, really simple [18:51] <natefinch> wwitzel3: we should try to hit up fwereade when we get the chance. The idea was basically just that this makes for an unusual state for a state server to exist in, and that means it's one that's going to be less tested and less well-understood. [18:57] <sinzui> perrito666, abentley : Added a temporary hack to the publish-revision step. [18:58] <sinzui> perrito666, abentley : A proper separation of building packages from publication will take many days of unplanned work [18:58] <abentley> sinzui: ack. [19:05] <bodie_> anyone know if there's a suitable vagrant box for core juju dev? I'm getting fed up with tweaking broken stuff, I have a remote box but I'd like to work locally [19:05] <natefinch> bodie_: we all use our base machines [19:06] <bodie_> I guess maybe I'll set up a vagrant box this weekend [19:08] <bodie_> I went to set some stuff up to use the juju local provider and I think I have a version conflict between some binaries since I rearranged my GOPATH/bin to the end of my PATH [19:08] <bodie_> I should've been working in a VM all along [19:09] <natefinch> nah, it's fine... the problem is likely that "which juju" returns the installed version from apt rather than the one you built [19:09] <natefinch> that screwed me for a while [19:09] <natefinch> I put my gopath at the head of my PATH... I never want anything on my machine to override something I've specifically built and installed [19:10] * perrito666 just deleted juju from package [19:14] <bodie_> yeah, I wanted it to override it [19:14] <bodie_> because I wanted to use the apt-installed local provider, because I thought that was the only way to get the local provider [19:14] <natefinch> ahh no, local provider is just part of juju [19:14] <bodie_> probably dumb, whatever, it would just be easier to have a stable version to use on my workstation and a vm to dev in [19:14] <natefinch> the useful thing in juju-local is just the juju-mongodb [19:15] <natefinch> I don't know that the stable version is terribly more useful than the dev version. We don't blow things up that often ;) [19:32] <bodie_> on that note, I'm getting failing tests on both my machines, one of which is supposed to be a fairly pristine dev box [19:33] <bodie_> maybe there's something left over from before the github migration, but something is wacky [19:33] <bodie_> also, the failing tests are different [19:33] <bodie_> jcw4 tells me there's work happening on the HA stuff right now? [19:33] <bodie_> and these appear to be mongo related, but it's hard to say [19:35] <natefinch> there's work happening on HA backup and restore. But nothing that would affect the tests [19:35] <jcw4> fwiw, go test ./replicaset worked for me just now [19:36] <jcw4> bodie_: might be something transient on your machine [19:38] <bodie_> yeah, I'm clearing out /tmp with maximum prejudice [19:44] <sinzui> hi dev. Hp test might fail because we our juju configs don't implicitly select an AZ. We uses to specify az-3. [19:44] <sinzui> any ideas how we might trick juju into always placing machines in az3? [19:45] <perrito666> sinzui: I think axw might know how to answer that [20:25] <natefinch> perrito666: how goes? \ [20:25] <perrito666> natefinch: still trying to figure out what broke (the thing is restored but for some reason replset fails to start properly) [20:30] <natefinch> perrito666: can you get on the machine to see the mongo log? It's usually a lot more informative than our logs in that case [20:32] <perrito666> is there a mongo log (besides the /var/log/juju logs) [20:33] <natefinch> yes.... /var/log/mongo maybe? Not sure.. hang on [20:34] <sinzui> perrito666, the functional tests have started [20:34] <sinzui> We will no results in about 30 minutes [20:34] <perrito666> natefinch: nothing there, that why I ask [20:34] <perrito666> sinzui: great [20:34] <perrito666> I am trying to find out what in the universe is broken [20:43] <perrito666> something is once again re-adding the api addresses to machine-0/agent.conf [20:55] <perrito666> natefinch: ok, something on the bash script embedded in restore did not run... [20:56] <natefinch> ahh, ok, that's good to know [20:56] <natefinch> getting there [20:57] <perrito666> yeah, I ran the steps by hand and the machine came to life [20:57] <natefinch> timing issue maybe? Doing stuff by hand is a lot slower [20:58] <thumper> morning [20:58] <natefinch> morning thumper [20:58] <perrito666> natefinch: might be, although there are a bunch of waits in the code it might be that, if something in mongo became even slower the script broke [20:58] <perrito666> thumper: morning [20:58] <thumper> o/ [20:59] <perrito666> natefinch: perhaps its just the script's survival instinct trying to get me distracted debugging it instead of re-coding it in go [21:00] <natefinch> haha [21:01] <natefinch> I gotta run... do what you can, send an email to the dev list when you're done, maybe one of the guys down under can poke at it overnight [21:01] <perrito666> natefinch: ack [21:01] <natefinch> Thanks for the hard work. [21:04] * thumper looks around for alexisb [21:04] <alexisb> thumper, crap sorry lost track of time [21:05] <alexisb> on my way [21:17] <menn0> anyone able to review this? https://github.com/juju/juju/pull/109 [21:18] <menn0> a few people have made small comments but it hasn't seen a full review [21:18] <wwitzel3> menn0: I can take a look when I'm done with my current one [21:18] <menn0> wwitzel3: thanks [22:00] <thumper> cmars: just finishing off with alexisb [22:02] <cmars> thumper, ok [22:05] <sinzui> perrito666, I switched the functional tests to joyent. I don't know why the tests fail now on aws...and if they fail on joyent and hope they pass [22:06] <perrito666> sinzui: ack, I am running them against aws trying to pinpoint the bug [22:06] <sinzui> wallyworld, is there a undocumented secret to specify an availability zone that juju should use with HP? [22:06] <perrito666> I have a theory about mongo being the culprit, but I am not yet sure what in mongo [22:07] <sinzui> wallyworld, tests are failing because juju is getting az1 or az2, which don't have enough machines [22:07] <wallyworld> sinzui: um, there is i think but i'll need a moment to find what it is [22:08] <wallyworld> sinzui: have you tried using the zone option to bootstrap? [22:09] <wallyworld> juju bootstrap --to zone=az3 [22:09] <sinzui> wallyworld, This is what we are seeing. juju 1.19.4 clearly shows the passes are on az3 (which was where we use to test) [22:09] <sinzui> http://juju-ci.vapour.ws:8080/job/hp-upgrade-precise-amd64/1338/console [22:09] <sinzui> wallyworld, 1.18.4? [22:09] <wallyworld> sinzui: that zone option is new in 1.19 trunk [22:09] <sinzui> wallyworld, right [22:09] <wallyworld> for 1.18.3 i think you encode it in the region [22:10] <sinzui> I think we are rolling dice to get an az we can test on [22:10] <wallyworld> eg region=az3.blah [22:10] <sinzui> wallyworld, doesn't work with havana or icehouse [22:10] <wallyworld> oh, well that sucks [22:11] <wallyworld> so we either backport the zone placement stuff to 1.18 (which is not really viable) or we accept we need 1.20 for H and I [22:11] <sinzui> perrito666, I also switched all function tests to trusty [22:11] <sinzui> wallyworld, :/ [22:11] <wallyworld> sinzui: the zone placement stuff is a lot of code [22:12] <sinzui> we cannot add features to old versions of juju. if we get the MRE we must be extra careful to honour Ubuntu's definitions [22:13] <wallyworld> ah yes, that's true [22:13] <wallyworld> so 1.18 will have to remain without the new zone placement stuff [22:14] <sinzui> maybe I can switch all hp testing to east coast us. it has just one zone [22:15] <wallyworld> worth a try i guess [22:15] <sinzui> might work. No one is using it [22:17] <sinzui> wallyworld, I also realised that though we can have 40 instances in hp, we have a mem limit of 15G. The smallest instance type has 1G, so it is impossible to get to even half of our number of serv ers [22:17] <wallyworld> :-( [22:18] <sinzui> wallyworld, oh, swift is dying in canonistack too. the canonistack tests passed because I severed the streams from aws or joyent [22:19] <wallyworld> sinzui: well that is kinda suboptimal. makes it hard when the underlying platform is flakey [22:21] <sinzui> Every cloud is ill. It is hard to say if juju is broken. [22:22] <wallyworld> yes it is sadly. i don't *think* juju is broken (apart from the confirm ha functional restore test issues) [23:03] <sinzui> wallyworld, I am afk for a bit. I am trying hp tests in region-b.geo-1, which has a single az. I hope juju 1.18.4 like it [23:06] <hatch> is there a saucy release of 1.18.x? [23:27] <perrito666> sinzui: are you getting a lot of errors trying to deploy to ec2? (regardles of the present bug) [23:28] <perrito666> if not, could you make a run for me with debug=true for jujupy and appending --debug to juju restore and get me the output? [23:37] <bodie_> can I get this merged so I can update the deps properly? https://github.com/juju/charm/pull/5 [23:39] <bodie_> it's a REALLY simple change [23:42] <bodie_> or at least a LGTM -- it's a two or three-liner [23:42] <bodie_> just need to update deps to get the other PR in [23:49] <thumper> bodie_: done [23:50] <thumper> sinzui: I want to disable the user juju subcommand on the 1.20 release branch [23:50] <thumper> sinzui: when are you cutting that? [23:51] <bodie_> sweet [23:52] <bodie_> thumper, good with you if I just merge it so I can get that dep updated w/o two LGTMs? [23:54] <thumper> ack [23:55] <bodie_> as in acknowledged or as in "ack! no!" [23:55] <bodie_> heh [23:56] <rick_h_> thumper: howdy, got time to chat today? |