Switch to DuckDuckGo Search
   October 3, 2013  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | >

bottom
[00:10:49] *** bakins has joined #project-FiFo
[01:36:10] *** bakins has quit IRC
[01:37:57] *** bakins has joined #project-FiFo
[01:52:18] <trentster> morning fifo'ers :^)
[01:59:24] *** bakins has quit IRC
[02:24:39] <konobi> killfill: might want to have a look at appjs.com
[02:29:03] *** jim80net has quit IRC
[03:05:27] *** MerlinDMC has quit IRC
[03:31:08] <killfill> to make a fifo app!.. :P
[03:34:14] <trentster> killfill: howdy mate.
[03:35:55] <killfill> hi
[03:54:28] <killfill> trentster: you change the look of your blog :)
[03:55:41] <trentster> killfill: yeah I did, I did a major re-work
[03:55:57] <trentster> its also responsive now
[04:45:55] *** MerlinDMC has joined #project-FiFo
[04:50:27] *** MerlinDMC has quit IRC
[05:37:52] *** izaki has quit IRC
[08:45:15] <konobi> killfill: yup, then you can do things like historical charts, desktop notifications, mdns service discovery, etc.
[08:59:55] *** mgls has joined #project-FiFo
[09:19:01] *** alcir has joined #project-FiFo
[09:19:57] *** alcir has quit IRC
[09:21:06] *** wiedi has joined #project-FiFo
[09:21:17] *** alcir has joined #project-FiFo
[09:44:17] <konobi> killfill: fun idea for ya
[09:56:42] <alcir> so
[09:56:59] <alcir> there is a simple way to get ip address from fifo command line?
[09:57:04] <alcir> someone can help?
[09:58:04] <alcir> something like
[09:58:05] <alcir> fifoadm vms list -j |json -a get alias
[10:48:04] <benoitc> https://github.com/google/lmctfy/
[10:59:41] <trentster> alcir:  you can do it like this:
[10:59:44] <trentster> fifoadm vms get -j f2facd4c-946d-4b65-a859-138274529ad2 | json networks[0].ip
[11:00:46] <alcir> mmm
[11:01:39] <alcir> but this get only one ip for only one vm
[11:02:00] <trentster> alcir: what you trying to do get a list of ips?
[11:02:05] <trentster> by themselves?
[11:02:06] <alcir> fifoadm vms list -j |json -a get alias hypervisor networks[0].ip
[11:02:16] <alcir> this is better
[11:02:29] <alcir> but this will get only one ip
[11:05:06] <trentster> you can also use an one liner "for" and "do" statement
[11:05:20] <alcir> uh
[11:05:28] <alcir> for ... for what?
[11:06:00] <trentster> probably cleaner that way, depends on if you are looking for just the ips, or a list of ip with names etc.
[11:06:07] <trentster> 1 sec let me do one quick for you...
[11:06:23] <alcir> thanks :-*
[11:12:33] <trentster> will have a look once I am off this phone call
[11:35:23] <trentster> alcir: its pretty messy, but as a quick go, something like this works http://hastebin.com/lapiwoxiri.rb
[11:35:55] <trentster> but if you are trying to script soemthing, I would probably go with Licenser sugegstion and interact via the api.
[11:37:44] <trentster> ;-) np
[11:41:20] <alcir> mmm
[11:45:41] <alcir> I don't know how to use the api
[11:51:01] <alcir> another question
[11:51:06] <alcir> fifoadm hypervisors delete UUID
[11:51:21] <alcir> it deletes the hypervisor from the fifo list, right?
[11:52:30] <konobi> trentster: doubt this'll apply anymore... but... https://gist.github.com/konobi/a31dd7ccb19a317073ae
[11:54:17] <trentster> konobi: erm, in a nutshell what is it/does it do?
[11:55:31] <trentster> alcir: not 100% sure on that, but yes I think so. I would make 100% sure it only removes the hypervisor and does not try meddle with the vm's
[11:55:47] <trentster> which I doubt it would do, but better safe than sorry
[11:55:51] <trentster> ;-)
[11:56:53] <konobi> trentster: adds jsonpath support to jsontool
[11:57:05] <trentster> aah
[11:57:40] <konobi> http://goessner.net/articles/JsonPath/
[12:52:38] <trentster> alcir: I am just working with konobi on python console client usage to interact via api. Gonna do a blog post on it in a bit. You should be able to follow that :-D
[12:55:03] <alcir> wow
[12:59:49] <alcir> another issue
[13:00:04] <alcir> if the hypervisor is named by uuid
[13:00:06] <alcir> in the list
[13:04:16] <trentster> ?
[13:04:40] <alcir> yes
[13:04:50] <alcir> in the hypervisor list
[13:05:03] <alcir> I see the uuids of the hypervisors
[13:05:07] <alcir> and not the name
[13:05:11] <alcir> for some
[13:05:14] <alcir> of them
[13:05:28] <alcir> and one ip address is 127.0.0.1
[13:05:46] <trentster> show me
[13:09:12] <alcir> https://gist.github.com/alcir/36dfdb8d9a550eff5470
[13:10:27] <trentster> alcir does "microserverpaolo" still exist? and if so was it created with fifo?
[13:12:03] <alcir> no
[13:17:46] *** echelog has joined #project-FiFo
[13:17:50] <trentster> alcir: sorry never looked properly..
[13:17:53] <trentster> alcir: is that hypervisor still connected?
[13:18:24] <trentster> and did you previously manually configure chunter on it by any chance?
[13:19:37] <alcir> uh
[13:19:42] <alcir> it is connected yes
[13:19:47] <alcir> never done by hand
[13:20:30] <trentster> so its showing up in fifo web ui, and you can interact with vm's on it etc via web ui?
[13:21:38] <trentster> and you running latest dev right?
[13:21:49] <alcir> but
[13:21:55] <alcir> if I reinstall all?
[13:22:07] <alcir> fifo I mean
[13:22:13] <alcir> not chunter
[13:50:36] <Licenser> alcir the newest fifo will identify hypervisors by uuid
[14:19:26] <trentster> alcir: http://blog.smartcore.net.au/project-fifo-api-via-python-client/
[14:19:31] <trentster> there ya go.
[14:20:10] <trentster> I still need to finish the usage examples, but there is enough there for you to successfully install it and get up and running.
[14:21:34] <Licenser> yay!
[14:40:52] <killfill> alcir: you can alwais do somethiing like this: for i in `fifoadm vms list|awk '{print $1}'`; do fifoadm vms get -j $i| json networks[0].ip; done
[14:40:55] <killfill> :P
[15:03:22] <alcir> bah
[15:03:39] <alcir> one of the hypervisors ip is 127.0.0.1
[15:03:48] <alcir> from fifo
[15:03:49] <alcir> why?
[15:28:44] <Licenser> alcir propably because your hostname resolves to 127.0.0.1
[15:33:46] <alcir> ?!
[15:34:08] <alcir> :_/
[15:35:04] <Licenser> you can a) fix your hostname b) configure chunter to give you a fixed ip as described in the manua
[15:35:05] <Licenser> l
[15:39:35] <alcir> fix your hostname?
[15:39:37] <alcir> but
[15:39:41] <alcir> it is ok
[15:39:43] <alcir> !
[15:44:13] *** jim80net has joined #project-FiFo
[15:45:57] <alcir> {ip, {10,0,0,1}},
[15:45:57] <alcir>    {hostname, "hypervisor-name"}
[15:45:57] 
[15:46:14] <alcir> 10,? not dot?
[15:49:50] <Licenser> yes , not .
[15:55:27] *** Meths has quit IRC
[15:56:36] <jzu_> err :)
[16:02:01] <alcir> but
[16:02:06] <alcir> and
[16:02:31] <alcir> there is a way to clean fifo
[16:02:41] <alcir> and let rediscover the hypervisors?
[16:04:12] <jzu_> reinstall! :)
[16:04:20] <alcir> aaaaaarg
[16:04:26] <alcir> pkgin rm?
[16:04:54] <Licenser> jzu_ nonsense
[16:05:01] <jzu_> Licenser: =)
[16:05:04] <Licenser> fifoadm hypervisors delete ...
[16:05:22] <Licenser> alcir you don't need to reinstall jzu_ is just being a smartass :P
[16:05:27] <jzu_> Licenser: by the way, now that we have production VM's running, is it sensible to add FiFo into the mix?
[16:05:38] <jzu_> Licenser: or should it be done on clean host with no VM's?
[16:05:50] <Licenser> jzu_ you can toss fifo on a existing syste w/o issues
[16:06:04] <jzu_> Licenser: how about the 'packages' that don't exist on the current VM's?
[16:06:11] <jzu_> Licenser: I guess it's not a problem?
[16:06:24] <Licenser> jzu_ nopeit will just show them as 'custom' package
[16:06:29] <jzu_> ah, right
[16:06:42] <Licenser> you can create new packages with the same specs and 'resize'
[16:06:52] <Licenser> which will just tell fifo that it's this package
[16:33:47] <alcir> Licenser, well, I've deleted all the hypervisors using fifoadm hypervisors delete
[16:33:50] <alcir> and now?
[16:34:06] <Licenser> you restart chunter on the hypervisors and they will reapear
[16:40:07] <alcir> :-(
[16:40:32] <alcir> they reappears with the UUID and not the name
[16:40:35] <alcir> is it ok?
[16:54:32] *** wiedi has quit IRC
[17:15:38] <Licenser> alcir yes I even wrote a mail to inform people about the change you should subscrive to the mailing list
[17:18:45] <alcir> but isn't better to display the name?
[17:18:54] <alcir> is a bit confusing th uuid ...
[17:20:26] <Licenser> have you read the mail?
[17:21:03] <alcir> uh
[17:21:04] <alcir> no
[17:21:09] <alcir> I'm not in the ml
[17:23:14] <alcir> I will take a look
[17:23:15] <alcir> thanks
[17:23:16] <alcir> bye
[17:23:19] *** alcir has quit IRC
[20:10:46] *** MerlinDMC has joined #project-FiFo
[20:59:49] *** conan_the_destro has joined #project-FiFo
[21:47:16] *** Eimann has quit IRC
[23:44:21] *** Eimann has joined #project-FiFo
[23:54:46] *** conan_the_destro has quit IRC
[23:59:41] *** conan_the_destro has joined #project-FiFo
top

   October 3, 2013  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | >