Perl 6 - the future is here, just unevenly distributed

IRC log for #puppet-openstack, 2013-10-01

| Channels | #puppet-openstack index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:02 britthouser joined #puppet-openstack
00:18 ari joined #puppet-openstack
00:25 britthouser joined #puppet-openstack
00:45 ryanycoleman joined #puppet-openstack
00:52 otherwiseguy joined #puppet-openstack
00:56 nibalizer joined #puppet-openstack
01:00 britthouser joined #puppet-openstack
01:23 britthouser joined #puppet-openstack
01:27 dguitarbite joined #puppet-openstack
01:30 ari joined #puppet-openstack
01:30 xingchao joined #puppet-openstack
01:47 britthouser joined #puppet-openstack
02:04 britthouser joined #puppet-openstack
02:11 britthouser joined #puppet-openstack
02:13 ari joined #puppet-openstack
02:41 britthouser joined #puppet-openstack
02:51 britthouser joined #puppet-openstack
03:00 britthouser joined #puppet-openstack
03:01 dguitarbite joined #puppet-openstack
03:16 britthouser joined #puppet-openstack
03:34 ari joined #puppet-openstack
03:51 ryanycoleman joined #puppet-openstack
04:24 britthouser joined #puppet-openstack
04:46 tvb joined #puppet-openstack
04:49 britthouser joined #puppet-openstack
05:09 britthouser joined #puppet-openstack
05:30 britthouser joined #puppet-openstack
05:54 tvb|afk joined #puppet-openstack
06:10 britthouser joined #puppet-openstack
06:25 britthouser joined #puppet-openstack
06:47 britthouser joined #puppet-openstack
06:56 britthouser joined #puppet-openstack
07:22 britthouser joined #puppet-openstack
07:23 * dachary starts with https://github.com/stackforge/puppet-openstack
07:24 dachary eh no ... with https://github.com/CiscoSystems/openstack-installer/
07:34 britthouser joined #puppet-openstack
07:58 britthouser joined #puppet-openstack
08:02 mmagr joined #puppet-openstack
08:14 tvb|afk joined #puppet-openstack
08:14 tvb|afk joined #puppet-openstack
08:18 derekh joined #puppet-openstack
08:24 britthouser joined #puppet-openstack
08:53 ryanycoleman joined #puppet-openstack
08:56 britthouser joined #puppet-openstack
09:27 britthouser joined #puppet-openstack
09:50 britthouser joined #puppet-openstack
10:18 britthouser joined #puppet-openstack
10:34 britthouser joined #puppet-openstack
10:44 britthouser joined #puppet-openstack
11:30 michchap joined #puppet-openstack
12:10 rcrit joined #puppet-openstack
12:58 dprince joined #puppet-openstack
13:07 mjblack joined #puppet-openstack
13:15 dmsimard joined #puppet-openstack
13:15 mjblack joined #puppet-openstack
13:41 rcrit joined #puppet-openstack
13:51 morazi joined #puppet-openstack
13:53 rcrit joined #puppet-openstack
13:57 bauzas joined #puppet-openstack
14:35 otherwiseguy joined #puppet-openstack
14:44 mgagne joined #puppet-openstack
14:44 mgagne joined #puppet-openstack
15:10 badiane_ka joined #puppet-openstack
15:33 britthouser joined #puppet-openstack
15:39 ari_ joined #puppet-openstack
15:51 dachary test_type=openstack_multi test_mode=basic_tests operatingsystem=ubuntu openstack_version=grizzly bash -x tests/basic_test.sh
15:51 dachary fails with
15:52 dachary + vagrant ssh build -c 'sudo /tmp/test_nova.sh;exit $?'
15:52 dachary sudo: /tmp/test_nova.sh: command not found
15:52 dachary but
15:52 dachary the same command with test_mode=none works :-) That's a useful baselin.
15:52 dachary e
15:56 ryanycoleman joined #puppet-openstack
15:58 dachary https://github.com/CiscoSystems/openstack-installer/issues/101
16:02 mjblack_ joined #puppet-openstack
16:11 dachary I see a number of
16:11 dachary stdin: is not a tty
16:11 dachary warning: Could not retrieve fact fqdn
16:12 dachary that can't be good
16:13 * dachary comparing with http://openstack-jenkins.cisco.com/job/coi_ci/243/console
16:14 ari joined #puppet-openstack
16:23 terryw joined #puppet-openstack
16:26 dachary I suspect there is something wrong in the environment I crafted ( test_type=openstack_multi test_mode=basic_tests operatingsystem=ubuntu openstack_version=grizzly ).
16:27 dachary bodepd: would you be so kind as to copy/paste somewhere the script that runs basic_test.sh ? Presumably what is in the jenkins script section for the job.
16:29 ryanycoleman joined #puppet-openstack
16:54 bodepd dachary: sure
16:54 dachary cool :-)
16:54 bodepd it doesn't tell the complete story b/c some things are just passed as build parameters
16:56 bodepd dachary https://gist.github.com/bodepd/6781651
16:56 bodepd it doesn't do so much
16:56 bodepd what happens when you log into that machine and run facter fqdn?
16:56 bodepd dachary: ^^^
16:58 dachary hum
16:58 dachary trying
17:00 dachary facter fqdn
17:00 dachary returns nothing
17:01 dachary hostname => build-server
17:01 dachary says facter
17:01 dachary facter --version
17:01 dachary 1.7.3
17:01 dachary weird
17:02 dachary $ cat /etc/hostname
17:02 dachary build-server
17:02 dachary well, I don't have a fqdn so it's not illogical
17:02 dachary I should probably do something about that but I'm not sure what
17:03 dachary I'm running all this on my laptop
17:07 dachary bodepd: ^^
17:08 dachary in https://gist.github.com/bodepd/6781651 I don't see environment variables such as openstack_version=grizzly : are they maybe set elsewhere in your environment ? I'm sure test/basic_test.sh fails when it's not set.
17:11 britthouser joined #puppet-openstack
17:13 dachary the "execute shell" part of the configuration in jenkins does not ( standard jenkins installation ) allow / recommend separate environment setup. It must be something else.
17:13 dachary bb in 15min
17:23 hogepodge joined #puppet-openstack
17:29 prad joined #puppet-openstack
17:29 dachary back
17:31 bodepd dachary: the fact that facter fqdn returns nothing is the issue
17:33 bodepd dachary: let me dig in and see why it even needs the fqdn
17:38 ari joined #puppet-openstack
17:56 hogepodge joined #puppet-openstack
17:57 tvb|afk joined #puppet-openstack
17:59 dachary cool
18:00 dachary bb in 1h
18:04 bodepd dachary: you may just have to manually update the domain set in resolve.conf
18:04 bodepd dachary: it's kind of a pain how facter gets the fqdn
18:04 bodepd dachary: I think it tries dnsdomainname, then tries to parse it out of resolve.conf
18:09 ryanycoleman joined #puppet-openstack
18:20 britthouser joined #puppet-openstack
18:31 ric` joined #puppet-openstack
18:40 bodepd dachary: feel free to open an issue that we should not use anything that depends on the fqdn fact b/c it is not guarenteed to exist
18:41 qba73 joined #puppet-openstack
18:45 britthouser joined #puppet-openstack
18:52 ari joined #puppet-openstack
18:53 britthouser joined #puppet-openstack
18:58 derekh joined #puppet-openstack
18:58 britthouser joined #puppet-openstack
19:03 otherwiseguy joined #puppet-openstack
19:12 dachary ok
19:13 dachary bodepd: amended https://github.com/CiscoSystems/openstack-installer/issues/101 to clarify the realy problem
19:27 bodepd dachary: can you manual fix the local hosts dnsname and see if you can move past that error?
19:28 dachary sure
19:28 dachary how do you suggest I do this ?
19:28 dachary $ cat /etc/hostname
19:28 dachary build-server
19:28 dachary ]0;vagrant@build-server: ~vagrant@build-server:~$ hostname --fqdn
19:28 dachary build-server
19:28 dachary ]0;vagrant@build-server: ~vagrant@build-server:~$
19:29 dachary it appears that it just has no domain name
19:29 * dachary digging
19:29 bodepd dachary:https://github.com/puppetlabs/facter/blob/master/lib/facter/fqdn.rb
19:29 dachary ok
19:29 bodepd dachary: looks like this has been fixed in the latest version of facter
19:29 bodepd dachary: what version are you running?
19:29 dachary oh
19:30 dachary 1.7.3
19:30 EmilienM joined #puppet-openstack
19:30 bodepd dachary: https://github.com/puppetlabs/facter/blob/master/lib/facter/domain.rb#L56
19:30 bodepd dachary: try just adding a domain to resolv.conf
19:30 bodepd (I;m not sure what version of facter it is fixed in)
19:30 dachary that explains it
19:31 bodepd dachary: why was that not getting set...
19:31 bodepd dachary: I always have an entry there when my machines boot
19:32 dachary sudo bash -c 'echo domain tld >> /etc/resolv.conf'
19:32 dachary ]0;vagrant@build-server: ~vagrant@build-server:~$ facter fqdn
19:32 dachary build-server.tld
19:32 dachary that works
19:32 dachary bodepd: thanks for the lead, I'll figure out why it's different for me and update the issue accordingly :-)
19:32 bodepd dachary: since there are issues with fqdn, I can look into updating that module
19:33 bodepd (or see how easy it is to make it optional)
19:33 bodepd see if you can build the machines with that fix
19:33 dachary I suspect it would be a waste of your time, that looks like an issue that can be fixed by a pre-requisite on the vagrant installation
19:37 ryanycoleman joined #puppet-openstack
19:45 bodepd dachary: I'm all about knowing what makes it more difficult.
19:45 bodepd dachary: from my perspective it shoudl just work, so I am very interested in knowing what the edge cases are for different environemnts
19:46 bodepd dachary: so that we can adjust the base code to handle them or at least document fixes
19:46 dachary ok :-)
19:46 dachary $ cat /etc/resolv.conf
19:46 dachary # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
19:46 dachary #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
19:46 dachary nameserver 127.0.0.1
19:46 dachary nameserver 127.0.1.1
19:46 dachary this is the resolv.conf of my laptop
19:46 dachary it has not domain name
19:46 dachary maybe it's what influences virtualbox
19:47 dachary trying again with a domain
19:47 bodepd ah. I wonder what version of facter fixes this
19:47 bodepd you can see that in master if will just use the hostname if there is no domain
19:47 bodepd (in fqdn)
19:47 dachary /usr/lib/virtualbox/VBoxNetDHCP --network HostInterfaceNetworking-vboxnet0 --trunk-type netflt --trunk-name vboxnet0 --mac-address 08:00:27:1A:1B:7D --ip-address 192.168.56.100 --lower-ip 192.168.56.101 --upper-ip 192.168.56.254 --netmask 255.255.255.0 --begin-config
19:48 dachary bodepd: is there an easy way for me to agressively upgrade the facter ?
19:50 bodepd I wouldn't bother. maybe run a provisioning script to set domain name in /etc/reslov.conf
19:51 bodepd in the Vagrantfile, in the v_config, there shoudl be something called domain set.
19:51 openstackgerrit A change was merged to stackforge/puppet-openstack: Allow passing keystone_host to controller class  https://review.openstack.org/47852
19:51 * dachary checking
19:53 bodepd dachary: https://github.com/CiscoSystems/openstack-installer/blob/master/Vagrantfile#L154
19:53 bodepd actually.
19:53 bodepd why did that not work...
19:54 dachary I have no search line in resolv.conf
19:54 bodepd it's a regression
19:54 dachary that's why
19:54 bodepd it's a regression from yesterday
19:54 bodepd I probably removed domain from data/config.yaml
19:54 bodepd and it needs to be added back
19:55 bodepd dachary: no, it's there
19:55 dachary oh
19:55 bodepd dachary: can you see that shell provisiner running
19:55 bodepd b/c that should be adding the line you need to resolve.conf
19:56 dachary I'll check as soon as basic_test.sh has finished running
19:56 bodepd dachary: ah, I get it.
19:56 dachary I misread /usr/lib/virtualbox/VBoxNetDHCP --network HostInterfaceNetworking-vboxnet0 --trunk-type netflt --trunk-name vboxnet0 --mac-address 08:00:27:1A:1B:7D --ip-address 192.168.56.100 --lower-ip 192.168.56.101 --upper-ip 192.168.56.254 --netmask 255.255.255.0 --begin-config to set the domain where it was doing the opposite
19:56 dachary dam
19:56 dachary nevermind
19:56 bodepd dachary: it just searches for an existing search line
19:56 bodepd dachary: so it doesn't do anything if it can't find one
19:57 bodepd dachary: it should be beefed up to handle that case (where one does not already exist)
19:57 dachary in the host /etc/resolv.conf ?
19:58 dachary I guess that's indeed the lack of search line in the host running vagrant that's causing the trouble
19:58 bodepd dachary: I would modify that script so that it also adds it if it is not there
19:58 bodepd dachary: I would glady accept that patch
19:59 dachary :-)
19:59 dachary I'd be happy to provide it
20:05 ryanycoleman joined #puppet-openstack
20:08 britthouser joined #puppet-openstack
20:22 otherwiseguy joined #puppet-openstack
20:30 britthouser joined #puppet-openstack
20:33 ryanycoleman joined #puppet-openstack
20:51 markvoelker joined #puppet-openstack
20:56 openstackgerrit A change was merged to stackforge/puppet-openstack: Expose debug parameter  https://review.openstack.org/47778
21:02 dachary vagrant ssh control_basevm -c 'cat /etc/resolv.conf'
21:02 dachary # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
21:02 dachary #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
21:02 dachary nameserver 10.0.2.3
21:03 dachary bodepd: that's what I get even though https://github.com/CiscoSystems/openstack-installer/pull/105 is applied locally
21:04 dachary but maybe I should destroy the vm the hard way
21:04 dachary not being familiar with vagrant I'm not sure what persists
21:06 dachary vagrant status
21:06 dachary Current VM states:
21:06 dachary cache                    not created
21:06 dachary build                    not created
21:06 dachary control_basevm           not created
21:06 dachary compute_basevm           not created
21:06 dachary after destroying all of them makes me wonder how vagrant even know about their existence
21:07 bodepd dachary: yeah, I would try to kill it
21:07 bodepd dachary: it uses VBoxManage list vms
21:08 dachary VBoxManage list vms
21:08 dachary shows nothing
21:09 dachary it must get the information from somewhere
21:09 bodepd dachary: what information?
21:09 dachary cache                    not created
21:10 dachary how does it know cache will be created ?
21:10 dachary my vagrant ignorance is misleading me I think
21:12 bodepd ah. the script only creates it if it does not exist
21:12 bodepd so it does not rebuild it every time on my jenkins instance
21:12 ari joined #puppet-openstack
21:12 bodepd it assumes that if it is up, then it was installed correctly
21:12 bodepd as for vagrant
21:12 dachary that makes sense
21:12 bodepd it keeps a local .vagrant file
21:12 dachary oh !
21:12 bodepd that I believe keeps track of the machines per directory
21:13 bodepd so each directory is not aware of vms from another directory
21:13 bodepd they usualyly fail b/c of port collision
21:15 dachary despite rm .vagrant ; vagrant status stills find the VMs
21:15 dachary oh well, let's say destroy did the job and try again :-)
21:15 bodepd it also keeps some state in ~/.vagrant.d
21:15 dachary I'm not sure what "provision" does
21:16 dachary ( I also killd ~/.vagrant.d . ... it is very smart ;-)
21:16 bodepd provision only runs the provision scripts
21:16 bodepd (shell + puppet)
21:16 bodepd but does not create the subnets, vms, or mounts
21:17 dachary if you vagrant destroy a vm, it will need to reprovision it ? or not ?
21:18 dachary [cache] Running provisioner: Vagrant::Provisioners::Shell...
21:18 dachary seems to indicate that it's running the provisioner, hence the modified lines from Vagrantfile ...
21:18 * dachary hopefull
21:19 dachary [cache] Running provisioner: Vagrant::Provisioners::Puppet...
21:19 dachary [cache] Running Puppet with /etc/puppet/manifests/setup.pp...
21:19 dachary stdin: is not a tty
21:19 dachary warning: Could not retrieve fact fqdn
21:19 dachary *sigh*
21:19 dachary vagrant ssh cache -c 'cat /etc/resolv.conf'
21:19 dachary # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
21:19 dachary #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
21:19 dachary nameserver 10.0.2.3
21:19 dachary but...
21:19 dachary ...
21:20 dachary maybe these lines are not run for the cache ?
21:20 dachary and maybe it does not matter for the cache
21:29 ari left #puppet-openstack
21:29 dachary there is progress
21:29 dachary vagrant ssh build -c 'cat /etc/resolv.conf'
21:29 dachary # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
21:29 dachary #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
21:29 dachary nameserver 10.0.2.3
21:29 dachary search domain.name
21:42 mjeanson joined #puppet-openstack
21:55 mjblack_ just a quick question, has anyone done any havana testing? and how? I'm seeing dependency issues with the debs :/
22:11 dachary interestingly enough basic_tests crashed my laptop, probably not enough resources. Trying with no cache VM and not running too many applications. And I'll get some sleep, hopefully with good results waiting for me in the morning ;-)
22:18 michchap joined #puppet-openstack
22:26 ryanycoleman joined #puppet-openstack
23:04 ari_ joined #puppet-openstack
23:07 ryanycoleman joined #puppet-openstack
23:13 bodepd mjblack_: my testing has been less than steller for havana
23:13 bodepd the last time I tried, the upstream packges did not work
23:13 bodepd mgagne: you have any data?
23:14 mgagne bodepd: about what?
23:18 mjblack_ yeah I have been having issues with package deps
23:18 mjblack_ I was trying to see how bad it will be for me to switch to havana and it barfs on everything
23:19 mgagne mjblack_: I did try 4-5 weeks ago but was stuck trying to load horizon
23:19 mgagne mjblack_: I wasn't able to load the interface until I changed DEBUG to True
23:19 mjblack_ I didnt even get that far, apt tries to install the packages and theres inconsistencies with the packages available
23:21 mjblack_ it was looking for python-sqlalchemy< 8.0 but >= 7.8 and ubuntu packages has nothing to satisfy it
23:21 mgagne mjblack_: hmmm could have been introduced by new changes... will have to try again if I can find time =)
23:29 ari joined #puppet-openstack
23:45 bodepd mjblack_: I also saw upstream package issue
23:45 bodepd mjblack_: which crippled my testing
23:46 bodepd mjblack_: I think my issue was that I needed to upgrade the kernel for ovs to work with Precise
23:46 ryanycoleman joined #puppet-openstack
23:47 mjblack joined #puppet-openstack
23:47 mjblack bodepd: tried that, didnt help
23:48 mjblack bodepd: although the ovs that comes with precise has issues with namespaces it seems :D
23:50 mjblack I'm going to have to look into it tomorrow, going back to playing gta 5
23:59 ryanycoleman joined #puppet-openstack

| Channels | #puppet-openstack index | Today | | Search | Google Search | Plain-Text | summary