Earlier  
Posted Nick Remark
#openstack-nova - 2018-03-09
09:06:27 Spaz-Work Morning folks
09:07:37 gibi happy Friday morning Nova
09:21:21 stephenfin zigo: Could you report that as bug, if you haven't done so already?
09:21:40 openstackgerrit Zhenyu Zheng proposed openstack/nova master: nova-manage db archive_deleted_rows is not multi-cell aware https://review.openstack.org/507486
09:22:20 openstackgerrit Stephen Finucane proposed openstack/nova master: Add CPUWeigher https://review.openstack.org/379525
09:24:33 stephenfin bauzas, giblet: morning folks. Any chance one of you could look at these two patches? https://review.openstack.org/#/q/status:open+project:openstack/nova+branch:master+topic:cleanup
09:24:48 bauzas zigo: sorry, my laptop thinks it's already the week-end and suddently shutdowns
09:25:08 bauwser good lord, it's Friday
09:25:09 Spaz-Work man this script is jenky
09:25:33 Spaz-Work Casual Nick Friday?
09:25:34 Spaz-Work :D
09:25:49 finucannot You know it :)
09:26:16 Spaz-Work And they say the core's don't know how to have fun
09:26:44 Spaz-Work .replace('\'','')
09:27:20 finucannot Those people are wrong, and in my 100 slide presentation I will proceed to show exactly how they are wrong
09:27:53 bauwser finucannot: CPUWeigher, good lord
09:28:11 Spaz-Work How much does a CPU Weigh? Now we'll know.
09:28:15 finucannot bauwser: I'm still getting pinged on Bugzilla for it :(
09:28:28 bauwser you know that I'm not a super fan of having moar weighers, right ;)
09:28:43 finucannot It's my oldest still-open review, by far
09:28:46 bauwser given anyone can add anything they want
09:29:05 finucannot bauwser: Aye, but who'll support it? ;)
09:29:47 Spaz-Work That actually reminds me there was a bug opened recently about scheduler I need to find
09:29:49 bauwser finucannot: the customer itself
09:30:10 Spaz-Work I was looking into it but scheduler has this really wierd ABC method that I don't understand...
09:30:27 bauwser we can provide a sane framework for end customers of the scheduler that could add anything they'd like
09:31:01 openstackgerrit huanhongda proposed openstack/nova master: Enable panic device https://review.openstack.org/551224
09:31:29 Spaz-Work Ah yeah here it is
09:35:04 zigo finucannot: Will report it, yeah.
09:35:22 zigo Though I wonder if it's a py3 issue, or just that the simple_cell_setup just failed on me.
09:35:51 finucannot zigo: Aye, it could be that too. There's definitely at least one issue there though
09:35:55 zigo What is this, and how to get it silent too?
09:35:59 zigo exception.NotSupportedWarning
09:35:59 zigo /usr/lib/python3/dist-packages/oslo_db/sqlalchemy/enginefacade.py:332: NotSupportedWarning: Configuration option(s) ['use_tpool'] not supported
09:36:26 finucannot zigo: DevStack?
09:36:42 zigo finucannot: No, Debian Stretch with Queens ! :)
09:37:01 zigo finucannot: That's the last bits in getting all packages setup before I can run my functional tests.
09:38:00 zigo Let me cut-past the output of simple_cell_setup before I fill the bug.
09:38:13 zigo It fails because there's some missing tables, apparently.
09:38:20 finucannot zigo: Cool. Can you use paste.openstack.org though
09:38:33 zigo Sure.
09:38:33 finucannot (rather than posting here)
09:39:03 Spaz-Work Anyone happen to have a map of how the select_destinations codebase works in nova-scheduler?
09:39:09 Spaz-Work I've run into circles about 13 trimes now
09:40:00 openstackgerrit Zhenyu Zheng proposed openstack/nova-specs master: Add host field to instance action event https://review.openstack.org/550411
09:41:32 Spaz-Work Ah I think I see.. filter_scheduler is what is extending that.. couldn't find what was using it the abstract
09:42:05 zigo finucannot: http://paste.openstack.org/show/696053/
09:43:02 zigo I really would like to understand better the db thing for cells, does it uses the db of nova, or nova-api, or something else?
09:43:19 zigo What am I supposed to setup? Is there a db-sync somewhere for the cells?
09:44:51 zigo Which of cell0 and cell1 needs a db? Both? With different dbs?
09:45:01 zigo Should they both access rabbit?
09:48:38 finucannot zigo: I think there's should be separate message queue per cell, plus a top-level API one
09:49:15 zigo finucannot: Even in my simple single node setup for package validation?
09:49:15 finucannot They _could_ use the same RabbitMQ instance (is that the correct term?) but it should be some form of logical split nonetheless
09:49:41 zigo Ah, right, like a different rabbit vhost or something...
09:49:48 zigo That's doable.
09:50:06 finucannot I can't say, to be honest. Anything I know about cells v2 was gleaned from a talk dansmith gave in...Sydney?
09:50:14 finucannot vhost...yeah, that sounds familiar
09:50:32 zigo What they call vhost in rabbit is a kind of path.
09:50:41 zigo Like / or /cell0 ...
09:51:10 finucannot zigo: https://www.youtube.com/watch?v=o7jkqzORij8
09:51:22 finucannot We _surely_ have this in written form somewhere, but lord knows where
09:51:44 bauwser finucannot: zigo: you need to have separate MQs for cells vs. API, but both can be on the same broker
09:51:57 bauwser for AIO at least
09:52:18 zigo Ok.
09:52:19 bauwser https://docs.openstack.org/nova/latest/user/cellsv2-layout.html
09:52:22 bauwser finucannot: ^
09:52:25 finucannot zigo: This looks somewhere helpful https://docs.openstack.org/nova/latest/user/cellsv2-layout.html Three databases, as suspected
09:52:31 finucannot bauwser: Jinx :)
09:52:32 bauwser jinx !
09:53:06 zigo I'll read all of this, and will come back here if I don't get it, thanks guys, that's very helpful.
09:53:11 bauwser np
09:53:17 bauwser and sorry for being AWOL
09:53:31 bauwser thank ABRT signal
09:54:14 bauwser looks something is tainting my kernel so it sens the abrt signal
09:54:16 zigo bauwser: Switch to Debian ! :)
09:54:25 bauwser *cough cough*
09:54:45 bauwser I was running Ubuntu before, but I feel somehow corporate
09:55:03 bauwser although I have nothing preventing me to install any other distro
09:55:28 bauwser and tbh, I'm pretty happy with F27, works like a charm
10:02:02 Spaz-Work I may go back to Fedora next time
10:02:10 Spaz-Work It's been a long journey and i'm ready to come home and brick after updates
10:02:17 openstackgerrit Balazs Gibizer proposed openstack/nova master: Replace raise with self.fail() in unit test https://review.openstack.org/550914
10:02:40 Spaz-Work scheduler you make my head hurt.. but imma learn you.
10:03:30 openstackgerrit Balazs Gibizer proposed openstack/nova master: Raise a proper exception in unit test https://review.openstack.org/550914
10:26:21 zigo finucannot: bauwser: All of this doc and talk doesn't answer the practical questions: how do I setup my all-in-one-server setup, how do I db-sync the cell0 and cell1 dbs.
10:26:38 zigo And how can I make multiple conductors access to different rabbitmq vhosts ...
10:26:50 zigo They'd be sharing the same nova.conf...
10:27:07 lyaaaaaaaarwood ratailor: re https://review.openstack.org/#/c/401009 one nit and a quick comment based on the initial .save() in that method.
10:27:28 bauwser zigo: devstack can help
10:27:44 zigo bauwser: How can it help me doing that setup with packages?
10:27:55 zigo Do you mean, i should read devstack's scripts?
10:27:59 bauwser by looking on how it's setup
10:28:00 bauwser yeah
10:28:03 zigo k
10:28:23 finucannot It's a horrible answer, but yeah. It's that or use some other tool to install this stuff :(
10:28:56 finucannot I will note that DevStack configures multiple nova.conf files. nova.conf, nova-cpu.conf, nova_cell1.conf, ...
10:28:56 zigo bauwser: finucannot: Should I attempt to just implement this on my single server setup? https://docs.openstack.org/nova/latest/_images/graphviz-609e99b08abf22927d47c939873591359f7e50e3.png
10:29:27 zigo (ie: single conductor, 1 db for each of cell0 and cell1)
10:30:10 bauwser zigo: finucannot: AFAIK, we pass the transport_url when we create the cell as a parameter

Earlier   Later