Wednesday, 2016-10-19

*** abregman|afk is now known as abregman07:59
*** abregman is now known as abregman|afk09:05
*** abregman|afk is now known as abregman10:48
*** abregman is now known as abregman|afk11:52
*** abregman|afk is now known as abregman12:33
*** abregman is now known as abregman|afk13:44
*** edtubill has joined #openstack-shade14:16
*** edtubill has quit IRC14:16
*** edtubill has joined #openstack-shade14:17
*** edtubill has quit IRC17:18
*** TheJulia has joined #openstack-shade17:57
TheJuliaSomewhere along the way I missed that this channel was created :(18:00
*** SpamapS has joined #openstack-shade18:09
SpamapSo/18:10
SpamapSSo, I just found something weird18:10
SpamapSI have a cloud that I can use freely with openstackclient, but when I use os_server .. it fails because it can't get a token.. because the server complains it can't figure out the domain18:10
SpamapSonce I added domain_name: default to the auth stanza in clouds.yaml, it started working18:10
SpamapSthoughts?18:10
jlkyeah, so there's probably some missing assumption somewhere on a "default" domain setting18:11
jlkwhere osc likely asserts that assumption, but the ansible + shade + os-client-config code path does not18:12
SpamapSYep18:12
SpamapSjlk: this is a bluebox cloud actually.. which never tells me that the default domain is "default" .. which is why I left it out.18:12
jlkso it looks like ansible doesn't ever do anything specific with domain auth info18:14
jlkand pushes it off to shade18:14
mordredSpamapS: user_domain_id and project_domain_id are the auth entries you want in clouds.yaml for that18:19
mordredSpamapS: are you setting an auth_type anywhere?18:20
mordredbecause the non-versioned password auth_type really _should_ just work18:20
SpamapSmordred: I am not given a domain ID by my cloud18:21
SpamapSso I don't know what that ID is18:21
mordredyah. so in that case you should be able to leave it off - one sec ... testing locally18:21
SpamapSmordred: and no, not setting auth type18:21
mordredSpamapS: or identity_api_version?18:22
SpamapSI am setting that, to 318:22
jlkhrm, SpamapS if you go to horizon in the access and security, API access, Download OpenStack RC file v3  it should list a domain in there18:22
jlkbut yeah, horizon should be showing it more prominently18:23
mordredjlk: k. so I tested both ways with bluebox18:23
mordredgah18:23
mordredSpamapS: ^^18:23
mordredSpamapS: if you skip identity_api_version you can leave off the domain settings and bluebox wokrs18:23
SpamapSjlk: I did not download that RC file, because I'm a clouds.yaml man ;)18:24
mordredSpamapS: if you set version = '3' - then you need to add it, and the domain is default18:24
SpamapSmordred: ahhh... derp.. thx18:24
mordredand the way you know it's 'default' - is that that's what the domain always is if nobody tells you what the domain is18:24
mordredit's ... 'fun'18:24
jlkso wait,18:24
jlkSpamapS: didn't you say that osc works as-is? v3 and no listed domain?18:25
mordredunless the cloud HAS given you a domain that's not default18:25
mordredjlk: osc does different tricks18:25
jlkbooo18:25
mordredyah18:25
SpamapSyeah booo is right18:27
SpamapSvery confusing when that happens18:27
*** abregman|afk has quit IRC18:39
*** abregman|afk has joined #openstack-shade18:39
*** abregman|afk has quit IRC18:39
*** edtubill has joined #openstack-shade18:41
*** abregman has joined #openstack-shade19:09
*** abregman has quit IRC19:57
*** edtubill has quit IRC20:01
SpamapSmordred: ah, turns out create_floating_ip doesn't take the 'floating_ip_address' argument... so shade needs a patch to support pre-allocated static IP that gets moved around. :-P22:44
* SpamapS has begun work on that22:45
mordredSpamapS: can you say more words? I'm curious about this22:49
mordredSpamapS: so like, you have an IP that is not already associated with a floating_ip?22:50
mordredSpamapS: add_ip_list will attach an existing floating ip to a server22:52
mordred(might not be a great name)22:53
mordredSpamapS: although if you're talking about the other thing- you have an IP address that is not already in a floating ip object and you want to create a floating ip and pass that IP address to its constructor22:54
mordredthen yeah - that's totally new22:55

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