Friday, 2010-10-01

gundlachsirp: hi00:01
*** jc_smith has quit IRC00:06
*** burris has quit IRC00:12
sirp1gundlach: howdy00:14
gundlachwooo00:14
gundlachok sirp1 python idiom question.  _cerberus_ says you're so awesome at python that you'll know a great way to do this.00:14
gundlachbut no pressure.00:14
sirp1ha00:14
gundlachi have dict(a=4, b=5, c=6, d=7)00:14
*** abecc has quit IRC00:14
gundlachand i have a "7" and i want to find "d"00:15
gundlachthe best way i know is one of either these:00:15
gundlach[k for k,v in thedict if v==7][0]00:15
gundlachor00:15
gundlachdict(v,k for k,v in thedict.iteritems())[7]00:16
gundlachand oops, gotta add ".iteritems()" to the first approach too.00:16
gundlachso -- do you know of a more elegant way to do this reverse lookup?00:16
sirp1hmm… lemme see here00:17
* gundlach is timing this btw00:17
gundlachno pressure or whatever00:17
sirp1lol00:17
sirp1unless you maintain the reverse mapping, you have to scan the values...00:17
sirp1so its either use a customer bidirection-dict (if this is a common pattern), or use one of those idioms above (i would think)00:18
sirp1customer="custom"00:20
_cerberus_sirp1: He's chatting with anotherjesse atm, not ignoring you :-)00:20
*** jc_smith has joined #openstack00:21
sirp1ah00:21
*** littleidea has quit IRC00:26
*** littleidea has joined #openstack00:28
*** zheng_li has quit IRC00:29
gundlachsirp1: ok thanks!  so if i understand you: if i don't want to write a custom class, my idiom is the best one you know of.00:35
gundlachsorry to have wandered off, it's a bit chaotic at the meetup00:35
sirp1yeah, off-hand, can't think of anything "prettier", though i did learn about Boost's BiMap which is kinda cool00:36
sirp1we just need a implmentation of that in the collections module :)00:37
*** burris has joined #openstack00:42
*** miclorb_ has joined #openstack00:46
*** mtaylor has joined #openstack00:52
*** ChanServ sets mode: +v mtaylor00:52
*** pvo has quit IRC01:02
*** pvo has joined #openstack01:03
*** ChanServ sets mode: +v pvo01:03
*** pharkmillups has quit IRC01:04
*** DubLo7 has joined #openstack01:07
*** DubLo7 has left #openstack01:09
sirp1gundlach: not necessary in this case, but this is a neat little library, particularly namedbidict    http://bitbucket.org/jab/bidict/src/tip/bidict.py01:18
gundlachok cool01:18
_0x44jaypipes, sirp1: When you get a second: https://code.launchpad.net/~chris-slicehost/glance/glance-derive_teller_wsgi_from_glance.common/+merge/3720501:19
*** ramos has quit IRC01:21
gundlach_cerberus_: https://code.launchpad.net/~gundlach/nova/servers_api/+merge/3720601:21
*** ar1 has joined #openstack01:24
*** _anm has quit IRC01:26
*** hazmat has joined #openstack01:27
*** miclorb_ has quit IRC01:34
*** Ryan_Lane has quit IRC01:41
*** littleidea has quit IRC01:53
*** maplebed has quit IRC01:58
*** Ryan_Lane has joined #openstack01:59
*** pvo has quit IRC02:09
_0x44jaypipes: From what I can tell your webob client suggestion won't work in glance's ParallaxAdapter02:11
*** gundlach has quit IRC02:14
*** kevnfx has joined #openstack02:15
*** dendro-afk is now known as dendrobates02:19
*** kevnfx has left #openstack02:35
*** joearnold has joined #openstack02:36
*** hazmat has quit IRC02:37
*** miclorb has joined #openstack03:06
*** kashyapc has joined #openstack03:36
*** joearnold has quit IRC03:41
*** morfeas has joined #openstack03:53
*** jfluhmann__ has quit IRC03:59
*** kevnfx has joined #openstack04:06
*** kevnfx has left #openstack04:08
*** arcane has quit IRC04:08
*** arcane has joined #openstack04:08
*** ArdRigh has joined #openstack04:08
*** kashyapc has quit IRC04:08
*** cachedout has joined #openstack04:26
*** kashyapc has joined #openstack04:31
*** howardroark has joined #openstack04:34
*** howardroark has joined #openstack04:35
*** howardroark has left #openstack04:36
*** silassewell has quit IRC04:51
*** f4m8_ is now known as f4m804:51
*** littleidea has joined #openstack04:55
*** cachedout has quit IRC05:14
*** littleidea has quit IRC05:31
*** Ryan_Lane has quit IRC05:34
*** littleidea has joined #openstack05:40
*** mikhail has joined #openstack05:53
*** mikhail has quit IRC06:11
*** guigui has joined #openstack06:13
*** ibarrera has joined #openstack06:17
*** mikhail has joined #openstack06:24
*** miclorb has quit IRC06:28
*** allsystemsarego has joined #openstack06:40
*** suchitp has joined #openstack06:45
*** mikhail_ has joined #openstack06:50
*** mikhail has quit IRC06:53
*** ttx has joined #openstack06:57
*** ttx has joined #openstack06:57
*** brd_from_italy has joined #openstack07:01
*** mikhail__ has joined #openstack07:03
*** sirp1 has quit IRC07:04
*** littleidea has quit IRC07:07
*** mikhail_ has quit IRC07:07
*** mikhail_ has joined #openstack07:10
*** mikhail__ has quit IRC07:14
*** mikhail__ has joined #openstack07:15
*** ttx has quit IRC07:16
*** jkakar has joined #openstack07:18
*** mikhail_ has quit IRC07:19
*** mikhail__ has quit IRC07:27
*** jkakar has quit IRC07:28
*** mikhail__ has joined #openstack07:28
*** littleidea has joined #openstack07:33
*** joschi has quit IRC07:40
*** joschi has joined #openstack07:56
*** joschi has quit IRC08:03
*** joschi has joined #openstack08:03
*** guigui has quit IRC08:04
*** mikhail_ has joined #openstack08:05
*** irahgel has joined #openstack08:08
*** joschi has quit IRC08:08
*** mikhail__ has quit IRC08:09
*** zheng_li has joined #openstack08:09
*** dendrobates is now known as dendro-afk08:10
*** mikhail__ has joined #openstack08:14
*** joschi has joined #openstack08:15
*** mikhail_ has quit IRC08:17
*** mikhail_ has joined #openstack08:30
*** mikhail__ has quit IRC08:34
*** jkakar has joined #openstack08:36
*** mikhail__ has joined #openstack08:38
*** mikhail_ has quit IRC08:41
suchitphi guys08:42
*** mikhail_ has joined #openstack08:48
*** mikhail has joined #openstack08:52
*** mikhail__ has quit IRC08:52
*** mikhail_ has quit IRC08:54
*** joschi has joined #openstack08:58
*** littleidea has quit IRC09:03
*** mikhail_ has joined #openstack09:04
*** mikhail has quit IRC09:07
*** jakedahn has quit IRC09:20
*** jakedahn has joined #openstack09:21
*** befreax has joined #openstack09:33
*** mikhail__ has joined #openstack09:34
*** mikhail_ has quit IRC09:38
suchitpguys i had checked out the new script from http://github.com/vishvananda/novascript.git but i am not able to run nova09:47
suchitphas anyone tried with this script09:47
suchitpls09:48
*** mikhail_ has joined #openstack09:51
suchitpsudo ./nova.sh run09:51
suchitp[sudo] password for suchitp:09:51
suchitpdnsmasq: no process found09:51
suchitprm: cannot remove `/home/suchitp/OpenStack/novascript/nova/nova.sqlite': No such file or directory09:51
suchitprm: cannot remove `dump.rdb': No such file or directory09:51
suchitpThere are several suitable screens on:09:51
suchitp7403.nova(10/01/2010 03:20:55 PM)(Detached)09:51
suchitp6446.nova(10/01/2010 02:37:47 PM)(Detached)09:51
suchitp5127.nova(10/01/2010 02:20:13 PM)(Detached)09:51
suchitp4862.nova(10/01/2010 02:18:49 PM)(Detached)09:51
suchitpUse -S to specify a session.09:51
suchitpThere are several suitable screens on:09:51
suchitp7403.nova(10/01/2010 03:20:55 PM)(Detached)09:51
suchitp6446.nova(10/01/2010 02:37:47 PM)(Detached)09:51
suchitp5127.nova(10/01/2010 02:20:13 PM)(Detached)09:52
suchitp4862.nova(10/01/2010 02:18:49 PM)(Detached)09:52
suchitpUse -S to specify a session.09:52
suchitpTraceback (most recent call last):09:52
suchitp  File "/home/suchitp/OpenStack/novascript/nova/bin/nova-manage", line 452, in <module>09:52
suchitp    main()09:52
suchitp  File "/home/suchitp/OpenStack/novascript/nova/bin/nova-manage", line 444, in main09:52
suchitp    fn(*argv)09:52
suchitp  File "/home/suchitp/OpenStack/novascript/nova/bin/nova-manage", line 240, in admin09:52
suchitp    user = self.manager.create_user(name, access, secret, True)09:52
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/manager.py", line 620, in create_user09:52
suchitp    user_dict = drv.create_user(name, access, secret, admin)09:52
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/ldapdriver.py", line 126, in create_user09:52
suchitp    if self.__user_exists(name):09:52
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/ldapdriver.py", line 282, in __user_exists09:52
suchitp    return self.get_user(uid) != None09:52
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/ldapdriver.py", line 93, in get_user09:52
suchitp    '(objectclass=novaUser)')09:52
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/ldapdriver.py", line 290, in __find_object09:52
suchitp    objects = self.__find_objects(dn, query, scope)09:52
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/ldapdriver.py", line 311, in __find_objects09:52
suchitp    res = self.conn.search_s(dn, scope, query)09:52
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/fakeldap.py", line 211, in search_s09:52
suchitp    keys = redis.keys("%s*%s" % (self.__redis_prefix, dn))09:52
suchitp  File "/usr/local/lib/python2.6/dist-packages/redis/client.py", line 568, in keys09:52
alekibangosuchitp: use some pastebin for such things09:52
suchitp    return self.execute_command('KEYS', pattern)09:52
suchitp  File "/usr/local/lib/python2.6/dist-packages/redis/client.py", line 330, in execute_command09:52
suchitp    **options09:52
suchitp  File "/usr/local/lib/python2.6/dist-packages/redis/client.py", line 315, in _execute_command09:52
suchitp    self.connection.send(command, self)09:52
suchitp  File "/usr/local/lib/python2.6/dist-packages/redis/client.py", line 82, in send09:53
suchitp    self.connect(redis_instance)09:53
suchitp  File "/usr/local/lib/python2.6/dist-packages/redis/client.py", line 62, in connect09:53
suchitp    raise ConnectionError(error_message)09:53
suchitpredis.exceptions.ConnectionError: Error 111 connecting 127.0.0.1:6379. ECONNREFUSED.09:53
suchitpTraceback (most recent call last):09:53
suchitp  File "/home/suchitp/OpenStack/novascript/nova/bin/nova-manage", line 452, in <module>09:53
suchitp    main()09:53
alekibangopasting 5+ lines into irc might be good reason for kick/ban09:53
suchitp  File "/home/suchitp/OpenStack/novascript/nova/bin/nova-manage", line 444, in main09:53
suchitp    fn(*argv)09:53
suchitp  File "/home/suchitp/OpenStack/novascript/nova/bin/nova-manage", line 296, in create09:53
suchitp    self.manager.create_project(name, project_manager, description)09:53
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/manager.py", line 484, in create_project09:53
suchitp    member_users)09:53
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/ldapdriver.py", line 147, in create_project09:53
suchitp    if self.__project_exists(name):09:53
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/ldapdriver.py", line 286, in __project_exists09:53
suchitp    return self.get_project(project_id) != None09:53
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/ldapdriver.py", line 106, in get_project09:53
suchitp    attr = self.__find_object(dn, '(objectclass=novaProject)')09:53
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/ldapdriver.py", line 290, in __find_object09:53
suchitp    objects = self.__find_objects(dn, query, scope)09:53
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/ldapdriver.py", line 311, in __find_objects09:53
suchitp    res = self.conn.search_s(dn, scope, query)09:53
alekibangosuchitp:  http://paste.openstack.org/09:53
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/fakeldap.py", line 211, in search_s09:53
suchitp    keys = redis.keys("%s*%s" % (self.__redis_prefix, dn))09:53
suchitp  File "/usr/local/lib/python2.6/dist-packages/redis/client.py", line 568, in keys09:53
suchitp    return self.execute_command('KEYS', pattern)09:53
suchitp  File "/usr/local/lib/python2.6/dist-packages/redis/client.py", line 330, in execute_command09:53
suchitp    **options09:53
suchitp  File "/usr/local/lib/python2.6/dist-packages/redis/client.py", line 315, in _execute_command09:54
suchitp    self.connection.send(command, self)09:54
suchitp  File "/usr/local/lib/python2.6/dist-packages/redis/client.py", line 82, in send09:54
suchitp    self.connect(redis_instance)09:54
suchitp  File "/usr/local/lib/python2.6/dist-packages/redis/client.py", line 62, in connect09:54
suchitp    raise ConnectionError(error_message)09:54
suchitpredis.exceptions.ConnectionError: Error 111 connecting 127.0.0.1:6379. ECONNREFUSED.09:54
suchitpTraceback (most recent call last):09:54
suchitp  File "/home/suchitp/OpenStack/novascript/nova/bin/nova-manage", line 452, in <module>09:54
suchitp    main()09:54
*** mikhail__ has quit IRC09:54
suchitp  File "/home/suchitp/OpenStack/novascript/nova/bin/nova-manage", line 444, in main09:54
suchitp    fn(*argv)09:54
suchitp  File "/home/suchitp/OpenStack/novascript/nova/bin/nova-manage", line 306, in environment09:54
suchitp    rc = self.manager.get_environment_rc(user_id, project_id)09:54
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/manager.py", line 681, in get_environment_rc09:54
suchitp    user = self.get_user(user)09:54
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/manager.py", line 574, in get_user09:54
suchitp    user_dict = drv.get_user(uid)09:54
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/ldapdriver.py", line 93, in get_user09:54
suchitp    '(objectclass=novaUser)')09:54
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/ldapdriver.py", line 290, in __find_object09:54
suchitp    objects = self.__find_objects(dn, query, scope)09:54
alekibangosuchitp: read also this: http://www.catb.org/esr/faqs/smart-questions.html09:54
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/ldapdriver.py", line 311, in __find_objects09:54
suchitp    res = self.conn.search_s(dn, scope, query)09:54
suchitp  File "/home/suchitp/OpenStack/novascript/nova/nova/auth/fakeldap.py", line 211, in search_s09:54
suchitp    keys = redis.keys("%s*%s" % (self.__redis_prefix, dn))09:54
suchitp  File "/usr/local/lib/python2.6/dist-packages/redis/client.py", line 568, in keys09:54
suchitp    return self.execute_command('KEYS', pattern)09:54
suchitp  File "/usr/local/lib/python2.6/dist-packages/redis/client.py", line 330, in execute_command09:54
suchitp    **options09:54
suchitp  File "/usr/local/lib/python2.6/dist-packages/redis/client.py", line 315, in _execute_command09:55
suchitp    self.connection.send(command, self)09:55
suchitp  File "/usr/local/lib/python2.6/dist-packages/redis/client.py", line 82, in send09:55
suchitp    self.connect(redis_instance)09:55
suchitp  File "/usr/local/lib/python2.6/dist-packages/redis/client.py", line 62, in connect09:55
suchitp    raise ConnectionError(error_message)09:55
suchitpredis.exceptions.ConnectionError: Error 111 connecting 127.0.0.1:6379. ECONNREFUSED.09:55
suchitpThere are several suitable screens on:09:55
suchitp7403.nova(10/01/2010 03:20:54 PM)(Detached)09:55
suchitp6446.nova(10/01/2010 02:37:46 PM)(Detached)09:55
suchitp5127.nova(10/01/2010 02:20:12 PM)(Detached)09:55
suchitp4862.nova(10/01/2010 02:18:48 PM)(Detached)09:55
suchitpUse -S to specify a session.09:55
suchitpThere are several suitable screens on:09:55
suchitp7403.nova(10/01/2010 03:20:54 PM)(Detached)09:55
suchitp6446.nova(10/01/2010 02:37:46 PM)(Detached)09:55
suchitp5127.nova(10/01/2010 02:20:12 PM)(Detached)09:55
suchitp4862.nova(10/01/2010 02:18:48 PM)(Detached)09:55
suchitpUse -S to specify a session.09:55
suchitpThere are several suitable screens on:09:55
suchitp7403.nova(10/01/2010 03:20:54 PM)(Detached)09:55
suchitp6446.nova(10/01/2010 02:37:46 PM)(Detached)09:55
suchitp5127.nova(10/01/2010 02:20:12 PM)(Detached)09:55
suchitp4862.nova(10/01/2010 02:18:48 PM)(Detached)09:55
suchitpUse -S to specify a session.09:55
suchitpThere are several suitable screens on:09:55
suchitp7403.nova(10/01/2010 03:20:54 PM)(Detached)09:55
suchitp6446.nova(10/01/2010 02:37:46 PM)(Detached)09:55
suchitp5127.nova(10/01/2010 02:20:12 PM)(Detached)09:55
suchitp4862.nova(10/01/2010 02:18:48 PM)(Detached)09:55
suchitpUse -S to specify a session.09:56
suchitpThere are several suitable screens on:09:56
suchitp7403.nova(10/01/2010 03:20:54 PM)(Detached)09:56
suchitp6446.nova(10/01/2010 02:37:46 PM)(Detached)09:56
suchitp5127.nova(10/01/2010 02:20:12 PM)(Detached)09:56
suchitp4862.nova(10/01/2010 02:18:48 PM)(Detached)09:56
suchitpUse -S to specify a session.09:56
suchitpThere are several suitable screens on:09:56
suchitp7403.nova(10/01/2010 03:20:54 PM)(Detached)09:56
suchitp6446.nova(10/01/2010 02:37:46 PM)(Detached)09:56
suchitp5127.nova(10/01/2010 02:20:12 PM)(Detached)09:56
suchitp4862.nova(10/01/2010 02:18:48 PM)(Detached)09:56
suchitpUse -S to specify a session.09:56
suchitpThere are several suitable screens on:09:56
suchitp7403.nova(10/01/2010 03:20:54 PM)(Detached)09:56
suchitp6446.nova(10/01/2010 02:37:46 PM)(Detached)09:56
suchitp5127.nova(10/01/2010 02:20:12 PM)(Detached)09:56
suchitp4862.nova(10/01/2010 02:18:48 PM)(Detached)09:56
suchitpUse -S to specify a session.09:56
suchitpThere are several suitable screens on:09:56
suchitp7403.nova(10/01/2010 03:20:54 PM)(Detached)09:56
suchitp6446.nova(10/01/2010 02:37:46 PM)(Detached)09:56
suchitp5127.nova(10/01/2010 02:20:12 PM)(Detached)09:56
suchitp4862.nova(10/01/2010 02:18:48 PM)(Detached)09:56
suchitpUse -S to specify a session.09:56
suchitpThere are several suitable screens on:09:56
suchitp7403.nova(10/01/2010 03:20:54 PM)(Detached)09:56
suchitp6446.nova(10/01/2010 02:37:46 PM)(Detached)09:56
suchitp5127.nova(10/01/2010 02:20:12 PM)(Detached)09:56
suchitp4862.nova(10/01/2010 02:18:48 PM)(Detached)09:56
suchitpUse -S to specify a session.09:57
suchitpThere are several suitable screens on:09:57
suchitp7403.nova(10/01/2010 03:20:54 PM)(Detached)09:57
suchitp6446.nova(10/01/2010 02:37:46 PM)(Detached)09:57
suchitp5127.nova(10/01/2010 02:20:12 PM)(Detached)09:57
suchitp4862.nova(10/01/2010 02:18:48 PM)(Detached)09:57
alekibangoomg that is longest irc paste i have ever seen  :)09:57
suchitpUse -S to specify a session.09:57
suchitpThere are several suitable screens on:09:57
suchitp7403.nova(10/01/2010 03:20:54 PM)(Detached)09:57
suchitp6446.nova(10/01/2010 02:37:46 PM)(Detached)09:57
suchitp5127.nova(10/01/2010 02:20:12 PM)(Detached)09:57
suchitp4862.nova(10/01/2010 02:18:48 PM)(Detached)09:57
suchitpUse -S to specify a session.09:57
suchitpThere are several suitable screens on:09:57
suchitp7403.nova(10/01/2010 03:20:54 PM)(Detached)09:57
suchitp6446.nova(10/01/2010 02:37:46 PM)(Detached)09:57
suchitp5127.nova(10/01/2010 02:20:12 PM)(Detached)09:57
suchitp4862.nova(10/01/2010 02:18:48 PM)(Detached)09:57
suchitpUse -S to specify a session.09:57
suchitpThere are several suitable screens on:09:57
suchitp7403.nova(10/01/2010 03:20:54 PM)(Detached)09:57
suchitp6446.nova(10/01/2010 02:37:46 PM)(Detached)09:57
suchitp5127.nova(10/01/2010 02:20:12 PM)(Detached)09:57
suchitp4862.nova(10/01/2010 02:18:48 PM)(Detached)09:57
suchitpUse -S to specify a session.09:57
suchitpThere are several suitable screens on:09:57
suchitp7403.nova(10/01/2010 03:20:54 PM)(Detached)09:57
suchitp6446.nova(10/01/2010 02:37:46 PM)(Detached)09:57
suchitp5127.nova(10/01/2010 02:20:12 PM)(Detached)09:57
suchitp4862.nova(10/01/2010 02:18:48 PM)(Detached)09:57
suchitpUse -S to specify a session.09:58
suchitpThere are several suitable screens on:09:58
suchitp7403.nova(10/01/2010 03:20:54 PM)(Detached)09:58
suchitp6446.nova(10/01/2010 02:37:46 PM)(Detached)09:58
suchitp5127.nova(10/01/2010 02:20:12 PM)(Detached)09:58
suchitp4862.nova(10/01/2010 02:18:48 PM)(Detached)09:58
suchitpType "screen [-d] -r [pid.]tty.host" to resume one of them.09:58
suchitp./nova.sh: line 177: /home/suchitp/OpenStack/novascript/nova/novarc: No such file or directory09:58
suchitpinstance id(s) must be specified.09:58
suchitpStops specified instances.09:58
suchitpeuca-terminate-instances [-h, --help] [--version] [--debug]09:58
suchitp[instance1... instanceN]09:58
suchitpREQUIRED PARAMETERS09:58
suchitpinstance1... instanceNinstances to terminate.09:58
suchitpOPTIONAL PARAMETERS09:58
suchitp-a, --access-keyUser's Access Key ID.09:58
suchitp-s, --secret-keyUser's Secret Key.09:58
suchitp-U, --urlURL of the Cloud to connect to.09:58
suchitp--configRead credentials and cloud settings from the09:58
suchitpspecified config file (defaults to $HOME/.eucarc or /etc/euca2ools/eucarc).09:59
suchitp-h, --helpDisplay this help message.09:59
suchitp--version Display the version of this tool.09:59
suchitp--debug Turn on debugging.09:59
suchitpEuca2ools will use the environment variables EC2_URL, EC2_ACCESS_KEY, EC2_SECRET_KEY, EC2_CERT, EC2_PRIVATE_KEY, S3_URL, EUCALYPTUS_CERT by default.09:59
suchitp09:59
suchitpredis-server: no process found09:59
suchitpThere are several suitable screens on:09:59
suchitp7403.nova(10/01/2010 03:20:54 PM)(Detached)09:59
suchitp6446.nova(10/01/2010 02:37:46 PM)(Detached)09:59
suchitp5127.nova(10/01/2010 02:20:12 PM)(Detached)09:59
suchitp4862.nova(10/01/2010 02:18:48 PM)(Detached)09:59
suchitpUse -S to specify a session.09:59
suchitprm: cannot remove `*.pid*': No such file or directory09:59
suchitpiptables: No chain/target/match by that name.09:59
suchitpiptables: No chain/target/match by that name.09:59
suchitpiptables: No chain/target/match by that name.09:59
suchitpiptables: No chain/target/match by that name.09:59
suchitpiptables: No chain/target/match by that name.09:59
suchitpiptables: No chain/target/match by that name.09:59
suchitpguys can anyone see what the problem is ?09:59
suchitpohhh  i did not know that , will take care next time09:59
suchitpguys can you see the problem http://paste.openstack.org/show/37/ , actually i have checked out the code from http://github.com/vishvananda/novascript.git and m trying to run nova09:59
*** matclayton has joined #openstack10:08
vishyyou will have to kill the other screens10:12
vishythe numbers at the beginning are the process numbers10:12
vishyor killall screen10:12
suchitpok let me try10:12
vishyalso there are a couple commands in the readme to help clean up if you don't exit cleanly10:14
alekibangovishy: you should check for existing screen sessions :)10:15
vishyi should probably just put a killall screen in there somewhere10:15
vishy:)10:15
alekibangololz :) what evil thoughts10:15
suchitpi did killall screen10:16
alekibangosuchitp: killall -9 screen even10:16
alekibango:)10:16
suchitpbut when i do euca-run-instances -k test -t m1.tiny ami-tiny it does nothing and it does not even exits the command10:16
vishygo to screen 210:17
vishyand see if nova-api is successfully running10:17
vishyi think the script may not work if you are not root10:17
vishyit runs the commands in screen without sudo10:18
vishyso you're probably going to have permissions errors10:18
suchitpi have run the script with sudo10:18
vishyyeah that won't do it10:18
vishybecause of the way it injects commands into screen10:19
suchitp ohhh10:19
vishyi don't think you will be root10:19
*** hazmat has joined #openstack10:19
vishyalthough i could be wrong10:19
suchitpya i am not root , i willl try to login with root and then try10:19
vishyok10:20
vishygl10:20
vishyyou can do10:20
vishysudo -i10:20
vishyor sudo su -10:20
vishyor various other options10:20
vishyto get a root shell without relogging in10:20
vishyi'm off to bed so i can't help you debug, but I will help you tomorrow if you are still having trouble10:21
vishy(in 6 or 7 hours)10:21
suchitpok np , see you tommorrow10:21
suchitp:-)10:21
alekibangovishy: root requirements might scare some people :)10:21
vishyyeah it is scary10:21
vishybut it is either that or edit the sudoers file10:22
vishysoren has managed to get it working as non-root10:22
vishybut it is a lot of system level control so you need a lot of permissions10:22
alekibangoi know10:22
vishyso i figure just do it in a vm10:23
vishy:)10:23
vishypreferably not virtualbox10:23
vishy:(10:23
alekibangoor on dedicated test sercer10:23
alekibangoserver*10:23
vishyfreaking virtualbox drops dns and routing regularly, and often corrupts the file system10:23
vishyespecially when hibernating and such10:23
vishyquite annoying10:24
vishygoodnight all10:24
alekibangowell, i prefer kvm thanks to 1) all open  2) in kernel 3) good from cmdline :)10:24
alekibangogn8 vishy...10:24
*** dizz has joined #openstack10:26
*** dizz is now known as dizz|away10:26
vishyalekibango: you forgot doesn't run on a jobs_box10:26
vishy:p10:26
alekibangojobs_box? mac?10:28
*** hazmat has quit IRC10:29
alekibangothats not important to me, as i am user of free software -- freedom included :)10:29
alekibangobut yes i admired how nice macs are...10:29
*** stewart has quit IRC10:30
alekibangobtw debian runs on macs well :) i have tried..10:37
*** mikhail_ has quit IRC10:44
*** mikhail_ has joined #openstack10:45
*** jkakar has left #openstack10:49
*** stewart has joined #openstack11:01
*** ibarrera has quit IRC11:09
*** ibarrera has joined #openstack11:15
*** mikhail_ has quit IRC11:16
*** ctennis has quit IRC11:19
*** _anm has joined #openstack11:36
*** blamar has quit IRC11:36
*** ivan has quit IRC11:40
*** ivan has joined #openstack11:40
*** guigui has joined #openstack11:56
*** blamar has joined #openstack12:11
*** kashyapc has quit IRC12:12
*** suchitp has quit IRC12:17
*** ctennis has joined #openstack12:23
*** ctennis has joined #openstack12:23
*** Podilarius has joined #openstack12:23
*** hazmat has joined #openstack12:52
*** mtaylor has quit IRC12:58
*** _anm has quit IRC13:10
*** mtaylor has joined #openstack13:13
*** ChanServ sets mode: +v mtaylor13:13
*** kevnfx has joined #openstack13:16
*** hazmat has quit IRC13:23
*** cybergirl has joined #openstack13:24
*** _maxim_ has joined #openstack13:25
*** Podilarius has left #openstack13:26
*** cybergirl has quit IRC13:27
*** cybergirl has joined #openstack13:29
*** kevnfx has joined #openstack13:41
*** ArdRigh has quit IRC13:42
*** mtaylor has quit IRC13:45
*** mtaylor has joined #openstack13:46
*** ChanServ sets mode: +v mtaylor13:46
*** kevnfx has left #openstack13:51
*** mtaylor has quit IRC13:55
*** SandCube has joined #openstack13:55
*** kevnfx has joined #openstack13:58
*** olgagirl has joined #openstack13:59
*** kevnfx has quit IRC13:59
*** f4m8 is now known as f4m8_14:01
*** olgagirl has quit IRC14:02
*** rnirmal has joined #openstack14:08
*** mtaylor has joined #openstack14:14
*** ChanServ sets mode: +v mtaylor14:14
*** olgagirl has joined #openstack14:18
*** matclayton has quit IRC14:19
*** abecc has joined #openstack14:21
*** abecc has joined #openstack14:22
*** matclayton has joined #openstack14:24
*** mtaylor has quit IRC14:32
*** kevnfx has joined #openstack14:35
*** alekibango has quit IRC14:37
jaypipesxtoddx: ping!14:42
*** ar1 has quit IRC14:42
*** pharkmillups has joined #openstack14:45
jaypipeseday: can you verify something for me if you get a chance?  On trunk, latest pull, I'm seeing 2 errors when running the test suite: http://paste.openstack.org/show/38/14:45
jaypipesxtoddx: pls see here: http://paste.openstack.org/show/38/  I noticed in the code a commented out piece that references the above bug from you...so it seems you are aware of it?14:46
*** sophiap has quit IRC14:49
*** alekibango has joined #openstack14:49
*** littleidea has joined #openstack14:51
*** sophiap has joined #openstack14:54
*** kevnfx has quit IRC14:58
*** Podilarius has joined #openstack14:59
*** sirp1 has joined #openstack15:01
*** ppetraki has joined #openstack15:05
*** brd_from_italy has quit IRC15:10
*** kashyapc has joined #openstack15:11
jaypipessoren: trying to push through a lot of stuff today :) redisectomy is being merged now..15:14
*** guigui has quit IRC15:14
jaypipessoren: hmm, so devcamcar15:24
jaypipessoren: hmm, so devcamcar's request context branch hit trunk before yours...you will need to adapt your branch for the new context stuff I believe.15:25
jaypipessoren: since all tests fail now :)15:25
*** brd_from_italy has joined #openstack15:29
comstudepic fail15:35
*** ibarrera has quit IRC15:36
*** blamar has quit IRC15:41
*** brd_from_italy has quit IRC15:54
*** befreax has quit IRC15:59
*** ctennis has quit IRC16:00
*** cachedout has joined #openstack16:07
*** hogstrom has joined #openstack16:09
*** burris has quit IRC16:14
*** ctennis has joined #openstack16:14
PentheusIs anyone checking in/sharing puppet recipes for swift? Just looking to save some typing.16:30
PentheusI know lots of people have a hard on for chef and theres plenty of that....16:31
*** kevnfx has joined #openstack16:32
*** kashyapc has quit IRC16:34
*** maplebed has joined #openstack16:38
*** burris has joined #openstack16:39
jaypipescomstud: what is an epic fail? :)16:40
*** zheng_li has quit IRC16:47
*** kashyapc has joined #openstack16:50
xtoddxjaypipes: are you looking at my authserver branch?16:51
jaypipesxtoddx: no, in trunk, those errors are showing up.16:51
jaypipesxtoddx: but I saw comments in the code that you mention that same error...16:52
kevnfxvishy: you mentioned in last nights gathering that nova.sh requires Lucid.16:54
kevnfxSince I had been having problems with Maverick I switched over to Lucid this morning, but have the same problem, namely:16:54
kevnfx# euca-add-keypair test16:54
kevnfxWarning: failed to parse error message from AWS: <unknown>:1:0: syntax error16:54
kevnfxEC2ResponseError: 404 Not Found16:54
kevnfxThis just started happening to me a couple of days ago … is there something else I'm missing?16:54
*** mtaylor has joined #openstack16:55
*** ChanServ sets mode: +v mtaylor16:55
vishycan you check screen 216:55
vishyand see what exception is being thrown?16:55
xtoddxjaypipes: i don't see nova/tests/authserver_unittest in trunk16:56
kevnfxvishy: There are a number of "No route matched for POST ..." messages there ...16:56
vishykevnfx, weird16:57
jaypipesxtoddx: I know.  I'm saying that the error that you talk about in authserver_unittest is showing up in trunk. :)16:57
xtoddxah16:57
jaypipesxtoddx: and I'm wondering if you know how to fix it :)16:57
vishyeuca-add-keypair shouldn't be posting16:57
kevnfxvishy: just tried it again, and get "No route matched for GET /services/Cloud" ...16:58
vishyoh16:58
vishystrange16:58
vishycan you do any other commands16:58
kevnfxthis is pretty consistent ... I reinstall a clean release and run nova.sh branch/install/run16:58
vishyeuca-describe-instances?16:58
xtoddxjaypipes; not really is the offending code being called in a with session.begion() block?16:59
kevnfxvishy: any euca-* command immediately returns the same16:59
vishyah ok16:59
xtoddxi think that was part of the problem for me16:59
jaypipesxtoddx: not sure..17:00
*** joearnold has joined #openstack17:00
xtoddxso, i think there is another way to get a session handle17:00
vishysounds like routing is messed up, in the version of the script your using, does it create /etc/nova/nova-manage.conf?17:00
xtoddxbut i was returning from within that block17:00
vishyif so, is there a --FAKE_subdomain=ec2 in there?17:00
jaypipesxtoddx: hmm, something is fishy... I *do* have authserver_unittest in my trunk...17:01
kevnfxvishy: nova-manage.conf is created ...17:01
jaypipesxtoddx: lemme create a fresh trunk branch locally...not sure if I messed things up when reviewing your authserver branch. :(17:01
xtoddxjaypipes: also, maybe you are calling .save() on an instance, instead of calling db.X_save(context, instance)17:01
kevnfxvishy: looks like this:17:01
kevnfx:/etc/nova$ cat *.conf17:01
kevnfx--verbose17:01
kevnfx--nodaemon17:01
kevnfx--max_networks=517:01
kevnfx--sql_connection=sqlite:////root/nova/nova.sqlite17:01
kevnfx--auth_driver=nova.auth.ldapdriver.FakeLdapDriver17:01
kevnfx--libvirt_type=qemu17:01
jaypipesxtoddx: I'm not calling anything ;) I haven't written any of this code :)17:01
vishyyeah you have old novascript, you need --FAKE_subdomain=ec217:02
kevnfxvishy: let me add that (I pulled down the latest script from ~soren/nova/novascript, is there another location?)17:02
xtoddxjaypipes: then pick someone randomly to blame, looks like there are 138 people in the chan, surely one of them wont' be around to defend themselves17:02
vishythat one is supposed to mirror the github git@github.com/vishvananda/novascript17:03
jaypipesxtoddx: :) I've pulled a fresh trunk branch.. I'll let you know if the error pops up again...17:03
vishyer17:03
xtoddxjaypipes: cool17:03
vishyhttp://github.com/vishvananda/novascript17:03
kevnfxvishy: let me start over and use that script (that's actually the location I used before I switched to ~soren/...)17:05
*** jdarcy has joined #openstack17:08
*** hogstrom has quit IRC17:13
*** Ryan_Lane has joined #openstack17:17
*** littleidea has quit IRC17:17
*** hogstrom has joined #openstack17:17
kevnfxvishy: euca-* commands work now ... thanks for the updated script (should I always get it from your github project to be sure?).  Now nova-network fails with a ProcessExecutionError trying to update the iptables.  Let me reinstall clean and try this again ... it should just work, right?17:23
*** pvo has joined #openstack17:24
*** ChanServ sets mode: +v pvo17:24
vishyhmm hold on17:26
kevnfxvishy: with Lucid from the distro CD?  That is, should I avoid apt-get upgrade ... (i performed that update just before using your new script ... that may be the iptables problem?)17:26
vishywhat is the error?17:27
vishyi mean the output from the command17:27
kevnfxI have to transcribe this from another screen behind me:17:27
kevnfxFailed to load application: Unexpected error while running command17:28
kevnfxiptables v1.4.4: option "--to-source" requires an argument ...17:28
vishyand what was the actual command?17:29
vishyit looks like a value was set to null17:29
vishys/null/None17:29
kevnfxsudo iptables -I POSTROUTING -t nat -s 10.0.0.0/8 -j SNAT --to-source17:29
vishyyeah that is missing the end17:30
vishyone sec17:30
kevnfxdoesn't appear to have anything after the --to-source switch17:30
vishythat is supposed to be routing_source_ip17:31
kevnfxvishy: where is that pulled from?17:31
vishysee the nova.sh note17:31
vishyyou need to manually set host ip17:31
vishyexport $HOST_IP17:32
kevnfxThis is a note in the README.md?  or the nova.sh script?17:32
*** littleidea has joined #openstack17:32
vishyjust so you know, the error shouldn't really matter, it will just mean that you can't route from instances to public17:32
vishythere is a note in both places i think17:33
kevnfxOh, I see it now ... let me try this again ...17:33
sirp1_0x44:  when teller emits the data, are you using chunked-transfer encoding, or are you specifying the content-length up front?17:35
kevnfxI set it as 'export HOST_IP=""' ... but have the same failure.  Should it be set to localhost?17:36
*** Pentheus has quit IRC17:37
kevnfxvishy: seems the note may be wrong ... I do have multiple adapters, setting HOST_IP to "" fails, but export HOST_IP=localhost works just fine ...17:38
vishyit should be HOST_IP='192.168.1.1'17:40
vishyor whatever your ip is17:40
vishylocalhost will not let you route out17:40
vishyto the rest of the world17:40
kevnfxvishy: ah ... probably why I can't connect to the domain at 10.0.0.3 as well?17:41
vishyyou should be able to get in17:41
vishyjust not out17:41
vishyif you can't get in, usually it is because there is some issue with dhcp17:43
vishyeuca-get-console-output might be helpful17:43
kevnfxvishy: I changed it to 192.168.0.1 ... but can't route to 10.0.0.3 ... is there something else I'm missing since I have multiple adapters configured?  Would it be easier if I just pulled the card for now?17:43
kevnfxeuca-get-console-output <domain> simply shows "1\n"2\n" and nothing else.  Can I manually add a route to 10.0.0.0?17:46
kevnfxvishy: perhaps my system isn't "standard" enough to come up clean.  Let me just pull the card and see if I can get this up ... I'm not trying to do anything special (yet), just trying to get the bits in place and verified ...17:50
vishywait, are you using uml?17:51
vishythat started happening to me with uml17:51
vishysoren thinks it may be fixed if you pull the newest libvirt out of the ppa, but i haven't tested it yet17:52
kevnfxuml?  Not that I'm aware of ... unless nova.sh is setting that up.17:52
vishyit is an option17:53
vishyLIBVIRT_TYPE=qemu17:53
kevnfxI'm just following the README ... branch/install/run/keypair/euca-run/...17:53
vishyif you have no console output, then the vm isn't starting properly17:54
vishyis this a 32 bit machine?17:54
kevnfxJust those two lines I mentioned ... this is a 64bit machine17:54
vishyhmm, I have seen that issue before, but I don't know if i ever figured out how to fix it17:55
vishytry looking in /var/log/libvirt/qemu/<instance-id>.log17:56
vishyif it is complaining about permissions issues17:56
vishyif you are working in /root/ you probably need to chmod it to be world readable17:57
kevnfxchardev: opening backend "file" failed17:57
vishyyeah17:57
vishyso permissions issue17:57
kevnfxpermissions where?17:57
kevnfxI'm running as root17:57
vishywhat folder are you using?17:57
vishyroots home dir?17:57
kevnfxfolder?17:58
vishythe path17:58
vishywhere you are running commands from17:58
vishys/folder/dir17:58
kevnfxI'm installing this in root home directory  ... /root17:58
*** jc_smith has joined #openstack17:58
vishyok17:58
vishys17:58
vishyso chmod 755 /root/17:58
vishythat may be enough17:58
vishybut you may also need to edit /etc/libvirt/qemu.conf to make qemu run as root17:59
vishyand /etc/libvirt.d/libvirt-bin restart17:59
vishyit is one or both of those issues17:59
*** mdomsch has joined #openstack18:00
kevnfxStill not routing (No route to host).  log file sez "pci_add_option_rom: failed to find romfile "pxe-rtl8139.bin""18:03
*** littleidea has quit IRC18:03
kevnfxI restarted libvirt along with chmod 755 /root ....18:03
kevnfxWould this be easier if I used KVM?18:05
*** joearnol_ has joined #openstack18:06
*** pvo has quit IRC18:06
*** irahgel has left #openstack18:06
*** littleidea has joined #openstack18:07
vishythat is better18:07
vishydoes get-console-output work?18:07
*** joearnold has quit IRC18:08
*** littleidea has quit IRC18:09
kevnfxYup!  Lost of console output ... and can now ping 10.0.0.3 .... thanks!  Now I just have to make sure I write down the details so I don't forget.18:09
jaypipessoren: holy errors, batman :)18:12
*** burris has quit IRC18:12
*** burris has joined #openstack18:13
jc_smithhey vishy, thanks for walking me through the network code last night at the meetup, much appreciated18:14
jaypipessoren, eday: a review of https://code.launchpad.net/~jaypipes/nova/cleanup-for-nosetests/+merge/37298 would be most appreciated :)18:14
vishynp18:16
*** zheng_li has joined #openstack18:17
*** littleidea has joined #openstack18:22
*** kevnfx has quit IRC18:27
*** pharkmillups has quit IRC18:35
*** littleidea has quit IRC18:38
*** kashyapc has quit IRC18:41
*** matclayton has quit IRC18:45
*** littleidea has joined #openstack18:45
*** another29 has joined #openstack18:50
sorenjaypipes: Can you try checking out the redisctomy branch and run the unit tests? They all work beatifully for me.18:56
jaypipessoren: will do.18:56
jaypipessoren: have you merged it with trunk and tried the tests, though?18:56
sorenjaypipes: Uh.. No.18:58
sorenjaypipes: I didn't realise anything had hit trunk, and I've been Internet-less all day.18:58
jaypipessoren: that is where you will see the failures.18:58
sorenParisians don't have enough bandwidth for a couple hundred conference attendees, apparantly.18:59
sorenjaypipes: I'm sure you're right. Garh.18:59
jaypipessoren: the redisectomy branch is fine, but when merged with trunk, which includes devcamcar's rework of the context authorization stuff, everything poops :)18:59
sorenjaypipes: Clearly. The fact that access_unittest's setUp method just wraps the calls to the auth manager in try: blah; except: pass    really doesn't help.19:00
* soren sighs deeply.19:01
sorenMaybe I should just get that darned Feature Feeze e-mail sent out before someone changes everything *again* so that I'll have to start over on that branch.19:01
*** joearnol_ has quit IRC19:01
jaypipessoren: indeed.19:02
*** maple_bed has joined #openstack19:02
*** maplebed has quit IRC19:05
*** burris has quit IRC19:13
*** mattt has quit IRC19:21
*** mattt has joined #openstack19:22
*** littleidea has quit IRC19:26
*** pharkmillups has joined #openstack19:38
*** hazmat has joined #openstack19:39
*** DubLo7 has joined #openstack19:45
*** xfaf has quit IRC19:46
*** littleidea has joined #openstack19:49
*** littleidea has quit IRC19:54
*** littleidea has joined #openstack20:04
*** hogstrom has quit IRC20:07
*** hogstrom has joined #openstack20:08
*** hogstrom has quit IRC20:12
*** littleidea has quit IRC20:12
*** jakedahn_ has joined #openstack20:21
*** jakedahn has quit IRC20:23
*** jakedahn_ is now known as jakedahn20:23
*** another75 has joined #openstack20:25
jaypipes_0x44: yep, you are right about the webob.Request thing...not sure what I was getting at there :)20:25
*** littleidea has joined #openstack20:28
* soren feature freezes OpenStack...... now.20:28
*** ChanServ sets mode: +o soren20:29
*** soren changes topic to "Feature Freeze now in effect! Find out more and get involved here: http://www.openstack.org | Nova Docs: nova.openstack.org | Swift Docs: swift.openstack.org | Wiki: wiki.openstack.org | Logs: http://eavesdrop.openstack.org/irclogs/ | http://paste.openstack.org/"20:29
*** soren sets mode: -o soren20:29
*** littleidea has quit IRC20:29
*** another29 has quit IRC20:29
sorenHmm... Perhaps I should send the e-mail to nova@l.l.n and swift@l.l.n, too.20:31
*** kevnfx has joined #openstack20:36
*** hogstrom has joined #openstack20:37
*** hogstrom_ has joined #openstack20:38
sorenIt's also beer o'clock. Just sayin'.20:40
*** littleidea has joined #openstack20:41
*** dizz|away has quit IRC20:42
*** joearnold has joined #openstack20:47
*** joearnold has joined #openstack20:47
*** hazmat has quit IRC20:52
*** jdarcy has quit IRC20:58
*** mtaylor has quit IRC21:02
*** DubLo71 has joined #openstack21:27
*** DubLo72 has joined #openstack21:28
*** DubLo7 has quit IRC21:29
*** DubLo72 has left #openstack21:30
*** kevnfx has quit IRC21:31
*** DubLo71 has quit IRC21:32
*** _maxim_ has quit IRC21:32
*** miclorb_ has joined #openstack21:36
*** mdomsch has quit IRC21:38
*** littleidea has quit IRC21:47
*** ppetraki has quit IRC22:02
*** littleidea has joined #openstack22:06
*** jc_smith has quit IRC22:06
*** jc_smith has joined #openstack22:07
*** pharkmillups has quit IRC22:11
*** rnirmal has quit IRC22:11
*** littleidea has quit IRC22:11
*** littleidea has joined #openstack22:13
*** littleidea has quit IRC22:20
*** pharkmillups has joined #openstack22:23
*** allsystemsarego has quit IRC22:29
*** burris has joined #openstack22:37
*** jfluhmann has quit IRC22:50
*** pharkmillups has quit IRC22:57
*** kevnfx has joined #openstack23:16
*** stefano_s has quit IRC23:18
*** kevnfx has quit IRC23:21
*** littleidea has joined #openstack23:24
*** abecc has quit IRC23:26
*** littleidea has quit IRC23:33
*** miclorb_ has quit IRC23:46
*** miclorb_ has joined #openstack23:47
*** miclorb_ has quit IRC23:54
*** joearnold has quit IRC23:58

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