Wednesday, 2019-03-20

*** markvoelker has joined #openstack-sdks00:17
*** markvoelker has quit IRC00:21
*** markvoelker has joined #openstack-sdks00:48
*** slaweq has joined #openstack-sdks00:56
*** slaweq has quit IRC01:00
*** cdent has quit IRC01:01
*** whoami-rajat has joined #openstack-sdks01:30
*** markvoelker has quit IRC01:49
*** dave-mccowan has quit IRC03:39
*** markvoelker has joined #openstack-sdks05:53
*** Luzi has joined #openstack-sdks06:45
*** e0ne has joined #openstack-sdks07:17
*** e0ne has quit IRC07:27
*** tosky has joined #openstack-sdks07:29
*** holser|run is now known as holser_07:39
*** e0ne has joined #openstack-sdks07:42
*** jpich has joined #openstack-sdks07:48
*** slaweq has joined #openstack-sdks07:55
*** gtema has joined #openstack-sdks08:00
*** ttsiouts has joined #openstack-sdks08:05
*** e0ne has quit IRC08:15
*** ttsiouts has quit IRC08:26
*** ttsiouts has joined #openstack-sdks08:34
*** ttsiouts has quit IRC08:52
*** jpena|off is now known as jpena08:53
*** ttsiouts has joined #openstack-sdks08:54
*** ralonsoh has joined #openstack-sdks08:58
*** Luzi has quit IRC08:59
*** gildub has joined #openstack-sdks09:11
*** dtantsur|afk is now known as dtantsur09:21
*** gildub has quit IRC10:15
*** cdent has joined #openstack-sdks10:27
*** e0ne has joined #openstack-sdks10:45
*** dave-mccowan has joined #openstack-sdks10:57
*** yolanda has quit IRC10:59
*** yolanda has joined #openstack-sdks10:59
*** ttsiouts has quit IRC11:21
*** gtema has quit IRC11:24
*** ttsiouts has joined #openstack-sdks11:37
*** jpich has quit IRC11:42
*** ttsiouts has quit IRC11:42
*** jpich has joined #openstack-sdks11:42
*** tssurya has joined #openstack-sdks11:47
*** jpich has quit IRC11:49
*** jpich has joined #openstack-sdks11:49
*** dave-mccowan has quit IRC11:51
*** ttsiouts has joined #openstack-sdks12:04
*** e0ne has quit IRC12:07
*** markvoelker has quit IRC12:13
*** markvoelker has joined #openstack-sdks12:14
*** jpich has quit IRC12:19
*** jpich has joined #openstack-sdks12:20
*** jpena is now known as jpena|lunch12:29
*** jpich has quit IRC12:35
*** jpich has joined #openstack-sdks12:35
*** jpich has quit IRC12:39
*** gtema has joined #openstack-sdks12:50
*** jpich has joined #openstack-sdks13:09
*** e0ne has joined #openstack-sdks13:16
*** jpena|lunch is now known as jpena13:39
*** nullscan has joined #openstack-sdks13:41
nullscanhi13:41
nullscani have been trying to use the python openstack client with osprofiler but when i try to execute any command with --os-profile HMAC_KEY the client responds that the --os-profile switch is invalid13:42
nullscanam i missing something ?13:42
nullscanthe client is installed using debian package and the version is 3.16.213:43
nullscanthe same happens when i try to use the latest version installed via pip13:43
dtroyernullscan: what version of osc-lib?  That is where the —os-profile option is actually declared, although it has been around for a while...13:48
nullscan 1.11.113:48
*** holser_ is now known as holser|run13:49
*** holser|run is now known as holser|away_2h_d13:49
*** holser|away_2h_d has quit IRC13:50
dtroyerThat is a global option so it needs to appear on the command line before the actual command:  openstack —os-profile qaz server list13:50
nullscanyes, i have actually been testing with openstack --os-profile qwerty image list13:51
nullscanbut still no luck13:51
dtroyerhmmm… it's giving me trouble too (I've never actually used it before)13:51
dtroyeroh, duh, liiking at the code...13:52
nullscanopenstack: '--os-profile qqqq image list' is not an openstack command. See 'openstack --help'. Did you mean one of these?13:52
dtroyer*looking13:52
nullscanthat is what i am getting13:52
dtroyerdo you have osprofiler installed?13:52
nullscanyes i do13:52
dtroyerif impporting osprofiler.profiler fails the option isn't defined13:52
nullscanbut from what i understand osprofiler is used only to get information from trackIDs13:52
nullscanand the actual documentation does not list any other steps, just enable profiling in the services i want and run any command with --os-profile switch13:53
dtroyerso if OSc is in a venv that venv also needs to have osprofiler in it, etc13:53
nullscanno its not in venv, its installed along with the rest of my system13:54
dtroyerwhat do you get with: python -m osprofiler13:56
nullscanah i just found it13:56
nullscannevemind, i had the python3 version of osc-lib installed instead of the python v2 ones13:56
nullscan:)13:56
dtroyeraha!13:56
nullscanthanks for your help though!13:56
dtroyernp13:56
*** nullscan has quit IRC13:58
*** gildub has joined #openstack-sdks14:02
*** Luzi has joined #openstack-sdks14:03
*** ttsiouts has quit IRC14:10
*** ttsiouts has joined #openstack-sdks14:10
*** gtema has quit IRC14:13
*** ttsiouts has quit IRC14:15
*** ttsiouts has joined #openstack-sdks14:19
*** dtantsur is now known as dtantsur|bbl14:51
*** Luzi has quit IRC15:17
*** efried is now known as efried_rolling16:03
*** jangutter has quit IRC16:20
*** dtantsur|bbl is now known as dtantsur16:22
*** holser_ has joined #openstack-sdks16:36
*** altlogbot_1 has joined #openstack-sdks16:40
*** altlogbot_1 has quit IRC16:41
*** yolanda has quit IRC16:49
*** e0ne has quit IRC17:07
*** altlogbot_3 has joined #openstack-sdks17:26
*** altlogbot_0 has joined #openstack-sdks17:27
*** altlogbot_0 has quit IRC17:28
*** altlogbot_3 has quit IRC17:28
*** altlogbot_2 has joined #openstack-sdks17:30
*** jpich has quit IRC17:33
*** ttsiouts has quit IRC17:40
*** ttsiouts has joined #openstack-sdks17:41
*** ttsiouts has quit IRC17:46
*** dtantsur is now known as dtantsur|afk17:53
*** jpena is now known as jpena|off18:15
*** e0ne has joined #openstack-sdks18:17
*** ralonsoh has quit IRC18:19
*** irclogbot_2 has quit IRC18:21
*** irclogbot_1 has joined #openstack-sdks18:24
*** irclogbot_1 has quit IRC18:27
*** irclogbot_3 has joined #openstack-sdks18:29
*** amito has quit IRC18:31
*** pas-ha has quit IRC18:31
*** amito has joined #openstack-sdks18:33
*** pas-ha has joined #openstack-sdks18:34
*** e0ne has quit IRC18:53
*** altlogbot_2 has quit IRC19:00
*** altlogbot_0 has joined #openstack-sdks19:02
*** altlogbot_0 has quit IRC19:06
*** tssurya has quit IRC19:07
*** altlogbot_3 has joined #openstack-sdks19:07
*** efried_rolling is now known as efried19:11
*** irclogbot_3 has quit IRC19:16
*** tssurya has joined #openstack-sdks19:16
*** irclogbot_1 has joined #openstack-sdks19:17
*** irclogbot_1 has quit IRC19:30
*** irclogbot_0 has joined #openstack-sdks19:32
*** altlogbot_3 has quit IRC19:34
*** altlogbot_1 has joined #openstack-sdks19:36
*** irclogbot_0 has quit IRC20:45
*** holser_ has quit IRC20:46
*** irclogbot_2 has joined #openstack-sdks20:47
*** e0ne has joined #openstack-sdks20:52
*** altlogbot_1 has quit IRC20:53
*** altlogbot_1 has joined #openstack-sdks20:55
*** whoami-rajat has quit IRC21:29
*** e0ne has quit IRC22:00
*** gildub has quit IRC22:17
*** tosky has quit IRC23:31
*** zer0c00l has joined #openstack-sdks23:48
zer0c00lIs there an example of how to mock openstacksdk calls23:49
zer0c00lFor example i mocked openstack.connect23:49
zer0c00lBut how do i mock openstack.baremetal.chassis() call23:49
zer0c00lThe main app connects to a cluster using sdk = openstack.connect(cloud="a.b.c")23:52
zer0c00lwith the sdk object i fetch chassis by running sdk.baremetal.chassis() . Now i would like to mock both openstack.connect and sdk.baremetal.chassis calls23:53
zer0c00lIs there any examples somewhere i can look?23:53

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