Friday, 2017-11-17

*** armax has joined #openstack-nova00:02
*** esberglu has joined #openstack-nova00:04
*** smatzek has joined #openstack-nova00:07
*** itlinux has quit IRC00:07
*** esberglu has quit IRC00:08
*** mlavalle has quit IRC00:08
*** gfhellma has joined #openstack-nova00:10
*** smatzek has quit IRC00:11
*** tetsuro has joined #openstack-nova00:13
*** gyee_ has quit IRC00:13
*** amodi has quit IRC00:14
*** armax has quit IRC00:19
*** mriedem has joined #openstack-nova00:20
mriedemefried: jaypipes: https://review.openstack.org/#/c/516778/00:20
mriedemI think I'm following that, but some questions in the tests.00:20
*** claudiub|2 has quit IRC00:22
*** slaweq has joined #openstack-nova00:24
*** sdague has quit IRC00:25
*** s1061123_ has quit IRC00:26
*** slaweq has quit IRC00:28
*** andreas_s has joined #openstack-nova00:29
*** hieulq has quit IRC00:30
*** s1061123 has joined #openstack-nova00:30
*** hieulq has joined #openstack-nova00:31
*** gouthamr has quit IRC00:31
*** markvoelker has quit IRC00:31
*** chyka has quit IRC00:31
*** armax has joined #openstack-nova00:33
*** andreas_s has quit IRC00:33
*** zhurong has joined #openstack-nova00:34
*** armax_ has joined #openstack-nova00:34
efriedmriedem Thanks, responded.00:36
*** yangyapeng has quit IRC00:37
*** armax has quit IRC00:38
*** armax_ is now known as armax00:38
mriedemefried: i'm good with a cleanup at the end of the series00:38
efriedmriedem Thanks.00:38
mriedemefried: will wait for alex_xu to get back on that one, i see he's done a lot of testing with it00:38
*** gbarros has quit IRC00:39
efriedmriedem Roger wilco.  Thanks for helping get that series moving.00:39
*** Sukhdev has joined #openstack-nova00:43
*** markvoelker has joined #openstack-nova00:43
*** yingjun has joined #openstack-nova00:44
*** Swami has quit IRC00:45
*** armax has quit IRC00:46
*** mriedem has quit IRC00:48
*** furlongm has quit IRC00:50
*** gmann_afk is now known as gmann00:50
*** yamamoto_ has quit IRC00:57
*** liverpooler has joined #openstack-nova00:57
*** Apoorva has joined #openstack-nova01:02
*** yamamoto has joined #openstack-nova01:03
*** Apoorva has quit IRC01:06
*** chyka has joined #openstack-nova01:07
*** phuongnh has joined #openstack-nova01:07
*** Apoorva has joined #openstack-nova01:08
*** ellioth has joined #openstack-nova01:08
*** yamamoto has quit IRC01:08
*** gouthamr has joined #openstack-nova01:10
*** chyka has quit IRC01:11
*** cheneydc has joined #openstack-nova01:17
openstackgerritYikun Jiang proposed openstack/nova master: Update Instance action's updated_at when action event updated.  https://review.openstack.org/50747301:21
openstackgerritYikun Jiang proposed openstack/nova master: [WIP] Add pagination and changes-since for instance-actions  https://review.openstack.org/32632601:21
*** gfhellma has quit IRC01:23
*** tinwood has quit IRC01:29
*** tinwood has joined #openstack-nova01:30
*** zhurong has quit IRC01:34
*** hongbin has quit IRC01:35
*** jaypipes has quit IRC01:36
*** Sukhdev has quit IRC01:38
openstackgerritYikun Jiang proposed openstack/nova master: Add pagination and Changes-since filter support for os-migrations.  https://review.openstack.org/33040601:40
*** yamamoto has joined #openstack-nova01:48
*** naichuans has quit IRC01:51
*** liuyulong has joined #openstack-nova01:53
*** yamamoto has quit IRC01:53
*** Apoorva_ has joined #openstack-nova01:57
*** Apoorva has quit IRC02:00
*** Apoorva_ has quit IRC02:01
*** salv-orlando has joined #openstack-nova02:02
*** salv-orl_ has quit IRC02:05
*** lyan has joined #openstack-nova02:07
*** andreas_s has joined #openstack-nova02:09
*** trungnv has quit IRC02:11
*** armax has joined #openstack-nova02:13
*** yamamoto has joined #openstack-nova02:14
*** andreas_s has quit IRC02:14
openstackgerritZhenyu Zheng proposed openstack/nova master: Add instance action record for attach/detach interface  https://review.openstack.org/51219002:18
*** takashin has quit IRC02:20
*** yangyapeng has joined #openstack-nova02:24
*** slaweq has joined #openstack-nova02:24
*** slaweq has quit IRC02:29
*** annp has joined #openstack-nova02:30
*** fragatina has quit IRC02:30
*** lyan has quit IRC02:33
*** fragatina has joined #openstack-nova02:33
*** vivsoni has joined #openstack-nova02:36
*** fragatina has quit IRC02:37
*** namnh has joined #openstack-nova02:45
*** vivsoni has quit IRC02:50
*** vivsoni_ has joined #openstack-nova02:50
*** yamahata has joined #openstack-nova02:51
*** itlinux has joined #openstack-nova02:53
*** armax has quit IRC02:55
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi(N-R-P): Add API to support vgpu resource provider create  https://review.openstack.org/52031302:57
*** armax has joined #openstack-nova02:59
*** salv-orl_ has joined #openstack-nova03:00
*** lyan has joined #openstack-nova03:01
*** salv-orlando has quit IRC03:02
*** links has joined #openstack-nova03:03
*** akekane has joined #openstack-nova03:13
*** akekane is now known as abhishekk03:14
openstackgerritChen Hanxiao proposed openstack/python-novaclient master: inject file: add description of injecting multiple files.  https://review.openstack.org/51565503:16
*** fragatina has joined #openstack-nova03:21
openstackgerritZhenyu Zheng proposed openstack/nova master: Add instance action record for attach/detach interface  https://review.openstack.org/51219003:21
*** hongbin has joined #openstack-nova03:22
*** yamamoto has quit IRC03:23
*** yamamoto has joined #openstack-nova03:25
*** lyan has quit IRC03:25
*** fragatina has quit IRC03:25
*** yamamoto has quit IRC03:28
*** psachin has joined #openstack-nova03:31
*** andreas_s has joined #openstack-nova03:33
*** itlinux has quit IRC03:36
*** Sukhdev has joined #openstack-nova03:37
*** andreas_s has quit IRC03:38
*** yamamoto has joined #openstack-nova03:40
*** esberglu has joined #openstack-nova03:40
*** esberglu has quit IRC03:41
*** esberglu has joined #openstack-nova03:41
*** esberglu has quit IRC03:41
*** esberglu has joined #openstack-nova03:41
openstackgerritNguyen Van Trung proposed openstack/nova-specs master: Add validation to improve pep8 check for nova-specs project  https://review.openstack.org/51956103:44
*** yamamoto has quit IRC03:45
*** itlinux has joined #openstack-nova03:46
*** esberglu has quit IRC03:46
*** andreas_s has joined #openstack-nova03:49
*** eharney has quit IRC03:49
*** eharney has joined #openstack-nova03:50
*** andreas_s has quit IRC03:53
*** sridharg has joined #openstack-nova03:59
*** takashin has joined #openstack-nova04:01
*** gbarros has joined #openstack-nova04:02
*** vivsoni_ has quit IRC04:04
*** vivsoni has joined #openstack-nova04:04
*** gbarros has quit IRC04:05
*** eharney has quit IRC04:09
*** yamamoto has joined #openstack-nova04:10
*** yamamoto has quit IRC04:10
*** vivsoni has quit IRC04:12
*** dave-mccowan has quit IRC04:19
*** itlinux has quit IRC04:24
*** nikhil has quit IRC04:25
openstackgerrityuanyue proposed openstack/nova master: Add log in conductor to mark host for instance creation  https://review.openstack.org/52036904:32
*** itlinux has joined #openstack-nova04:33
*** itlinux has quit IRC04:33
*** cheneydc has quit IRC04:39
*** hieulq has quit IRC04:42
*** phuongnh has quit IRC04:42
*** phuongnh has joined #openstack-nova04:42
*** hieulq has joined #openstack-nova04:42
*** itlinux has joined #openstack-nova04:49
*** andreas_s has joined #openstack-nova04:50
*** udesale has joined #openstack-nova04:50
*** diga has joined #openstack-nova04:52
*** vladikr has quit IRC04:54
*** andreas_s has quit IRC04:54
*** cheneydc has joined #openstack-nova04:59
*** zerda3 has joined #openstack-nova05:00
*** yamamoto has joined #openstack-nova05:10
*** jaosorior has joined #openstack-nova05:12
*** fragatina has joined #openstack-nova05:12
*** fragatina has quit IRC05:14
*** fragatina has joined #openstack-nova05:15
*** yamamoto has quit IRC05:17
*** janki has joined #openstack-nova05:22
*** claudiub has joined #openstack-nova05:22
*** hongbin has quit IRC05:23
*** armax has quit IRC05:23
*** yangyapeng has quit IRC05:24
BenderRodriguezI need help05:25
BenderRodriguezWHenever I try to create an instance, I get the following error and the VM is stuck in the ERROR state when doing openstack server show...05:25
BenderRodriguezThe error message shown in nova-conductor.log is as follows: NoValidHost: No valid host was found. There are not enough hosts available.05:25
BenderRodriguezWhat does this mean?05:25
*** Sukhdev has quit IRC05:26
*** vivsoni has joined #openstack-nova05:30
*** trungnv has joined #openstack-nova05:34
*** gouthamr has quit IRC05:34
*** itlinux has quit IRC05:35
*** ratailor has joined #openstack-nova05:36
*** ratailor has quit IRC05:36
*** ratailor has joined #openstack-nova05:36
*** itlinux has joined #openstack-nova05:38
*** Sukhdev has joined #openstack-nova05:41
*** Sukhdev has quit IRC05:42
openstackgerritTakashi NATSUME proposed openstack/python-novaclient master: Microversion 2.54 - Enable reset keypair while rebuild  https://review.openstack.org/51957205:45
*** itlinux has quit IRC05:51
*** yangyapeng has joined #openstack-nova05:52
*** yangyapeng has quit IRC05:56
*** diga has quit IRC05:58
*** psachin_ has joined #openstack-nova06:00
*** psachin has quit IRC06:01
*** yangyapeng has joined #openstack-nova06:10
*** krtaylor has quit IRC06:14
*** yangyapeng has quit IRC06:15
*** lpetrut_ has joined #openstack-nova06:19
*** slaweq has joined #openstack-nova06:26
*** slaweq has quit IRC06:30
*** krtaylor has joined #openstack-nova06:31
*** yangyapeng has joined #openstack-nova06:36
*** ijw has joined #openstack-nova06:36
openstackgerritGhanshyam Mann proposed openstack/nova master: Merge flavor extensions controller code  https://review.openstack.org/51610406:39
*** zhurong has joined #openstack-nova06:40
*** yangyapeng has quit IRC06:41
openstackgerritZhenyu Zheng proposed openstack/nova master: Add instance action record for attach/detach interface  https://review.openstack.org/51219006:42
*** belmoreira has joined #openstack-nova06:43
*** ijw has quit IRC06:44
openstackgerritZhenyu Zheng proposed openstack/nova master: Add instance action record for attach/detach interface  https://review.openstack.org/51219006:46
*** yangyapeng has joined #openstack-nova06:51
*** ellioth has quit IRC06:54
*** lokioden has joined #openstack-nova06:56
*** diga has joined #openstack-nova06:57
*** markvoelker has quit IRC06:59
*** pcaruana has joined #openstack-nova07:04
*** ijw has joined #openstack-nova07:12
*** phuongnh has quit IRC07:15
*** phuongnh has joined #openstack-nova07:16
*** ijw has quit IRC07:17
*** rcernin has quit IRC07:18
*** esberglu has joined #openstack-nova07:18
*** esberglu has quit IRC07:19
*** esberglu has joined #openstack-nova07:19
*** Oku_OS-away is now known as Oku_OS07:19
*** esberglu has quit IRC07:19
*** psachin_ has quit IRC07:20
*** esberglu has joined #openstack-nova07:20
*** esberglu has quit IRC07:25
*** namnh has quit IRC07:27
*** takashin has left #openstack-nova07:28
*** andreas_s has joined #openstack-nova07:29
*** yamamoto has joined #openstack-nova07:29
*** andreas_s has quit IRC07:29
*** andreas_s has joined #openstack-nova07:29
*** lpetrut_ has quit IRC07:31
*** psachin has joined #openstack-nova07:33
*** sahid has joined #openstack-nova07:34
*** yamamoto has quit IRC07:34
*** yamamoto has joined #openstack-nova07:36
*** psachin has quit IRC07:38
*** lpetrut_ has joined #openstack-nova07:39
*** psachin has joined #openstack-nova07:39
*** tetsuro has quit IRC07:41
*** trungnv has quit IRC07:42
*** zhurong has quit IRC07:43
*** ijw has joined #openstack-nova07:47
*** diga has quit IRC07:53
*** ijw has quit IRC07:53
*** kmalloc has quit IRC07:54
*** markvoelker has joined #openstack-nova08:00
*** AlexeyAbashkin has joined #openstack-nova08:01
*** edand_ has joined #openstack-nova08:03
*** edand_ has quit IRC08:08
*** lpetrut_ has quit IRC08:11
openstackgerritZhenyu Zheng proposed openstack/nova master: Add instance action record for attach/detach/swap volumes  https://review.openstack.org/51720508:13
*** alexchadin has joined #openstack-nova08:24
*** jmlowe has quit IRC08:27
*** amotoki has joined #openstack-nova08:31
*** yamamoto has quit IRC08:34
*** vivsoni has quit IRC08:36
*** lpetrut_ has joined #openstack-nova08:43
*** yamamoto has joined #openstack-nova08:44
*** vivsoni has joined #openstack-nova08:45
*** belmoreira has quit IRC08:47
*** jpena|off is now known as jpena08:49
*** ralonsoh has joined #openstack-nova08:49
*** yamamoto has quit IRC08:49
*** lpetrut_ has quit IRC08:50
*** lpetrut_ has joined #openstack-nova08:50
*** sdatko has joined #openstack-nova08:51
*** gaoyanami has joined #openstack-nova08:52
*** lpetrut_ has quit IRC08:57
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi(N-R-P): Add API to support vgpu resource provider create  https://review.openstack.org/52031309:00
*** alexchadin has quit IRC09:05
*** alexchadin has joined #openstack-nova09:05
*** slaweq has joined #openstack-nova09:06
*** yamamoto has joined #openstack-nova09:14
*** yamamoto has quit IRC09:19
*** yamamoto has joined #openstack-nova09:19
*** derekh has joined #openstack-nova09:20
*** lucas-afk is now known as lucasagomes09:33
openstackgerritNaichuan Sun proposed openstack/nova master: (WIP)xenapi(N-R-P): Add API to support compute node resource provider update and create  https://review.openstack.org/52104109:37
*** cheneydc has quit IRC09:44
*** sridharg has quit IRC09:46
*** alexchadin has quit IRC09:46
*** alexchadin has joined #openstack-nova09:47
*** alexchadin has quit IRC09:57
*** alexchadin has joined #openstack-nova09:58
*** yingjun has quit IRC10:00
*** esberglu has joined #openstack-nova10:01
*** esberglu has quit IRC10:05
*** sapd__ has quit IRC10:09
*** sapd__ has joined #openstack-nova10:14
*** fragatin_ has joined #openstack-nova10:25
*** fragatina has quit IRC10:27
*** slaweq_ has joined #openstack-nova10:28
*** lpetrut_ has joined #openstack-nova10:30
*** slaweq_ has quit IRC10:32
*** yamamoto has quit IRC10:36
*** gmann is now known as gmann_afk10:37
*** annp has quit IRC10:37
*** isp has joined #openstack-nova10:42
ispHi, im using nova.servers.list() to list the instances I have, what could I get the info of each vm? something like nova.servers.show(vmName) or where could I get that functions implemented?10:43
*** yamamoto has joined #openstack-nova10:50
*** phuongnh has quit IRC10:54
*** udesale has quit IRC10:56
*** dtantsur|afk is now known as dtantsur10:57
*** yamamoto has quit IRC10:59
*** abhishekk has quit IRC11:00
*** alexchadin has quit IRC11:04
*** alexchadin has joined #openstack-nova11:05
*** [1]lokioden has joined #openstack-nova11:13
*** claudiub|2 has joined #openstack-nova11:13
*** tetsuro has joined #openstack-nova11:13
*** lokioden has quit IRC11:14
*** [1]lokioden is now known as lokioden11:14
*** lpetrut_ has quit IRC11:14
*** claudiub has quit IRC11:15
*** lpetrut has joined #openstack-nova11:15
*** alexchadin has quit IRC11:17
*** slaweq has quit IRC11:28
*** chyka has joined #openstack-nova11:33
*** carthaca_ has joined #openstack-nova11:34
*** dgonzalez_ has joined #openstack-nova11:34
*** dgonzalez_ has quit IRC11:35
*** carthaca_ has quit IRC11:35
*** chyka has quit IRC11:38
*** tbachman has quit IRC11:43
*** yamamoto has joined #openstack-nova11:44
*** tetsuro has quit IRC11:44
*** snasir has quit IRC11:53
*** ratailor has quit IRC11:54
*** snasir has joined #openstack-nova11:54
*** yamahata has quit IRC11:55
openstackgerritAndrey Kurilin proposed openstack/python-novaclient master: [CLI] Fix token auth type  https://review.openstack.org/42425612:00
openstackgerrityuanyue proposed openstack/nova master: Add log in conductor to mark host for instance creation  https://review.openstack.org/52036912:03
*** yingjun has joined #openstack-nova12:05
openstackgerritAndrey Kurilin proposed openstack/python-novaclient master: [CLI] Fix token auth type  https://review.openstack.org/42425612:07
*** sdague has joined #openstack-nova12:09
*** janki has quit IRC12:11
*** dtantsur is now known as dtantsur|brb12:12
*** yamamoto has quit IRC12:13
*** udesale has joined #openstack-nova12:13
efriedBenderRodriguez This is really a question for the #openstack channel.  But check the compute logs for errors; that should give you a hint as to what went wrong.12:16
openstackgerritAndrey Kurilin proposed openstack/python-novaclient master: [ci] Use pseudo-random names for new resources  https://review.openstack.org/47977712:23
openstackgerritAndrey Kurilin proposed openstack/python-novaclient master: [functional] Remove duplication of boot helper  https://review.openstack.org/52107112:24
*** lucasagomes is now known as lucas-hungry12:33
*** yamamoto has joined #openstack-nova12:33
*** yamamoto has quit IRC12:37
*** sahid has quit IRC12:38
*** smatzek has joined #openstack-nova12:39
*** clayton has quit IRC12:44
*** esberglu has joined #openstack-nova12:45
*** yangyapeng has quit IRC12:45
*** yangyapeng has joined #openstack-nova12:46
*** gcb has quit IRC12:47
*** yangyapeng has quit IRC12:48
*** yangyapeng has joined #openstack-nova12:49
*** esberglu has quit IRC12:49
*** jpena is now known as jpena|lunch12:50
*** yangyapeng has quit IRC12:53
efriedAhdang!12:55
*** efried is now known as fried_rice12:55
*** slaweq has joined #openstack-nova12:57
*** psachin has quit IRC13:01
*** yamamoto has joined #openstack-nova13:01
*** yamamoto has quit IRC13:01
*** dtantsur|brb is now known as dtantsur13:03
*** yamamoto has joined #openstack-nova13:03
*** liuyulong has quit IRC13:16
*** edmondsw has joined #openstack-nova13:17
fried_ricealex_xu Can you please review the nrp series?  https://review.openstack.org/#/c/377138/13:18
*** links has quit IRC13:19
*** edleafe is now known as figleaf13:21
*** tbachman_ has joined #openstack-nova13:24
*** hieulq has quit IRC13:28
*** clayton has joined #openstack-nova13:29
*** janki has joined #openstack-nova13:30
*** lucas-hungry is now known as lucasagomes13:30
*** andreas_s has quit IRC13:33
*** andreas_s has joined #openstack-nova13:33
openstackgerritEd Leafe proposed openstack/nova master: Return Selection objects from the scheduler driver  https://review.openstack.org/49585413:33
*** markvoelker has quit IRC13:34
openstackgerritMerged openstack/python-novaclient master: Remove setting of version/release from releasenotes  https://review.openstack.org/52073313:34
*** markvoelker has joined #openstack-nova13:34
*** slaweq has quit IRC13:34
*** sbezverk has quit IRC13:35
*** sbezverk has joined #openstack-nova13:36
*** andreas_s has quit IRC13:38
*** clayton has quit IRC13:38
*** clayton has joined #openstack-nova13:39
*** jaypipes has joined #openstack-nova13:39
*** dklyle has quit IRC13:48
alex_xufried_rice: yea, that is my next plan13:49
fried_ricealex_xu Cool13:50
*** [1]lokioden has joined #openstack-nova13:50
*** lokioden has quit IRC13:52
*** [1]lokioden is now known as lokioden13:52
*** jpena|lunch is now known as jpena13:52
*** slaweq has joined #openstack-nova13:53
*** artom has quit IRC13:58
*** dtantsur is now known as dtantsur|brb14:03
*** yamamoto has quit IRC14:04
*** gabor_antal_ has quit IRC14:04
*** lyan has joined #openstack-nova14:07
openstackgerritRadoslav Gerganov proposed openstack/nova master: VMware: serial console log (completed)  https://review.openstack.org/45063614:08
*** gouthamr has joined #openstack-nova14:10
*** jaypipes is now known as leakypipes14:13
fried_riceleakypipes Happy Friday!14:14
leakypipesmorning fried_rice! :)14:14
*** yamamoto has joined #openstack-nova14:15
openstackgerritRadoslav Gerganov proposed openstack/nova master: VMware: fix memory stats  https://review.openstack.org/51663414:18
*** mriedem has joined #openstack-nova14:18
*** esberglu has joined #openstack-nova14:21
*** dave-mcc_ has joined #openstack-nova14:24
*** gbarros has joined #openstack-nova14:27
*** udesale has quit IRC14:31
*** smatzek has quit IRC14:31
openstackgerritAndrey Kurilin proposed openstack/python-novaclient master: [functional] Remove duplication of boot helper  https://review.openstack.org/52107114:32
openstackgerritAndrey Kurilin proposed openstack/python-novaclient master: [ci] Use pseudo-random names for new resources  https://review.openstack.org/47977714:32
*** smatzek has joined #openstack-nova14:32
*** smatzek has quit IRC14:32
*** smatzek has joined #openstack-nova14:32
*** karthiks has quit IRC14:36
*** smatzek has quit IRC14:37
openstackgerritAndrey Kurilin proposed openstack/python-novaclient master: [functional] Remove duplication of boot helper  https://review.openstack.org/52107114:39
openstackgerritAndrey Kurilin proposed openstack/python-novaclient master: [ci] Use pseudo-random names for new resources  https://review.openstack.org/47977714:39
*** READ10 has joined #openstack-nova14:40
*** yamamoto has quit IRC14:44
*** hongbin has joined #openstack-nova14:48
ArchiFleKshi do you know how to enable soft-(anti)-affinity in nova ? I have the soft_affinity_weight_multiplier define in nova but the api response : openstack server group create: error: argument --policy: invalid choice: u'soft-anti-affinity' (choose from 'affinity', 'anti-affinity'). I'm on stable/pike14:48
mriedemArchiFleKs: the soft policies have to be used with a microversion when creating the group14:49
mriedemhttps://developer.openstack.org/api-ref/compute/#create-server-group14:49
mriedem"This policy was added in microversion 2.15."14:49
*** yamamoto has joined #openstack-nova14:50
mriedemso send -H "X-OpenStack-Nova-API-Version: 2.15"14:50
*** amodi has joined #openstack-nova14:51
ArchiFleKsmriedem: my current version says 2.5314:52
*** yamamoto has quit IRC14:54
*** yingjun has quit IRC14:55
mriedemcurrent version?14:56
mriedemare you sending a microversion header in the request when creating the server group?14:56
mriedemwhat tool are you using to create the server group? nova CLI? curl, other?14:56
*** ratailor has joined #openstack-nova14:57
*** yamahata has joined #openstack-nova14:58
*** smatzek has joined #openstack-nova14:58
openstackgerritMatt Riedemann proposed openstack/nova master: Check quota before creating volume snapshots  https://review.openstack.org/52015814:59
*** smatzek has quit IRC14:59
*** psachin has joined #openstack-nova14:59
*** smatzek has joined #openstack-nova14:59
*** janki has quit IRC15:00
*** yingjun has joined #openstack-nova15:01
ArchiFleKsmriedem: "status": "CURRENT", "updated": "2013-07-23T11:33:21Z", "links": [{"href": "https://compute:8774/v2.1/", "rel": "self"}], "min_version": "2.1", "version": "2.53", "id": "v2.1"}]}. I'd like to do it with openstack cli15:01
*** dtantsur|brb is now known as dtantsur15:02
ArchiFleKscan I pass microversion with --os-compute-api-version ?15:02
*** mlavalle has joined #openstack-nova15:03
mriedemArchiFleKs: that's just the version doc15:03
mriedemtelling you what the compute endpoint supports15:03
mriedemmicroversions are per-request15:03
mriedemand have different meanings15:03
mriedemnova CLI defaults to the latest available microversion in the compute endpoint and what the client side code understands,15:03
mriedemopenstack CLI does not do that15:04
mriedemso with OSC, you'll need to specify the --os-compute-api-version option15:04
mriedemopenstack --os-compute-api-version 2.15 server group create ...15:04
mriedemsomething like that15:04
*** artom has joined #openstack-nova15:04
mriedemfyi https://developer.openstack.org/api-guide/compute/microversions.html https://docs.openstack.org/nova/latest/reference/api-microversion-history.html15:05
ArchiFleKsmriedem: thanks15:06
openstackgerritEric Fried proposed openstack/nova master: ProviderTree.all_by_uuid()  https://review.openstack.org/52024315:07
openstackgerritEric Fried proposed openstack/nova master: Scheduler set_inventory_for_provider does nested  https://review.openstack.org/52064315:07
openstackgerritEric Fried proposed openstack/nova master: SchedulerReportClient._get_providers_in_tree  https://review.openstack.org/52066315:07
openstackgerritEric Fried proposed openstack/nova master: ProviderTree.populate_from_iterable  https://review.openstack.org/52075615:08
openstackgerritEric Fried proposed openstack/nova master: WIP: Use update_provider_tree from resource tracker  https://review.openstack.org/52024615:08
openstackgerritEric Fried proposed openstack/nova master: SchedulerReportClient._get_providers_in_aggregates  https://review.openstack.org/52109715:08
openstackgerritEric Fried proposed openstack/nova master: WIP: Scheduler[Report]Client.get_provider_tree  https://review.openstack.org/52109815:08
*** Apoorva has joined #openstack-nova15:08
*** eharney has joined #openstack-nova15:08
ArchiFleKsmriedem: I tried to do that with os-compute-api-version but it stil fails, I can see that the compute version used is 2.15 in the --debug log though15:08
*** yingjun has quit IRC15:08
*** artom_ has joined #openstack-nova15:09
*** andreas_s has joined #openstack-nova15:09
ArchiFleKsmriedem: but it works with nova cli15:09
mriedemcan you put the osc --debug output in a paste?15:09
*** yingjun has joined #openstack-nova15:10
*** coreywright has quit IRC15:10
*** armax has joined #openstack-nova15:11
*** udesale has joined #openstack-nova15:11
*** udesale has quit IRC15:12
*** artom has quit IRC15:12
fried_riceleakypipes I have a test error in https://review.openstack.org/#/c/520643/ which I'm fixing, but would you please take a look and let me know if you're satisfied with my other responses, so I can make all the changes at once?15:12
*** andreas_s has quit IRC15:13
*** marst has joined #openstack-nova15:15
*** jaosorior has quit IRC15:19
*** Apoorva has quit IRC15:21
zigobauzas: Hi there! Do you know if Nova 16.0.3 includes CVE-2017-16239_Validate_new_image_via_scheduler_during_rebuild.patch ?15:21
zigoIt looks like it to me...15:21
zigoBut I'd like to be 100% sure.15:21
* zigo looks at the git log15:21
bauzaszigo: AFAIR, yes15:22
leakypipesfried_rice: yup, doing now.15:22
zigobauzas: The git log shows it does. I'll push that to Debian unstable then.15:22
*** coreywright has joined #openstack-nova15:23
*** yingjun has quit IRC15:23
*** david-lyle has joined #openstack-nova15:24
*** liuyulong has joined #openstack-nova15:24
ArchiFleKsmriedem: http://paste.openstack.org/show/626622/15:24
zigobauzas: Do you know if that bug can be triggered by someone just having a tenant in the cloud, or is it less grave?15:25
openstackgerritNguyen Van Trung proposed openstack/nova-specs master: Add validation to improve pep8 check for nova-specs project  https://review.openstack.org/51956115:26
zigobauzas: I'm just trying to figure out if I should upload to stretch-security or just to the next point release...15:26
bauzaszigo: I need to disappear for a couple of minutes (children at school)15:26
zigoSure !15:27
zigomriedem: Maybe you could reply to me about this?15:28
mriedemArchiFleKs: that looks like a bug in openstackclient15:28
mriedemi wonder if it's whitelisting the policy options15:28
zigomriedem: The question was: for the last CVE on Nova (re-schedule issue), can it be triggered by a non-priviledged tenant, or is it just an admin issue?15:28
mriedemzigo: tenant15:29
zigomriedem: Allright, so this grants a debian-security upload then.15:29
zigoThanks.15:29
mriedemcreate server with image A, rebuild server with image B15:29
*** ratailor has quit IRC15:31
*** itlinux has joined #openstack-nova15:31
mriedemleakypipes: fried_rice: fyi, cyborg is looking for some granuler provider filtering stuff in placement, https://etherpad.openstack.org/p/cyborg-feature-tag - looking over that, it sounds like they are looking for a solver scheduler though15:34
fried_ricemriedem Cool, looking...15:34
fried_ricemriedem What's a "solver scheduler"?15:34
mriedemhttps://www.youtube.com/watch?v=Fsw-hjtQ8e415:34
mriedemhttps://github.com/openstack/nova-solver-scheduler15:34
*** lyan has quit IRC15:35
*** yamamoto has joined #openstack-nova15:35
mriedemalternative to filter scheduler with pluggable filters/weighers for custom optimizations15:35
mriedemlong before placement15:35
zigomriedem: If you don't mind the comment: it'd be nice, next time, to include the CVE number in the patch description. I'll talk about it to Tristant.15:35
leakypipesmriedem: you lose your conversation rights with leakypipes for bringing up solver scheduler.15:35
mriedemzigo: the CVE number didn't exist when i wrote the patches15:36
mriedemsorry15:36
leakypipesmriedem: I'm just kidding :)15:36
*** ayoung has joined #openstack-nova15:37
mriedemi was saying sorry to zigo15:37
mriedem:)15:37
mriedemnot the leakiest of pipes15:37
*** vladikr has joined #openstack-nova15:37
leakypipeswell, I retract my kidding, then :P15:37
mriedemleakypipes: if it makes you feel better, they also want this in k8s15:37
mriedemso sharing the load15:37
leakypipesmriedem: heh15:38
mriedemopenstack can still ruin k8s yet!15:38
ayoungmriedem, well one way we can catch up to Kubernetes is to fix our RBAC15:38
ayoungand on that note, can we please merge https://review.openstack.org/#/c/384148/  as I've been chasing this now for over a year.  The tests run right now, and I'd like to avoid more breakages15:39
mriedemayoung: will fixing our rbac get me to a thinner slimmer openstack for the edge? because that's all anyone cares about15:39
ayoungmriedem, absolutely15:39
*** yamamoto has quit IRC15:39
openstackgerritSurya Seetharaman proposed openstack/nova master: instance_mapping/request_spec records exist even after the instances are archived  https://review.openstack.org/51503415:40
ayoungmriedem, it will help with all members of U215:40
*** derekh has quit IRC15:40
artom_mriedem, we should start with an openstack with sunglasses for bono, then we can think about the edge15:40
*** artom_ is now known as artom15:40
*** gaoyanami has quit IRC15:40
ayoungStart with the Drummer.  He's the sensible one15:40
mriedemhttps://www.youtube.com/watch?v=UJXqnYCWW7Y15:40
ayoungAnyone, fixing this bug requires getting changes into absolutely every project in OpenStack, and it is not a fun thing to chase15:41
*** itlinux has quit IRC15:42
ayoungits coming up more and more, we are getting dupes of bug filings for it, and the requests for RBAC changes that cannot be done without proper scoping are piling up15:42
ayoungI have a T-shirt for whomever finally pulls the trigger on it15:43
*** itlinux has joined #openstack-nova15:44
mriedemArchiFleKs: this is the bug https://github.com/openstack/python-openstackclient/blob/master/openstackclient/compute/v2/server_group.py#L5815:45
zigoNow I get this when building Nova 16.0.3: http://paste.openstack.org/show/626628/15:45
mriedemArchiFleKs: osc is hard-coding the choices for the server group policies15:45
zigoThis really looks like a broken test, rather than an issue in Nova itself.15:46
mriedemArchiFleKs: https://bugs.launchpad.net/python-openstackclient/+bug/173293815:47
openstackLaunchpad bug 1732938 in python-openstackclient "Unable to create server group with soft-anti-affinity policy using microversion 2.15" [Undecided,New]15:47
*** ayoung has quit IRC15:48
mriedemzigo: yes, although the test is mocking out that call15:49
mriedemtest_validate_volume_no_mtab_entry15:49
mriedemoops15:49
mriedem@mock.patch.object(psutil, "disk_partitions")15:49
*** ayoung has joined #openstack-nova15:49
mriedemzigo: oh that's not fixed in pike15:50
mriedemsec15:50
openstackgerritMatt Riedemann proposed openstack/nova stable/pike: Fix quobyte test_validate_volume_no_mtab_entry  https://review.openstack.org/52111815:50
mriedemzigo: ^15:50
zigomriedem: Wonderful, that's very helpful for me, and much better than blacklisting the test.15:51
mriedemeasy bp win https://review.openstack.org/#/c/450636/15:57
*** artom_ has joined #openstack-nova16:00
ArchiFleKsmriedem: thanks a lot i'll follow that16:01
*** david-lyle has quit IRC16:02
*** lyan has joined #openstack-nova16:02
*** david-lyle has joined #openstack-nova16:03
*** artom has quit IRC16:04
bauzasmriedem: indeed, will look into the vmware log change16:05
*** Oku_OS is now known as Oku_OS-away16:05
*** AlexeyAbashkin has quit IRC16:05
*** artom__ has joined #openstack-nova16:06
*** gyee_ has joined #openstack-nova16:09
*** artom_ has quit IRC16:09
*** yamamoto has joined #openstack-nova16:20
*** slaweq has quit IRC16:21
*** yamamoto has quit IRC16:25
*** jaypipes has joined #openstack-nova16:27
*** leakypipes has quit IRC16:28
*** jaypipes is now known as leakypipes16:28
*** artom__ is now known as artom16:29
cfriesenmriedem: are you planning on updating https://review.openstack.org/#/c/520660/ to query the volume image metadata?  (Using _get_bdm_image_metadata() maybe?).  If not would you like me to take a crack at it?16:37
mriedemyeah planning on it, was just looking at something related to that16:37
*** jistr has quit IRC16:39
fried_riceIs the multi-node business (e.g. in resource_tracker _init_comput_host) *only* ironic?16:42
fried_ricejohnthetubaguy leakypipes mriedem ^16:42
*** jistr has joined #openstack-nova16:43
leakypipesfried_rice: no. also vCenter, IIRC.16:44
fried_ricek16:44
*** gfhellma has joined #openstack-nova16:44
leakypipesfried_rice: but Ironic is the canonical example, yes.16:44
dansmithleakypipes: no, it's only ironic16:44
leakypipesdansmith: oh?16:44
* leakypipes waits for superdan to appear.16:44
*** Guest95810 has quit IRC16:44
dansmiththere was a vmware use of it long ago but it's been gone for a while16:45
*** gfhellma has quit IRC16:45
leakypipesah, k16:45
* dansmith is nowhere near super today16:45
*** gfhellma_ has joined #openstack-nova16:45
leakypipesdansmith: no? :(16:45
dansmithleakypipes: I'm still suffering from Australia Pox16:45
dansmiththe country really does try to kill people16:45
leakypipesouch.16:46
*** ijw has joined #openstack-nova16:46
*** yamahata has quit IRC16:47
mriedemi think the vcenter multinode thing was removed in kilo16:48
*** lucasagomes is now known as lucas-afk16:48
mriedemliberty: https://github.com/openstack/nova/commit/2f7403bd7200a01e350cde9182c273562e0c9c62#diff-9c54c69030bce3e6af0deba002ab6b2716:50
*** Apoorva has joined #openstack-nova16:51
fried_riceDig, thanks y'all.16:51
*** ijw has quit IRC16:52
*** chyka has joined #openstack-nova16:53
leakypipesfried_rice: you on the unit test failure beginning in https://review.openstack.org/#/c/520643/?16:59
fried_riceleakypipes Yes, it's in my sandbox.17:00
leakypipeskk17:00
leakypipesjust checkin.17:00
fried_riceleakypipes I'm not hurrying to push it up, since there's so many patches in front of that subseries.17:00
leakypipesk, np. you'd just asked me to review that and the ones above it.17:00
leakypipesin any case, I've added my thoughts.17:00
leakypipesfried_rice: ^17:01
fried_riceleakypipes Yeah, the ones not marked WIP should be ready, and (assuming no review-prompted changes) should only need rebases once that UT fix goes in.17:01
*** psachin has quit IRC17:02
*** fried_rice is now known as fried_rolls17:06
mriedemcfriesen: oh another thing, today we *always* update instance.image_ref to the new image id provided during rebuild, so even if you rebuild a bfv instance with the same image as the original, we break that contractual thing in the API where instance.image_ref == None means volume-backed17:09
*** tbachman_ is now known as tbachman17:13
tbachmanfried_rolls: menu change?17:14
cfriesenyeah...was thinking that we'd have to modify your patch to make that update conditional on BFV, and potentially deal with fallout from code expecting instance.image_ref to be set17:14
cfriesenmriedem: ^17:15
mriedemcode as in rebuild code in the compute service?17:17
*** yamamoto has joined #openstack-nova17:18
*** yamamoto has quit IRC17:19
openstackgerritAndrey Kurilin proposed openstack/python-novaclient master: [functional] Remove duplication of boot helper  https://review.openstack.org/52107117:20
openstackgerritAndrey Kurilin proposed openstack/python-novaclient master: [ci] Use pseudo-random names for new resources  https://review.openstack.org/47977717:20
cfriesenmriedem: yes17:21
mriedemproblem with that is, we could have backlevel computes, assuming there would need to be a change in the computes to handle that17:22
cfriesenmriedem: alternately we'd have to switch to some other method of representing BFV, or else have nova-api null it out for BFV instances17:22
mriedembut it shouldn't be a problem b/c i think we pass the new image_id down through rpc17:22
*** hemna_ has quit IRC17:23
*** hemna_ has joined #openstack-nova17:23
cfriesenmriedem: just realized that _get_bdm_image_metadata() will give the image metadata, but not the image id itself.17:24
mriedemyeah it should because of compute.utils.get_image_metadata_from_volume17:26
mriedemoh nvm you're right17:26
mriedemi think17:26
cfriesenthat loops over VIM_IMAGE_ATTRIBUTES and pops them17:26
*** andreas_s has joined #openstack-nova17:30
cfriesenmriedem: I think we want something like this...totally untested and partly copied from_get_bdm_image_metadata() :  http://paste.openstack.org/show/626644/17:30
cfriesencould even move it down a bit after we calculate root_bdm and save doing it twice.17:33
*** ralonsoh has quit IRC17:33
*** Apoorva has quit IRC17:34
*** andreas_s has quit IRC17:35
*** brault has quit IRC17:39
cfriesenmriedem: new version, cleaned up a bit:  http://paste.openstack.org/show/626648/17:41
*** akekane has joined #openstack-nova17:41
*** akekane is now known as abhishekk17:42
mriedemyou shouldn't need "if snapshot_id:"17:42
mriedema bdm that is attached to an instance should always have volume_id set17:42
mriedemif you bfv with a snapshot, nova creates a volume from the snapshot and stores the created volume_id on the bdm17:42
cfriesenah, okay17:43
mriedemfeel free to update my change with a co-author17:43
mriedemi'm in the middle of something else17:43
cfriesensure17:43
cfriesenshould solve the other bug as well I think, by not going through the scheduler if they're the same17:43
*** salv-orlando has joined #openstack-nova17:46
*** salv-orl_ has quit IRC17:46
*** dtantsur is now known as dtantsur|afk17:48
openstackgerritChris Friesen proposed openstack/nova master: WIP: Fail fast if changing image on a volume-backed server rebuild  https://review.openstack.org/52066017:48
cfriesencrud, messed that up17:50
openstackgerritChris Friesen proposed openstack/nova master: WIP: Fail fast if changing image on a volume-backed server rebuild  https://review.openstack.org/52066017:52
alaski\quit17:54
alaski\quit17:54
alaskigrr17:54
dansmithcover. blown.17:54
*** gfhellma_ has quit IRC18:02
*** gbarros has quit IRC18:02
*** esberglu has quit IRC18:03
*** abhishekk has quit IRC18:07
leakypipesmriedem: bottom five patches in validate_provider_summaries series are signed off by alex now, starting here: https://review.openstack.org/#/c/51677818:10
*** sapcc-bot2 has quit IRC18:12
*** sapcc-bot has joined #openstack-nova18:12
*** jpena is now known as jpena|off18:14
*** Apoorva has joined #openstack-nova18:17
*** Apoorva has quit IRC18:17
*** tbachman has quit IRC18:17
*** Apoorva has joined #openstack-nova18:18
*** Swami has joined #openstack-nova18:19
*** yamamoto has joined #openstack-nova18:19
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: Add regression test for rebuild with new image doubling allocations  https://review.openstack.org/52115318:19
mriedemdansmith: ^18:19
mriedemgonna work on the todo in there to not use placement for getting the usage18:20
dansmithmriedem: you wanna I work on the actual fix then?18:20
mriedemif you have a pretty clear idea on how to start it, sure18:20
dansmithI don't have pretty clear anything these days, but I'll get it rolling18:20
dansmithmriedem: you specifically don't want to revert and re-fix then?18:21
mriedemidk18:21
mriedemalso, bypassing filters is one thing, but we'd also have to apply that to bypassing placement18:21
dansmithfor my backports it'd be much cleaner if we reverted,18:21
dansmithbut I understand the optics of reverting a cve18:21
*** gbarros has joined #openstack-nova18:24
*** yamamoto has quit IRC18:27
dansmithmriedem: imagepropertiesfilter is what will kick out your test instance right?18:36
mriedemin which test?18:36
mriedemtest_rebuild_with_image_novalidhost18:36
dansmithyour new one18:37
dansmithtest_rebuild_with_new_image18:37
mriedemin the new test, the scheduler doesn't kick it out18:37
mriedemit asserts that it's incorrectly doubling allocations18:37
dansmithbut you're changing a thing that properties filter would kick out/18:37
mriedemif i maxed out inventory on the node before the rebuild, then placement would kick it out18:37
mriedem?18:38
mriedemthat's the test that went with the cve18:38
dansmithright, what am I thinking.18:38
mriedemare you expecting the new test to create, fill up compute capacity, then rebuild and fail?18:39
dansmithno18:39
mriedemok - we probably want a test like that anyway, what i'm testing in the new one is something else, and equally bad18:39
dansmithI still have mitaka on the brain, I was forgetting that master is already "fixed"18:39
*** gfhellma has joined #openstack-nova18:40
dansmithmriedem: so your test_rebuild_with_image_novalidhost passes if I remove your requested_destination= change18:44
dansmithdoes that test actually have more than one compute in it?18:45
mriedemno it doesn't18:45
mriedemit passes because the rebuild fails yes?18:46
dansmithwell, I dunno, I'll have to look deeper18:47
dansmithit fails if I also remove the host=None trigger18:47
dansmithso it's failing to schedule even without the destination set18:48
dansmithI guess that makes sense actually if there's only one host18:50
mriedemhmm, if you remove the host=None from the API, we pass instance.host which should bypass the scheduler18:50
dansmithright, which is just the old behavior, which means it doesn't fail and so the test fails18:51
mriedemthe test will fail if you remove host=None b/c it's asserting that rebuild raises a 50018:51
mriedemyeah18:51
dansmithit's just hard to be confident that it's working when you set destination=theonlyone18:51
mriedemyeah, we can easily spin up another compute in the test before the rebuild part18:52
dansmithwell, about that18:52
dansmithI'm also wondering if we should have asserted that the host we got from the scheduler is the same host18:52
dansmithbecause we're assuming that since we asked for the same host we either got it back or got nothing,18:52
dansmithbut if we got back something different we'd kindof half evacuate18:52
dansmithyou know, another way this breaks existing rebuilds,18:54
mriedemso assert that once the rebuild is done, the original instance.host matches the new instance.host18:54
dansmithis if the admin has set the compute=disabled so that no new things go to that compute, you suddenly can't rebuild anymore, which should be possible18:54
dansmithassert in the test you mean?18:54
mriedemyeah in the test18:55
dansmiththat makes it non-deterministic though18:55
dansmithbecause sometimes we'll get back the same host by chance18:55
mriedemif we had 2 hosts,18:55
mriedemand used a weigher so that the scheduler would normally always pick the *other* host18:55
mriedemthen assert that the rebuild never actually moves the instance18:55
dansmithyeah, just more complicated18:56
mriedemalso, yes, i didn't think about rebuilding on a disabled compuete18:56
mriedem*compute18:56
mriedemsuppose you thought about that b/c of the evacuate thing18:56
dansmithI was thinking about ways to ensure we get the other host in the test :)18:57
dansmithactually, the default fake driver only has one vcpu, so we might always get the other one by virtue of that18:58
mriedemSmallFakeDriver has 2 vcpus18:58
mriedemthat had to be updated b/c of our doubling up tests18:58
dansmithI made them use the Medium one19:00
dansmithhttps://github.com/openstack/nova/blob/master/nova/tests/functional/test_servers.py#L121619:00
dansmithwe changed the small one too?19:00
mriedemyeah, when the tests were switched from using the chance scheduler to the filter scheduler19:02
mriedemsince filter scheduler is using placement and does the claims19:02
mriedemI12de2e195022593ea2a3e2894f2c3b5226930d4f19:02
dansmithhrm19:05
dansmithhmm, seems like all weighers are enabled by default, which would mean we'd pick the other node by default19:09
*** lpetrut has quit IRC19:09
mriedemb/c packing?19:13
mriedemwe have some functional tests which provide a custom weigher so the test can control which hosts are picked19:13
mriedemblarg, i can't change https://review.openstack.org/#/c/521153/ to use the hypervisors api to check for a doubling up of allocations using the *_used values on the compute node b/c rebuild doesn't do an RT claim19:15
mriedemso there goes that idea19:15
dansmithI think I'm not really starting up the other computes like I think19:16
*** fried_rolls is now known as fried_rice19:17
*** tbachman has joined #openstack-nova19:20
ericyoungI've got a review up for adding ScaleIO ephemeral volume support.19:21
ericyoungit needs to be rebased, any idea when people might start looking at it?19:21
ericyounghttps://review.openstack.org/#/c/407440/19:21
*** marst has quit IRC19:21
*** marst_ has joined #openstack-nova19:21
ericyoungif soo, I will prioritize the rebase19:21
*** fragatin_ has quit IRC19:22
dansmithmriedem: also note the use of samehost=foo will require SameHostFilter to be enabled, which isn't by default19:24
mriedemyeah19:26
*** tdurakov has joined #openstack-nova19:27
*** marst_ has quit IRC19:27
openstackgerritChris Friesen proposed openstack/nova master: WIP: Fail fast if changing image on a volume-backed server rebuild  https://review.openstack.org/52066019:28
*** itlinux has quit IRC19:31
fried_riceleakypipes Talk to me about how the resources from get_available_resource are dealt with today, vis-à-vis placement.19:31
fried_riceDo we *just* peel out the CPU, mem, and disk, and let the rest percolate through the old-school way?19:31
leakypipesfried_rice: depends on the virt drive.19:31
leakypipesdriver...19:31
leakypipesfried_rice: for libvirt, yes, that's what we do. for ironic, we also handle the custom resource class if the Ironic node's resource_class attribute is set.19:32
leakypipesfried_rice: get_available_resource() is still called for both of those drivers, though. the result of get_available_resource() is used to track NUMA and PCI device resources.19:32
*** itlinux has joined #openstack-nova19:33
fried_riceleakypipes The ironic thing is done via get_inventory, though, nah?19:34
leakypipesfried_rice: yes, sorry, that's what I thought you were asking about.19:34
*** gouthamr has quit IRC19:35
leakypipesfried_rice: we don't "peel anything out" of the get_available_resource() response. rather, the get_available_resource() return is simply ignored by placement/reportclient.19:35
fried_riceleakypipes Eh?  /me scours code...19:36
fried_riceleakypipes I can easily see how one would convert from get_inventory() to update_provider_tree() -- what I'm wondering about (more long term, really) is how/when one would be able to get rid of get_available_resource() altogether.19:36
fried_riceSounds like this series won't be the thing that allows that to happen.19:36
leakypipesfried_rice: no, it won't. we will need to handle NUMA stuff before that's a reality.19:37
leakypipesfried_rice: but no *new* code is being allowed in the get_available_resource() calls...19:37
*** Sukhdev has joined #openstack-nova19:38
fried_riceleakypipes Humph, indeed I can't find where get_available_resource is parlayed into placement inventory -- but then how does the scheduler work for non-get_inventory()-implementin virt drivers?19:39
openstackgerritMerged openstack/nova master: begin refactor AllocCandidates._get_by_filters()  https://review.openstack.org/51677819:40
fried_riceleakypipes Woot! ^19:41
leakypipes:)19:41
leakypipesfried_rice: I think all virt drivers implement get_inventory() by now.19:42
fried_riceleakypipes Nope - PowerVM for sure not.19:42
fried_ricein tree or out of tree.19:42
fried_riceleakypipes Yeah, and yet when I look in the placement DB on my PowerVM compute node, I see a RP entry for the compute node and inventory for VCPU, MEMORY_MB, and DISK_GB.19:43
fried_riceAt least, I thought I did.  Looking again...19:43
leakypipesfried_rice: then there would be no resource providers in the placement/API DB. which AllocationCandidates.get_by_filters() would return [], [], which will trigger shceudler to do a ComputeNodeList.get_all() which will use the vcpus, memory_mb, and local_gb fields in the cell compute_nodes tables and those fields are populated with the get_available_resource() results.19:44
fried_riceleakypipes And that... populates the placement DB with those values?19:44
fried_riceCause I confirmed19:45
fried_riceleakypipes http://paste.openstack.org/show/626656/19:45
fried_riceleakypipes And no get_inventory in https://github.com/openstack/nova-powervm/blob/master/nova_powervm/virt/powervm/driver.py19:46
leakypipesfried_rice: https://github.com/openstack/nova/blob/master/nova/compute/resource_tracker.py#L82419:47
leakypipesfried_rice: there is a hack in the scheduler client that sets the inventory based on the vcpus, memory_mb and local_gb of the compute node if the get_inventory() method is missing.19:47
leakypipesfried_rice: see the code comment directly above that...19:48
leakypipes            # Eventually all virt drivers will return an inventory dict in the19:48
leakypipes            # format that the placement API expects and we'll be able to remove19:48
leakypipes# this code branch19:48
fried_riceleakypipes _compute_node_to_inventory_dict - booya.19:48
fried_riceleakypipes Thanks for keeping me sane.19:48
leakypipesno problemo.19:49
dansmithmriedem: um.. I can't update a service to disable it in 2.3819:50
*** itlinux has quit IRC19:50
dansmithmriedem: and the schema makes it sound like we can't except in >=2.53, but... we've been able to do that forever, no?19:50
dansmithv211 has a disabled_reason=, but no status= property for me to set to disabled...19:51
*** fragatina has joined #openstack-nova19:54
*** itlinux has joined #openstack-nova19:55
dansmithah, I guess it was an action before19:57
*** Apoorva has quit IRC20:01
openstackgerritMerged openstack/nova master: build ProviderSummary objects in sep function  https://review.openstack.org/51677920:02
*** slaweq has joined #openstack-nova20:05
*** lpetrut has joined #openstack-nova20:06
*** vivsoni has quit IRC20:09
*** vivsoni has joined #openstack-nova20:09
*** gbarros has quit IRC20:15
mriedemdansmith: yeah, 2.53 is a PUT api20:22
dansmithyeah, I didn't realize20:22
dansmithI'm close to a prototype to push up, fyi20:22
openstackgerritEd Leafe proposed openstack/nova master: Add Selection objects  https://review.openstack.org/49923920:24
openstackgerritEd Leafe proposed openstack/nova master: Refactor the code to check for sufficient hosts  https://review.openstack.org/52024220:24
openstackgerritEd Leafe proposed openstack/nova master: Return Selection objects from the scheduler driver  https://review.openstack.org/49585420:24
openstackgerritEd Leafe proposed openstack/nova master: Modify select_destinations() to return objects and alts  https://review.openstack.org/51015920:24
openstackgerritEd Leafe proposed openstack/nova master: Change RPC for select_destinations()  https://review.openstack.org/51670720:24
openstackgerritEd Leafe proposed openstack/nova master: Move the claim_resources method to scheduler utils  https://review.openstack.org/51135720:24
openstackgerritEd Leafe proposed openstack/nova master: Make conductor pass and use host_lists  https://review.openstack.org/51135820:24
mriedemdansmith: ok. i had to step away for a bit to clear my head - hadn't taken a break since i started today. i think i'm going to write a regression test for https://bugs.launchpad.net/nova/+bug/1732947 since i think rebuild + bfv with new image is something we need to fix anyway20:26
openstackLaunchpad bug 1732947 in OpenStack Compute (nova) "volume-backed instance rebuild with no image change is still going through scheduler" [Undecided,In progress] - Assigned to Chris Friesen (cbf123)20:26
mriedemand rebuild + bfv with original image for that matter20:26
dansmithokay20:26
openstackgerritDan Smith proposed openstack/nova master: WIP: Alternate fix for validating image on rebuild  https://review.openstack.org/52118620:27
dansmithmriedem: when you get a sec, let me explain my thinking in that test to make sure it's sound20:28
mriedemi think i get it20:30
mriedemwe still have the allocation doubling up issue, but that's a separate problem20:31
*** READ10 has quit IRC20:31
dansmithyeah20:32
dansmithso if this is what you want, I need to go change the rest of the filters that are placement related to skip like this one does20:33
*** vladikr has quit IRC20:33
dansmithmriedem: there's also the question of just doing this, or putting a straight revert in front20:36
dansmithas this is, I'd have to backport the broken one first before I can backport this20:37
dansmithwhich I can do for sure, but I'd vote to cleanly revert and re-fix20:37
openstackgerritEric Fried proposed openstack/nova master: ProviderTree.uuid_set()  https://review.openstack.org/52024320:38
openstackgerritEric Fried proposed openstack/nova master: Scheduler set_inventory_for_provider does nested  https://review.openstack.org/52064320:38
openstackgerritEric Fried proposed openstack/nova master: SchedulerReportClient._get_providers_in_tree  https://review.openstack.org/52066320:38
openstackgerritEric Fried proposed openstack/nova master: SchedulerReportClient._get_providers_in_aggregates  https://review.openstack.org/52109720:38
openstackgerritEric Fried proposed openstack/nova master: ProviderTree.populate_from_iterable  https://review.openstack.org/52075620:38
openstackgerritEric Fried proposed openstack/nova master: WIP: Scheduler[Report]Client.get_provider_tree  https://review.openstack.org/52109820:38
openstackgerritEric Fried proposed openstack/nova master: WIP: Use update_provider_tree from resource tracker  https://review.openstack.org/52024620:38
openstackgerritEric Fried proposed openstack/nova master: WIP: ComputeDriver.update_provider_tree()  https://review.openstack.org/52118720:38
fried_riceleakypipes Nits all fixed up ^20:38
leakypipesfried_rice: ah, you went with uuid_set(). noice.20:39
fried_riceleakypipes I took the hint :)20:39
leakypipesfried_rice: it was a gentle hint. :)20:39
mriedemdansmith: comments inline20:39
mriedemdansmith: and yeah, not sure about the revert at this point20:40
fried_riceleakypipes This -1 was on the wrong patch btw - it stuck around after the rebase: https://review.openstack.org/#/c/520663/20:40
fried_riceleakypipes ...just so you didn't bypass that guy for thinking you'd already seen it.20:41
leakypipesfried_rice: gotcha.20:41
leakypipesfried_rice: soon as tests complete, will re-review the series.20:41
fried_riceleakypipes Dig20:42
mriedemi'll work on the recreate test for https://bugs.launchpad.net/nova/+bug/1732947 and come back20:42
openstackLaunchpad bug 1732947 in OpenStack Compute (nova) "volume-backed instance rebuild with no image change is still going through scheduler" [Undecided,In progress] - Assigned to Chris Friesen (cbf123)20:42
*** itlinux has quit IRC20:43
openstackgerritMatt Riedemann proposed openstack/nova master: Add regression test for rebuild with new image doubling allocations  https://review.openstack.org/52115320:45
dansmithmriedem: abstractmethod implies that we change the base filter to inherit from ABCMeta which is more change20:45
dansmithmriedem: we could also flip this and make the filters all skip if we're doing this policy check, unless they're opt-in as policy filters20:46
dansmithmriedem: and then just have them set POLICY=True in their class definition20:46
mriedemyeah i was thinking we could avoid the abc if we just have a default in the base and override in the subclasses20:46
mriedemlike we do for calling placement for the scheduler drivers20:47
dansmithmriedem: and you want the default to be not-policy so we just override the ones that are policy?20:47
mriedemif that means fewer overrides, then i think yes20:47
dansmithI think it will20:48
mriedemwe want the default to be whatever the majority of filters want20:48
mriedemok20:48
dansmitheither way, I think the overrides should be in the policy ones, not the resource ones20:48
mriedemyeah, like the affinity filters right?20:48
dansmither, I guess I have the override in the placementy one right now20:48
dansmithlemme try to actually count how many overrides in each case20:48
mriedemplacementy == ram/disk/core filters?20:49
dansmithyeah, mostly resource filters, except computefilter isn't really resourcey but is in that bucket20:49
mriedemyeah that one is tricky20:49
mriedemi was thinking about what you said about the computefilter not working for rebuild now,20:50
mriedembut that's only if you're rebuilding with a new image,20:50
mriedemand rebuilding with a new image on a disabled compute, that might not be the worst thing if we don't allow it20:50
mriedembut it is a change20:50
*** Sukhdev has quit IRC20:51
dansmithI think there are about 9 policy filters20:51
*** eharney has quit IRC20:51
dansmithmaybe the best thing to do would be to just mark them all as either policy or not20:51
*** jmlowe has joined #openstack-nova20:55
*** jape2 has joined #openstack-nova20:57
artomWe still a need default - can't operators have custom filters?20:58
mriedemthey can20:58
mriedembut,20:58
mriedemrelease note20:58
artomReally, that's enough?20:58
mriedemthere isn't an api contract on out of tree things20:58
jape2Hi. is this the right place to ask for help regarding hyperv and dvr support for openstack pike?20:58
dansmithartom: yeah, still default to false (i.e. skip) but explicitly mark all our own filters20:58
artommriedem, right, but we should still avoid breaking them, especially in easy cases like this20:59
mriedemjape2: try #openstack-hyper-v20:59
artomAnyways, dansmith nipped that in the bud20:59
jape2thanks!20:59
*** jape2 has left #openstack-nova20:59
*** Apoorva has joined #openstack-nova21:01
*** jmlowe has quit IRC21:01
*** gfhellma_ has joined #openstack-nova21:02
*** ianw has quit IRC21:02
*** gfhellma has quit IRC21:02
*** Hazelesque_ is now known as Hazelesque21:03
openstackgerritEric Fried proposed openstack/nova master: Fix accumulated nits in refactor series  https://review.openstack.org/52118921:03
*** gfhellma_ has quit IRC21:03
*** gfhellma has joined #openstack-nova21:03
fried_ricefigleaf dansmith mriedem leakypipes Anything for the weekly placement update email?21:06
mriedembugs21:06
mriedemno idk, i haven't been too involved with placement lately21:07
fried_ricefigleaf I see movement on the series starting https://review.openstack.org/#/c/499239/ -- but still pinned -2.  Is this ready to be unwedged yet?21:07
mriedemno21:07
*** smatzek has quit IRC21:09
*** ianw has joined #openstack-nova21:09
openstackgerritDan Smith proposed openstack/nova master: WIP: Alternate fix for validating image on rebuild  https://review.openstack.org/52118621:10
dansmithmriedem: ^ updated approach, will start looking to see what unit test hell I've signed up for21:11
dansmithartom: ^21:11
*** vivsoni has quit IRC21:13
*** vivsoni has joined #openstack-nova21:14
*** AlexeyAbashkin has joined #openstack-nova21:19
mriedemthis is pretty funny http://www.kttc.com/story/36870998/2017/11/17/police-string-of-burglaries-in-ne-rochester-lands-one-man-behind-bars21:21
mriedemmy kids school was in lockdown yesterday because of this joker21:21
mriedem" She asked him what he wanted and he just threw a shoe at her and left."21:22
cfriesenstealing someone's glasses?  spraying deodorant on someone?  this is a mentally ill guy, not a criminal mastermind21:23
*** AlexeyAbashkin has quit IRC21:24
fried_ricemriedem This lightweight should rob my house.  No taser required.21:26
cfriesenmriedem: about that rebuild with boot-from-vol case, looks like a lot of the rebuild unit tests don't set up root_bdm properly.  taking a look21:26
mriedemcfriesen: he also got an umbrella and some air jordans21:26
mriedemcfriesen: i'm writing a functional regression test for it21:26
cfriesenthere you go...set for life21:26
cfriesensweet21:27
*** Apoorva_ has joined #openstack-nova21:30
*** salv-orl_ has joined #openstack-nova21:32
cfriesenmriedem: okay, so looks like there are no blockdevicemappings set up for these tests.  could we set up a suitable blockdevicemapping for instance server1?21:32
*** Apoorva has quit IRC21:33
mriedemi don't grok the last part of your question - my functional test will probably create a volume-backed instance, using the CinderFixture21:34
cfriesenI'm trying to figure out the most efficient way to solve all these failing unit tests.  there's an instance that is created that is boot-from-vol, but compute_utils.get_root_bdm(context, instance) returns None21:34
cfriesensorry, boot-from-image21:35
*** salv-orlando has quit IRC21:35
artomdansmith, left some minor comments21:35
cfriesenI was wondering if we set up a bdm for the instance, maybe it'd fix up a bunch of these tests21:35
cfriesenmriedem: I'd rather not fake out compute_utils.get_root_bdm() in 50 tests if I can avoid it.21:37
mriedemcfriesen: i agree,21:38
mriedembut atm, i'm focused on this functional regression test, so i'll have to dig into unit tests later21:38
mriedembecause i think we want to decouple the fix for bug 1732947 from the one that raises a 400 if you request a rebuild with a new image for a volume-backed server21:39
openstackbug 1732947 in OpenStack Compute (nova) "volume-backed instance rebuild with no image change is still going through scheduler" [Undecided,In progress] https://launchpad.net/bugs/1732947 - Assigned to Chris Friesen (cbf123)21:39
mriedemit's...complicated21:39
dansmithartom: ack21:39
cfriesenmriedem: no worries21:39
*** eharney has joined #openstack-nova21:42
*** andreas_s has joined #openstack-nova21:43
*** andreas_s has quit IRC21:47
*** tbachman has quit IRC21:53
*** Sukhdev has joined #openstack-nova21:53
*** slaweq has quit IRC21:55
*** slaweq has joined #openstack-nova21:55
*** tbachman has joined #openstack-nova21:57
openstackgerritMatt Riedemann proposed openstack/nova master: Add regression test for rebuilding a volume-backed server  https://review.openstack.org/52120021:57
mriedemcfriesen: ^21:57
figleaffried_rice: that series is stuck until the entire thing has been reviewed. It's been nothing but rebase fun!21:58
fried_ricefigleaf Ack.  See ML.21:58
*** slaweq has quit IRC21:59
*** gfhellma_ has joined #openstack-nova22:00
*** amodi has quit IRC22:00
*** artom has quit IRC22:03
*** gfhellma has quit IRC22:03
*** fragatina has quit IRC22:03
openstackgerritMatt Riedemann proposed openstack/nova master: Add regression test for rebuild with new image doubling allocations  https://review.openstack.org/52115322:03
openstackgerritEric Fried proposed openstack/nova master: Fix accumulated nits in refactor series  https://review.openstack.org/52118922:04
*** fragatina has joined #openstack-nova22:05
openstackgerritMatt Riedemann proposed openstack/nova master: Add regression test for rebuilding a volume-backed server  https://review.openstack.org/52120022:06
openstackgerritDan Smith proposed openstack/nova master: Alternate fix for validating image on rebuild  https://review.openstack.org/52118622:06
figleaffried_rice: also, I'm out all next week, so if you or anyone else wants to run the scheduler meeting on Monday, have at it.22:07
fried_ricefigleaf Duly noted.22:07
*** edmondsw has quit IRC22:19
*** edmondsw has joined #openstack-nova22:19
*** edmondsw_ has joined #openstack-nova22:23
*** edmondsw has quit IRC22:24
*** edmondsw_ has quit IRC22:27
*** hoonetorg has quit IRC22:28
*** gbarros has joined #openstack-nova22:30
*** dave-mcc_ has quit IRC22:30
openstackgerritEric Fried proposed openstack/nova master: Test allocation candidates: multiple aggregates  https://review.openstack.org/51863322:38
openstackgerritEric Fried proposed openstack/nova master: Test helper: validate provider summaries  https://review.openstack.org/51898222:38
openstackgerritEric Fried proposed openstack/nova master: Fix accumulated nits in refactor series  https://review.openstack.org/52118922:38
fried_riceleakypipes ASCII diagrams and string renames --^22:44
openstackgerritEric Fried proposed openstack/nova master: ProviderTree.populate_from_iterable  https://review.openstack.org/52075622:52
openstackgerritEric Fried proposed openstack/nova master: WIP: Scheduler[Report]Client.get_provider_tree  https://review.openstack.org/52109822:52
openstackgerritEric Fried proposed openstack/nova master: WIP: ComputeDriver.update_provider_tree()  https://review.openstack.org/52118722:52
openstackgerritEric Fried proposed openstack/nova master: WIP: Use update_provider_tree from resource tracker  https://review.openstack.org/52024622:52
fried_riceleakypipes And hopefully that brings all the non-WIPs up to scratch (tests are in for the ones below ^ )22:52
*** lpetrut has quit IRC22:57
*** yamamoto has joined #openstack-nova23:04
*** yamamoto has quit IRC23:05
* figleaf is signing off until after Thanksgiving weekend23:07
*** figleaf is now known as edleafe23:07
*** lyan has quit IRC23:09
*** imacdonn has quit IRC23:09
*** imacdonn has joined #openstack-nova23:10
*** leakypipes has quit IRC23:10
*** yamamoto has joined #openstack-nova23:11
*** yamamoto has quit IRC23:16
*** ayoung has quit IRC23:24
*** Yingxin has quit IRC23:26
*** Apoorva_ has quit IRC23:27
*** Apoorva has joined #openstack-nova23:28
*** gouthamr has joined #openstack-nova23:33
*** gouthamr_ has joined #openstack-nova23:36
*** gouthamr has quit IRC23:38
*** sdague has quit IRC23:40
*** edmondsw has joined #openstack-nova23:44
*** snasir has quit IRC23:45
*** edmondsw has quit IRC23:48
*** snasir has joined #openstack-nova23:48
*** gbarros has quit IRC23:53
*** pcaruana has quit IRC23:54

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