axisys

Activity Graph

Page 1 of 2 | Next »

2017-10-29

[00:37:29] axisys: Ping timeout: 255 seconds

2017-10-27

[00:00:35] axisys: need help with installing rvc.. I am getting nokogiri requires Ruby version >= 2.1.0 .. but then it will break puppet .. on centos 7
[00:00:54] axisys: let me know if I should really taking it over to #centos channel
[00:01:02] axisys: s/taking/take/
[00:09:21] axisys: RickHull: yes if I upgrade ruby .. then puppet will fail
[00:09:59] axisys: puppet for centos 7 based on //yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
[00:12:57] axisys: hmm.. did not think of `gem install puppet'
[00:13:21] axisys: RickHull: let me try on a centos 7 VM
[00:18:09] axisys: so on a fresh new centos 7 VM .. obviously there is no gem
[00:18:31] axisys: so installing yum install -y rubygems installs a olderversion
[00:18:47] axisys: can gem upgrade itself from there? like pip?
[00:21:11] axisys: btw, this is what I meant.. http://dpaste.com/0CHWEVT.txt
[00:22:52] axisys: ok.. so gem update --system got me to 2.6.14 .. now gem install rvc says missing ruby.h .. do I install the header files with gem or yum?
[00:25:44] axisys: ruby-devel
[00:26:24] axisys: so back to same error.. nokogiri requires Ruby version >= 2.1.0.
[00:28:22] axisys: doing a yum upgrade
[00:31:14] axisys: RickHull: still 2.0
[00:34:43] axisys: RickHull: I need to use rvc for a whole team ..
[00:35:09] axisys: RickHull: I did
[00:35:27] axisys: RickHull: yum upgrade does that
[00:35:52] axisys: RickHull: let me check with #centos.. thanks

2017-10-26

[23:59:53] axisys: has joined #ruby

2016-07-29

[15:21:01] axisys: Ping timeout: 250 seconds

2016-07-26

[12:44:34] axisys: Ping timeout: 240 seconds
[12:57:00] axisys: has joined #ruby

2016-07-22

[04:35:03] axisys: Ping timeout: 250 seconds
[05:07:55] axisys: has joined #ruby

2016-07-10

[04:59:56] axisys: *.net *.split
[08:54:00] axisys: has joined #ruby

2016-07-08

[08:15:31] axisys: Ping timeout: 240 seconds
[08:17:06] axisys: has joined #ruby

2016-07-03

[09:39:13] axisys: has joined #ruby

2016-06-27

[09:31:33] axisys: Ping timeout: 246 seconds

2016-06-15

[02:03:41] axisys: Ping timeout: 250 seconds
[16:38:26] axisys: has joined #ruby

2016-06-14

[13:44:30] axisys: Ping timeout: 246 seconds
[14:17:03] axisys: has joined #ruby

2016-06-13

[13:53:07] axisys: has joined #ruby

2016-06-03

[08:39:19] axisys: Remote host closed the connection

2016-05-30

[19:43:08] axisys: has joined #ruby

2016-05-29

[19:08:27] axisys: Ping timeout: 246 seconds

2016-05-27

[14:32:08] axisys: has joined #ruby

2016-05-18

[08:45:43] axisys: Ping timeout: 250 seconds

2016-04-28

[04:41:14] axisys: Ping timeout: 260 seconds
[05:08:45] axisys: has joined #ruby
[05:08:53] axisys: has joined #ruby
[05:08:53] axisys: Changing host

2016-04-27

[00:47:39] axisys: Ping timeout: 260 seconds
[00:48:13] axisys: has joined #ruby
[00:53:34] axisys: Read error: Connection reset by peer
[00:54:14] axisys: has joined #ruby

2016-04-26

[02:07:32] axisys: Ping timeout: 260 seconds
[02:08:21] axisys: has joined #ruby
[03:54:03] axisys: Ping timeout: 240 seconds
[04:00:12] axisys: has joined #ruby
[23:22:51] axisys: Ping timeout: 276 seconds
[23:23:11] axisys: has joined #ruby

2016-04-25

[18:32:07] axisys: has joined #ruby

2016-04-05

[21:44:44] axisys: has left #ruby: ()

2016-04-03

[07:25:13] axisys: Read error: Connection reset by peer
[22:54:15] axisys: has joined #ruby

2016-03-24

[15:13:14] axisys: *.net *.split
[15:29:41] axisys: has joined #ruby
[21:44:43] axisys: *.net *.split
[22:00:42] axisys: has joined #ruby
[22:01:18] axisys: Max SendQ exceeded
[22:01:40] axisys: has joined #ruby

2016-03-21

[23:07:22] axisys: has joined #ruby

2016-03-20

[21:51:59] axisys: Remote host closed the connection

2016-03-14

[07:15:29] axisys: *.net *.split
[07:16:11] axisys: has joined #ruby

2016-03-07

[15:52:54] axisys: has joined #ruby

2016-03-06

[05:31:56] axisys: Remote host closed the connection

2016-02-28

[13:02:45] axisys: Ping timeout: 268 seconds
[13:39:11] axisys: has joined #ruby

2016-02-27

[22:30:44] axisys: Ping timeout: 244 seconds
[23:05:01] axisys: has joined #ruby

2016-02-26

[19:33:30] axisys: Quit: leaving
[19:33:47] axisys: has joined #ruby

2016-02-25

[00:15:08] axisys: Remote host closed the connection
[00:18:37] axisys: Changing host
[00:18:37] axisys: has joined #ruby
[00:18:38] axisys: has joined #ruby

2016-02-19

[18:27:21] axisys: *.net *.split
[18:27:38] axisys: has joined #ruby

2016-02-16

[15:37:25] axisys: Read error: Connection reset by peer

2016-02-13

[21:27:23] axisys: Read error: Connection reset by peer
[21:33:54] axisys: has joined #ruby

2016-02-04

[04:19:15] axisys: Ping timeout: 263 seconds
[04:20:24] axisys: has joined #ruby

2016-01-24

[12:58:25] axisys: Ping timeout: 245 seconds
[12:59:44] axisys: has joined #ruby

2016-01-23

[19:32:38] axisys: Ping timeout: 265 seconds
[20:27:22] axisys: has joined #ruby

2016-01-22

[19:46:30] axisys: Read error: Connection reset by peer
[19:52:31] axisys: has joined #ruby

2016-01-19

[22:04:06] axisys: Ping timeout: 240 seconds
[22:06:03] axisys: has joined #ruby

2015-12-29

[02:02:54] axisys: has joined #ruby

2015-12-26

[00:56:10] axisys: Remote host closed the connection

2015-12-17

[06:33:43] axisys: has joined #ruby

2015-12-12

[10:11:04] axisys: Ping timeout: 240 seconds

2015-12-11

[02:06:57] axisys: Client Quit
[02:06:57] axisys: has joined #ruby
[02:07:06] axisys: has joined #ruby

2015-12-08

[00:35:02] axisys: Remote host closed the connection

2015-12-02

[15:36:10] axisys: *.net *.split
[16:28:47] axisys: has joined #ruby

2015-11-29

[22:53:58] axisys: has joined #ruby

2015-11-26

[19:01:45] axisys: *.net *.split

2015-11-21

[02:19:04] axisys: Write error: Broken pipe

2015-11-12

[04:40:16] axisys: has joined #ruby

2015-11-11

[02:29:15] axisys: Remote host closed the connection
[02:47:58] axisys: has joined #ruby
[16:17:09] axisys: Ping timeout: 240 seconds

2015-11-04

[09:28:07] axisys: Ping timeout: 246 seconds
[09:29:11] axisys: has joined #ruby

2015-11-03

[03:48:19] axisys: what is ?: means in regex ? I am reading this URI_PARSER regex which suppose to extract fields from [username[:password]@]hostname
[03:48:22] axisys: https://github.com/vmware/rvc/blob/master/lib/rvc/uri_parser.rb
[03:50:40] axisys: Ox0dea: thanks
[03:53:45] axisys: Ox0dea: URI_REGEX should catch the password correctly if there is no '@' in it .. right?
[03:57:00] axisys: Ox0dea: it is at a later def .. right
[03:57:14] axisys: Ox0dea: thanks
[04:07:21] axisys: Ox0dea: what is x for in %r{ .. }x ?
[04:09:10] axisys: Ox0dea: ok
[04:12:15] axisys: Ox0dea: big time.. yep
[04:13:46] axisys: hopefully no user will have a space in their password :-)
[04:14:30] axisys: Ox0dea: so you saying URI_REGEX needs improvement?
[04:14:56] axisys: Ox0dea: sorry I misread
[04:16:03] axisys: Ox0dea: right right.. doh
[18:01:53] axisys: rvc foo:secret@vcenter.com works but rvc foo:"secret&me"@vcenter.com ignores password.. any suggestion of a workaround.. URI parser is here https://github.com/vmware/rvc/blob/master/lib/rvc/uri_parser.rb
[18:02:08] axisys: not sure why it ignore if sees '&' in password
[18:02:39] axisys: no one in #rvc channel rlane@vmware.com bounces and post an issue in github and no response
[18:03:12] axisys: figure rvc (ruby vsphere console) is written in ruby so ask here
[18:12:25] axisys: soahccc: sorry I was away ...
[18:13:00] axisys: soahccc: so I am calling rvc from bash and without quote it starts a background process when sees the '&' outside quote
[18:19:15] axisys: soahccc: rvc foo:"secret&me"@vcenter.com does not send the quote to rvc .. it is just bash needs it
[18:19:28] axisys: soahccc: anyway to add a debug to see what rvc sees?
[18:20:38] axisys: https://github.com/vmware/rvc/blob/master/bin/rvc
[18:20:49] axisys: soahccc: ^ may be add a debug in there?
[18:21:43] axisys: can you suggest a better uri handling and I can send them a rquest for fix?
[18:23:45] axisys: my problem is rvc foo:secret&me@vcenter.com will not work from bash
[18:25:31] axisys: soahccc: this ignores password as well rvc "foo:secret&me@vcenter.com"
[18:27:07] axisys: soahccc: URI.parse(%{"foo:secret&me@vcenter.com"}) fails too
[18:28:40] axisys: soahccc: I guess I can modofy line 73
[18:28:52] axisys: uri = RVC::URIParser.parse str .. change it to something better ?
[18:29:10] axisys: str is the argument for rvc
[18:29:33] axisys: uri = URI.parse ?
[18:30:17] axisys: soahccc: hey.. that looks good.. now I need to split them
[18:31:20] axisys: soahccc: how do I debug it?
[18:31:26] axisys: embed pry ?
[18:32:15] axisys: soahccc: ok
[18:37:23] axisys: soahccc: bin/rvc is https://gist.github.com/asifiqbal/31f23e4643bc8686a138 .. it calls /var/lib/gems/1.9.1/gems/rvc-1.8.0/bin/rvc .. how do I tell it to call /var/lib/gems/1.9.1/gems/rvc-1.8.0/bin/rvc2 ?
[18:37:49] axisys: soahccc: i dont want to modify the /var/lib/gems/1.9.1/gems/rvc-1.8.0/bin/rvc since lot of people using it
[18:44:52] axisys: soahccc: ok puts str before uri = RVC::URIParser.parse str andI get bad uri
[18:45:09] axisys: so I think RVC::URIParser.parse is breaking it
[18:53:57] axisys: soahccc: does this password work? T#b]zYs&Ap4I
[18:55:30] axisys: soahccc: there we go!
[18:59:06] axisys: so need to try like this? http://user%40example.com:pass%21word@example.com/path/to/input.avi
[19:03:24] axisys: soahccc: but password is unknown..
[19:04:12] axisys: how do I know if there is odd character and then encode it?
[19:04:49] axisys: or are you saying take the password word and encode it before using it?
[19:05:26] axisys: soahccc: yes $_pass in bash has the password
[19:05:48] axisys: banister: translate.google.com
[19:09:13] axisys: Ox0dea: cool.. let me give that a try
[19:11:46] axisys: soahccc: wow!
[21:55:18] axisys: soahccc: that was a long meeting .. so I used the urlencoded password and now do no get bad uri but incorrect user name or password
[21:55:31] axisys: $ urlencode 'T#b]zXs&Ap4I'
[21:55:33] axisys: T%23b%5DzXs%26Ap4I
[21:55:55] axisys: rvc foo:T%23b%5DzXs%26Ap4I@vcenter.com
[21:56:13] axisys: Failed to connect to vcenter.com: InvalidLogin: Cannot complete login due to an incorrect user name or password
[21:58:03] axisys: soahccc: that error message is from line 85
[21:58:06] axisys: soahccc: https://github.com/vmware/rvc/blob/master/bin/rvc

2015-10-29

[02:30:35] axisys: has joined #ruby

2015-10-28

[16:24:43] axisys: Remote host closed the connection

2015-10-16

[00:09:04] axisys: has joined #ruby

2015-10-15

[01:07:50] axisys: Remote host closed the connection
[01:11:19] axisys: has joined #ruby
[06:45:12] axisys: Ping timeout: 272 seconds
[06:46:59] axisys: has joined #ruby

2015-10-14

[05:37:35] axisys: has joined #ruby

2015-10-10

[11:41:13] axisys: Ping timeout: 264 seconds
[11:43:21] axisys: has joined #ruby
[21:43:03] axisys: *.net *.split

2015-10-04

[01:32:47] axisys: Ping timeout: 240 seconds
[01:34:00] axisys: has joined #ruby

2015-09-24

[16:24:23] axisys: Ping timeout: 244 seconds
[16:24:33] axisys: has joined #ruby

2015-09-10

[00:21:52] axisys: has joined #ruby
[16:47:59] axisys: how do I add a check for this e = entry.mail.first so if not present instead of saying `method_missing': undefined method `mail' I like to feed entry.cn.first
[16:48:21] axisys: error detail: http://dpaste.com/0NNHD7P
[16:48:53] axisys: I like to say e = entry.mail.first || entry.cn.first if entry.mail.first not found
[16:51:34] axisys: shevy, Ox0dea : thanks a lot!

2015-09-09

[07:29:55] axisys: Ping timeout: 246 seconds
[07:31:52] axisys: has joined #ruby
[22:50:19] axisys: Remote host closed the connection

2015-08-28

[10:27:07] axisys: *.net *.split
[10:29:51] axisys: has joined #ruby

2015-08-25

[17:59:10] axisys: has joined #ruby

2015-08-23

[20:17:55] axisys: Remote host closed the connection

2015-08-22

[19:47:14] axisys: Ping timeout: 246 seconds
[19:59:31] axisys: has joined #ruby

2015-08-07

[10:45:03] axisys: *.net *.split
[10:49:20] axisys: has joined #ruby
[10:49:31] axisys: Max SendQ exceeded
[10:50:09] axisys: has joined #ruby

2015-08-05

[05:55:01] axisys: Ping timeout: 264 seconds
[06:01:49] axisys: has joined #ruby

2015-07-31

[04:26:24] axisys: Ping timeout: 246 seconds
[04:54:20] axisys: has joined #ruby

2015-07-30

[05:56:11] axisys: Ping timeout: 240 seconds
[06:03:32] axisys: has joined #ruby
[06:03:44] axisys: has joined #ruby
[06:03:44] axisys: Changing host

2015-07-27

[00:40:57] axisys: has joined #ruby

2015-07-26

[21:42:24] axisys: Read error: Connection reset by peer
[21:42:44] axisys: has joined #ruby
[21:47:24] axisys: Read error: Connection reset by peer
[21:48:24] axisys: has joined #ruby
[21:53:35] axisys: Ping timeout: 250 seconds

2015-07-23

[01:11:56] axisys: Remote host closed the connection
[02:50:48] axisys: has joined #ruby

2015-07-14

[17:25:51] axisys: has joined #ruby

2015-07-10

[03:34:18] axisys: Remote host closed the connection

2015-07-08

[20:17:34] axisys: how do I get the name hlr-prod from here? http://dpaste.com/1CH3BQK.txt
[20:18:18] axisys: print clusters.name gets me undefined name
[20:28:09] axisys: Senjai: puts clusters.name gives #<RbVmomi::VIM::ObjectContent:0x00000003d3cf18>
[20:29:11] axisys: Ox0dea: referring to this? thing.instance_variable_get(:@cached_hash)["name"]
[20:30:20] axisys: Ox0dea: hmm.. I do not see any other suggestion after that
[20:30:45] axisys: Ox0dea: I am still learning this rbvmomi
[20:31:49] axisys: puts clusters["name"] gives `[]': can't convert String into Integer (TypeError)
[20:46:22] axisys: puts clusters gives #<RbVmomi::VIM::ObjectContent:0x00000003906a98> and yes today it is but I like to prepare for multiples
[20:46:48] axisys: http://dpaste.com/22M20F2.txt

2015-07-02

[09:45:51] axisys: Ping timeout: 248 seconds
[09:47:40] axisys: has joined #ruby

2015-07-01

[02:28:40] axisys: converting from bash to ruby script..
[02:29:40] axisys: eam: right
[02:31:24] axisys: eam: ok.. let me check it out
[02:32:50] axisys: system("who am i") works
[02:33:12] axisys: eam: I do not want to rely on etc module
[02:33:29] axisys: eam: it is?
[02:40:58] axisys: eam: final version http://dpaste.com/0321YCJ.txt . thanks a lot!
[02:42:24] axisys: eam: kind a cryptic, specially for a newbie (me)