Earlier  
Posted Nick Remark
#openstack-nova - 2017-10-02
19:36:14 sean-k-mooney jaypipes: :) semantics and grammer i understand, its spelling and typing i have issues with :)
19:36:14 cdent I find quite a lot of comfort in the fact the sean-k-mooney is a capable person and spells in the sae phonetically weird way that I do
19:36:21 jaypipes sean-k-mooney: :)
19:36:27 cdent see it just happened :)
19:37:37 sean-k-mooney well i have dyslexia so really phonetics is the best i can do without google/a spellcheck unfortunetly english spelling and phonetics rarely agree
19:38:31 openstackgerrit Sean Dague proposed openstack/nova master: Remove non libguestfs file injection for libvirt https://review.openstack.org/324720
19:38:54 edleafe I always felt "performant" was a BS word.
19:39:19 cdent sean-k-mooney: I’ve often wondered about this: Do you happen to know if dyslexia is both ways: read and write? I had assumed it was read ony?
19:39:43 cdent edleafe: indeed it is but specs are mostly bullshit anyway, so having a few bullshit words is only right, right?
19:39:55 mriedem stephenfin: sdague: do you know if this ever came over from the openstack-manuals repo? https://github.com/openstack/openstack-manuals/blob/stable/ocata/doc/user-guide/source/cli-config-drive.rst
19:40:00 sean-k-mooney cdent: i think its different for different people.
19:40:18 edleafe cdent: there are several processing issues that are lumped into the term 'dyslexia'
19:40:45 cdent I’m aware of dysgraphia too, but I’ve never been clear on how/if connected
19:41:09 sdague mriedem: I don't see it anywhere in tree
19:41:11 sean-k-mooney cdent: for me i find it very difficult to read a singel word in isolation. its almost imposible for me to "sound it out" so i infer the meaning of a word form the context it is used in
19:41:36 mriedem sdague: yeah me neither
19:41:43 edleafe cdent: I don't have any dyslexia or dysgraphia; just dysphagia
19:41:54 mriedem i noticed b/c our api-ref says in the "config_drive" parameter description: "Read more in the OpenStack End User Guide."
19:42:08 sdague yeh
19:42:27 sean-k-mooney when i am writhing or typeing i then not to be able to keep up with the rate at which is am internally thinking about the phrase i intend to express so i miss words or part of them
19:42:56 cdent sean-k-mooney: do you find that when you make an error it often rhymes with the correct thing?
19:43:35 sean-k-mooney i do this less when typing as i can type faster, but the isssue is because i dont read word but instead infer them from context i dont see the error when i re read the sentence
19:43:53 sean-k-mooney cdent: yes sometimes or at least it will be phonetically similar
19:44:19 cdent interesting
19:44:40 mriedem https://bugs.launchpad.net/nova/+bug/1720873
19:44:41 openstack Launchpad bug 1720873 in OpenStack Compute (nova) "end user guide was not migrated from openstack-manuals" [High,Confirmed]
19:47:36 sean-k-mooney cdent: i have started to use https://www.grammarly.com more when writing docs/commit message/release notes but i have not figured out a good way to integreate it or a spellchecker into my normal patch authoring workflow.
19:48:17 cdent ah, interesting, thanks
19:49:09 efried Technically "dysgraphia" is the writing part and "alexia" is the reading part. In a move which surely caused the classical-language-root scholars to tear out their hair, "dyslexia" became the portmanteau covering both.
19:50:19 efried My favorite is when sean-k-mooney uses "taught" for "thought", because it combines phonetic spelling with his Irish accent.
19:52:02 sean-k-mooney i was about to drink some coffee when i read that lol its ture i do that alot
19:55:47 edleafe Question on the retry flow for failed VM builds. Does the cast from superconductor to cell conductor use the same method in the cell conductor as the cast from the ComputeTaskAPI
19:56:04 edleafe 's cast to the cell conductor's build_instances?
19:56:24 edleafe I'm trying to determine if the cell conductor can tell if it's retrying or not
19:57:48 sean-k-mooney edleafe: it was my impression that reties would only propergate within the same cell as we did not want an upcall to the superconductor
19:58:40 edleafe sean-k-mooney: true. what I'm wondering is if the cell conductor can tell that the build is a retry or not
19:59:55 sean-k-mooney edleafe: good question dansmith would propably be the best person to ask. i would assume so but im not sure if that would chage anything other then the fact we are eliminating the fail hosts form the allocation candidates
20:00:32 dansmith edleafe: yeah because it's two operations
20:00:45 dansmith edleafe: the top level one is schedule_and_build_instances, the other is build_and_run or something like that
20:00:56 edleafe dansmith: thanks
20:01:07 edleafe rewriting the alternate hosts spec
20:01:21 edleafe totally spaced that the call to compute is a cast
20:01:59 mriedem hmm, if we deprecate personality files from the API, we would presumably also deprecate showing limits on personality files in the API too - and if the alternative for personality files is user_data and config drive, we don't have any quota limits on those - so would we need to add some?
20:02:36 mriedem edleafe: superconductor doesn't cast to cell conductor
20:03:38 edleafe mriedem: I was talking about the cell conductor -> compute. That's the cast
20:03:43 mriedem superconductor (schedule_and_build_instances) -> scheduler (select_destinations) -> superconductor (schedule_and_build_instances) -> compute (build_and_run_instance) -> cell conductor (retry = build_instances)
20:03:56 mriedem yeah then it's build_and_run_instance both ways
20:04:02 sean-k-mooney mriedem: well the user-data is stored perinsance correct so im not sure we need limits on it if its a fixed lenght string in the db
20:04:30 cdent ‘night all
20:04:32 mriedem sean-k-mooney: yeah, wasn't sure if that's why we had quota on injected files or what
20:04:36 mriedem i guess it's rate limiting
20:05:27 mriedem ooo we have 3 options for file injection quota
20:05:47 sean-k-mooney if its sored as a text field we may want a quota
20:06:13 sean-k-mooney injected files, injected file content bytes and ?
20:06:19 mriedem quota_injected_file_path_length
20:07:05 mriedem melwitt: AbsoluteResource just means it's global per deployment? or per project?
20:07:07 sean-k-mooney is that litrally just a path lenght ? e.g. a file system constrait
20:07:23 mriedem yes, default is 255 for the file path length
20:07:41 sean-k-mooney that the fat32 limit right
20:07:56 mriedem yeah i think so
20:11:16 mriedem god i've already forgotten how all of this quota checking code works already
20:11:43 sean-k-mooney looking at the instances table it looks like user_data mediumtext field which means its got a 16 Mib limit on mysql
20:12:11 sean-k-mooney *user_data is a mediumtext
20:14:39 mriedem ok it looks like this quota limit is per project/user
20:15:32 mriedem so by default you can have 5 files, at 10mb each
20:15:45 mriedem wait, no
20:15:46 mriedem kb
20:17:10 sean-k-mooney mriedem: yes it is. userdata however is handeled seperatly from that limit today
20:18:17 mriedem right, there is no quota limit on user_data
20:18:20 mriedem it's just the limit in the db per instance
20:18:25 mriedem which is as you said 16MB
20:18:30 sean-k-mooney yes
20:19:04 sean-k-mooney we could change that in the future or mysql could be we dont have a contract in place with the end user on this today
20:20:32 sean-k-mooney having a qouta on this in the future would not nessicalily be a bad thing it is sotre on you db node after all so it could cause issues if allowed to grow too large
20:35:05 dansmith mriedem: are you aware of any cells-based short circuiting around InstanceMapping?
20:35:17 dansmith in the api_samples_tests
20:35:46 dansmith in looking at some of them, they create a server, which exists in the cell db, but we never set the InstanceMapping.cell_mapping for those
20:35:59 dansmith ISTR these were problematic with cells for some reason, but I can't really remember why
20:37:34 mriedem not really
20:38:13 dansmith ah, maybe it's SingleCellSimple that's getting me
20:38:25 mriedem i was going to say, i thought there was a fixture we used, but don't see where it's set
20:38:28 dansmith yasss
20:39:38 dansmith yeah, the wrinkle is that the api sample tests use singlecellsimple unlike the other functional ones
20:39:53 mriedem oh i'm looking at newton still, derp
20:40:27 mriedem If1138331f3a46f5aed87e898ce19879a787d435f
20:40:51 dansmith I added a new CellMappingList method and so I have to put that in the fixture or we always get back an empty list
20:47:48 mriedem we said at the ptg that if we deprecated personality files from the api, and you can specify personality files during rebuild, that we'd allow passing new user_data during rebuild, but i'm not sure if we should
20:47:56 mriedem i think we just allow passing personality files during rebuild b/c we don't persist them
20:48:05 mriedem so that was a hack workaround for the lack of persistence,
20:48:15 mriedem so i'm not sure we should allow passing user_data to rebuild just b/c personality is gone
20:48:24 mriedem sdague: remember that discussion? ^
20:48:54 mriedem cfriesen: ^ you might care since you seem to love rebuild
20:49:39 sdague mriedem: you are right
20:50:52 openstackgerrit Dan Smith proposed openstack/nova master: Make get_instance_objects_sorted() be smart about cells https://review.openstack.org/509003
20:50:52 openstackgerrit Dan Smith proposed openstack/nova master: Add CellMapping.get_by_project_id() query method https://review.openstack.org/509002
20:51:29 sdague mriedem: though, I think people were using that as an end run
20:51:37 sdague we can't update user_data on instances, right?
20:51:48 dansmith mriedem: ^ that's the last cellsv2 perf optimization I had in my head to consider it legit usable for queens
20:52:04 mriedem sdague: no you can't specify user_data during update
20:52:20 mriedem i don't really know if people are using personality files on rebuild as a workaround for missing user_data

Earlier   Later