=== kadams54-away is now known as kadams54 | ||
jw4 | rick_h_: crazy how hard it is to successfully post something on linkedin :) | 00:11 |
---|---|---|
=== kadams54 is now known as kadams54-away | ||
rick_h_ | jw4: :) | 00:28 |
=== kadams54 is now known as kadams54-away | ||
nevermam | Hello All.. I am writing a charm for my product and trying to set/unset a config.yaml parameter from within a charm.Can anyone please tell me, how it can be done ?? | 05:26 |
nevermam | basically I want to set/unset the option from within a hook | 05:27 |
nevermam | I am using bash shell scripts for writing the charm/hook | 05:29 |
=== urulama is now known as urulama__ | ||
=== rogpeppe3 is now known as rogpeppe | ||
=== urulama__ is now known as urulama | ||
=== scuttlemonkey is now known as scuttle|afk | ||
marcoceppi | nevermam: you can't | 13:27 |
marcoceppi | nevermam: you can only get values, you can't set them | 13:27 |
marcoceppi | nevermam: you can get a value with `config-get <key>` inside a hook | 13:28 |
* Zetas waves to lazyPower | 14:09 | |
lazyPower | Mornin Zetas | 14:25 |
Zetas | morning | 14:25 |
=== kadams54 is now known as kadams54-away | ||
=== l6unchpad is now known as sky-shiny | ||
=== kadams54 is now known as kadams54-away | ||
ejat | hi .. if i tried to run openstack using juju on aws, how can i link it to landscape ? | 16:16 |
lazyPower | cory_fu: tvansteenburgh: quick question for you re: charmhelpers. I can use the config() object to store machine state as well correct? Eg: i have a slew of incoming relation data I need out of relation context, and i can just stuff those in the config object and have it persist thanks to the data-backend in config now right? | 16:23 |
tvansteenburgh | lazyPower: yes | 16:24 |
lazyPower | ejat: I dont think OpenStack would run properly on AWS - as nova-compute would be running in a hypervisor. hypervisor in a hypervisor... | 16:24 |
lazyPower | ejat: but in teh spirit of answering your question - so long as the units you register w/ landcape-client can reach your landscape-server, no crazy config / concerns need apply. | 16:24 |
cory_fu | lazyPower: You should use charmhelpers.core.unitdata.kv().set / get instead | 16:25 |
lazyPower | ok so unitdata is a different config store that wont bleed into config-get versioning? | 16:25 |
lazyPower | > "versioned, transactional operation" - exactly what i was looking for | 16:25 |
cory_fu | They are different implementations, and my opinion is that we should move entirely to unitdata | 16:26 |
* lazyPower hattips @ cory_fu | 16:26 | |
cory_fu | I think the config tracking should be refactored to use unitdata as well | 16:26 |
ejat | i managed to up the horizon | 16:30 |
ejat | but connection timed out to login | 16:30 |
ejat | lazyPower: i just want to test the openstack charms | 16:33 |
ejat | testing purposes | 16:33 |
=== kadams54-away is now known as kadams54 | ||
ejat | anyone can help me ? | 16:42 |
=== kadams54 is now known as kadams54-away | ||
=== kadams54-away is now known as kadams54 | ||
=== natefinch is now known as natefinch-afk | ||
Zetas | ejat: have you tried using devstack or are you tied to using aws? | 17:28 |
Zetas | devstack works pretty well for simple openstack charm testing | 17:28 |
ejat | [Tue May 19 17:23:08.034535 2015] [:error] [pid 19918:tid 140668694456064] Login failed for user "Admin". | 17:29 |
Zetas | plus unless you make modifications to the charms deploying the openstack bundle to AWS will spin up a dozen fairly expensive users | 17:29 |
Zetas | s/users/servers | 17:29 |
ejat | $ keystone role-list | 17:29 |
ejat | +----------------------------------+----------+ | 17:29 |
ejat | | id | name | | 17:29 |
ejat | +----------------------------------+----------+ | 17:29 |
ejat | | 150a57a6033d41978068798b25b99631 | Admin | | 17:29 |
ejat | | 26b0725903ea49fbb1530d336a587e86 | Member | | 17:29 |
ejat | | 9fe2ff9ee4384b1894a90878d3e92bab | _member_ | | 17:29 |
ejat | +----------------------------------+----------+ | 17:29 |
ejat | tried to update password | 17:30 |
ejat | No user with a name or ID of 'Admin' exists. | 17:30 |
Zetas | hmm, im very new to openstack so im not sure what the issue would be. | 17:33 |
Zetas | you are able to login to the dashboard though right? | 17:33 |
Zetas | set the password with juju set keystone admin-password="mypass" ? | 17:33 |
ejat | i manage to change the password... case sensitivity ... but i still cant login horizon dashboard ;( | 17:52 |
ejat | still getting the same error ; [Tue May 19 17:50:54.594643 2015] [:error] [pid 19919:tid 140668694456064] Login failed for user "admin". | 17:52 |
=== kadams54 is now known as kadams54-away | ||
=== kadams54-away is now known as kadams54 | ||
Zetas | ejat: when you login to the juju-gui is the openstack-dashboard charm green and have all green relations? | 18:02 |
Zetas | (you did setup the relations right) | 18:02 |
ejat | yups | 18:02 |
ejat | all green | 18:02 |
ejat | ive check the horizon setting | 18:03 |
ejat | #OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST | 18:03 |
ejat | is it correct ? or i need to put the full URL | 18:03 |
Zetas | hmm, thats strange | 18:03 |
ejat | of the keystone | 18:03 |
Zetas | run this command: juju status openstack-dashboard | 18:04 |
Zetas | get the public IP and in your browser go to https://ipaddress/horizon | 18:04 |
Zetas | for me its https://10.0.3.44/horizon | 18:07 |
ejat | http://paste.ubuntu.com/11229418/ | 18:08 |
Zetas | yea i just hit your dashboard heh | 18:09 |
Zetas | https://54.238.21.206/horizon | 18:09 |
Zetas | works great | 18:09 |
Zetas | might want to add a constraint to the AWS security group to only allow connections to 443/80 from your home IP | 18:10 |
Zetas | if this is gonna be something you want private | 18:10 |
ejat | this is for testing purpose | 18:11 |
ejat | horizon up | 18:11 |
ejat | but i cant login the admin | 18:11 |
Zetas | what did you enter in the set password line? | 18:11 |
ejat | default .. ive tried to changed a few time | 18:12 |
ejat | including manually change in console just now | 18:12 |
ejat | apache log still shows login failed | 18:12 |
Zetas | hmm, well from your main juju box you should be able to use the command juju set keystone admin-password="mypass" and then login with admin/mypass | 18:13 |
ejat | is it because of the security group ? | 18:16 |
Zetas | If you deployed the bundle to aws without changing anything it should be fine. If you can access the horizon dashboard it wouldn't miraculously stop you from logging in | 18:17 |
Zetas | if there was a security group stopping communication between keystone and the dashboard that might happen but then your relation would be red probably | 18:17 |
Zetas | thats kinda the whole point of the relation thing, if it's green it should be fine. I haven't had your issue before so im not sure how to fix it | 18:21 |
Zetas | also i've not deployed openstack to aws fully | 18:21 |
Zetas | once i saw it spinning up a dozen servers i killed it lol | 18:21 |
Zetas | have you changed any of the default config values? | 18:24 |
ejat | nopes | 18:31 |
Zetas | have you watched the debug log while logging in? It might have some helpful info | 18:33 |
Zetas | i'll brb | 18:36 |
wwitzel3 | lazyPower: ping | 18:45 |
lazyPower | wwitzel3: pong | 18:46 |
wwitzel3 | lazyPower: got time for a quick hangout? | 18:46 |
lazyPower | wwitzel3: In the middle of something - can you give me some time to wrap up what i'm working on? | 18:48 |
wwitzel3 | lazyPower: absolutely | 18:48 |
lazyPower | if its emergent i can bounce in | 18:48 |
lazyPower | ack, thanks - i'll ping when i'm at a stopping point | 18:48 |
Zetas | back | 19:26 |
Zetas | any luck ej | 19:26 |
Zetas | oh he left | 19:26 |
Zetas | hope he figured it out | 19:27 |
=== kadams54 is now known as kadams54-away | ||
=== kadams54-away is now known as kadams54 | ||
=== urulama is now known as urulama__ | ||
bdx | openstack-charmers, charmers: Does there exist anyone who has successfully implemented vlan networking using a juju charm deployment> | 20:32 |
bdx | ?? | 20:32 |
bdx | openstack-charmers, charmers: Any chance at all?? | 20:33 |
marcoceppi | bdx: you mean like using openvswitch? | 20:34 |
bdx | marcoceppi: totally | 20:34 |
bdx | marcoceppi: | 20:35 |
bdx | marcoceppi: It seems the charms support vlan networking to some degree......I haven't been able to figure it out.... | 20:35 |
bdx | I have spent weeks trying to get it working with charm based deployment | 20:35 |
marcoceppi | bdx: the openstack-charmers would be able to answer this the best, but they're all at ODS this week | 20:35 |
marcoceppi | bdx: sorry to hear that! I'd recommend mailing the juju mailing list (juju@lists.ubuntu.com) if you haven't already about what you've tried and the issue you're seeing | 20:36 |
bdx | marcoceppi: I feel like the charms support this use case, but it is treated like a corner case in the sense that there seems to be little to no support for vlan networking | 20:37 |
bdx | marcoceppi: thanks man. will do | 20:37 |
marcoceppi | bdx: we are beefing up support for that, that much I know, but if there are any special measures the openstack-charmers can help. As I mentioned earlier they're all here in Vancouver at ODS so the email is the best way to start that conversation | 20:38 |
bdx | marcoceppi: Thanks, I'll get started on an email to your guys list concerning this......what im getting at though is that vlan networking shouldn't be considered a special measure right? | 20:43 |
=== kadams54 is now known as kadams54-away | ||
marcoceppi | bdx: no, and it won't in the future, I think it's just an issue with getting the charms updated which I'm sure we'll be doing over the next few months | 20:50 |
bdx | marcoceppi: I see. Thanks for the insight on this | 20:54 |
bdx | marcoceppi: should vlan functionallity be removed from the charms seeing as they don't support it.....this is very misleading and can be very frustrating from an opperators point of view. | 20:58 |
marcoceppi | bdx: well vlan does work from what I recall | 20:58 |
bdx | *sp: operator | 20:58 |
=== kadams54-away is now known as kadams54 | ||
bdx | marcoceppi: Yea.... | 21:02 |
bdx | lol | 21:02 |
bdx | marcoceppi: vlans work when I handroll a stack | 21:02 |
bdx | marcoceppi: I have preformed introspection and post deploy configuration on a juju deployed stack and am just hitting my head on how this is expected to work using juju.....some documentation on networking configs using juju would be a huge plus++ tahts all | 21:05 |
bdx | marcoceppi: thanks for your insight none the less | 21:06 |
marcoceppi | bdx: I get your frustration, sorry it's not quite there yet. I'll make sure someone from the OpenStack Charmers team follows up with your email soon! | 21:06 |
bdx | marcoceppi: Thanks again | 21:07 |
=== kadams54 is now known as kadams54-away | ||
=== noodles775 is now known as michaeln | ||
=== michaeln is now known as mnelson | ||
=== mnelson is now known as noodles775 | ||
thumper | lazyPower, marcoceppi: are either of you willing to help me on my Friday afternoon to look at imporoving the python-django charm? | 23:16 |
=== noodles775 is now known as miken |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!