← Back to team overview

yellow team mailing list archive

Re: Handoff & progress

 

On 03/13/12 16:03, Gary Poster wrote:
I'm about to have my call with Francis, and then I have a family
obligation, so this will be short. Perhaps Benji will think of something
to add. :-)

- I have not had a chance to try Francesco's fix for testrepository,
though I looked at it and it looked correct and good. I'll hope to try
it out this evening.

I tried to do that.  I ran out of time fixing other things.

lxc-start-ephemeral is broken again, trivially. bug and patch are here: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/954632

If you want to run it, make sure that this has been applied, either in source or by you doing it.

Our build step fails because the local dns changes we made fail after a while. It would be nice if it stayed.

+ lxc-start -n lptests -d
+ lxc-wait -n lptests -s RUNNING
+ seq 1 30
+ su buildbot -c /usr/bin/ssh -o StrictHostKeyChecking=no -i '/var/lib/buildbot/.ssh/launchpad_lxc_id_rsa' lptests make -C /var/lib/buildbot/slaves/slave/lucid-devel/build schema
ssh: Could not resolve hostname lptests: Name or service not known
+ [ ! 255 -eq 255 ]
+ sleep 1

We have this code in setuplxc

    # Update resolv file in order to get the ability to ssh into the LXC
    # container using its name.
    lxc_gateway_name, lxc_gateway_address = get_lxc_gateway()
file_prepend(RESOLV_FILE, 'nameserver {}\n'.format(lxc_gateway_address))
    file_append(
        DHCP_FILE,
        'prepend domain-name-servers {};\n'.format(lxc_gateway_address))

Here's the value of resolv.conf and dhclient.conf

root@domU-12-31-39-09-C4-D4:/home/ubuntu# cat /etc/resolv.conf
domain compute-1.internal
search compute-1.internal
nameserver 172.16.0.23
root@domU-12-31-39-09-C4-D4:/home/ubuntu# cat /etc/dhcp/dhclient.conf
# Configuration file for /sbin/dhclient, which is included in Debian's
#	dhcp3-client package.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
#	man page for more information about the syntax of this file
#	and a more comprehensive list of the parameters understood by
#	dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
#	not leave anything out (like the domain name, for example), then
#	few changes must be made to this file, if any.
#

option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;

send host-name "<hostname>";
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
	domain-name, domain-name-servers, domain-search, host-name,
	netbios-name-servers, netbios-scope, interface-mtu,
	rfc3442-classless-static-routes, ntp-servers,
	dhcp6.domain-search, dhcp6.fqdn,
	dhcp6.name-servers, dhcp6.sntp-servers;
#require subnet-mask, domain-name-servers;
#timeout 60;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script "/etc/dhcp3/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;

#alias {
#  interface "eth0";
#  fixed-address 192.5.5.213;
#  option subnet-mask 255.255.255.255;
#}

#lease {
#  interface "eth0";
#  fixed-address 192.33.137.200;
#  medium "link0 link1";
#  option host-name "andare.swiftmedia.com";
#  option subnet-mask 255.255.255.0;
#  option broadcast-address 192.33.137.255;
#  option routers 192.33.137.250;
#  option domain-name-servers 127.0.0.1;
#  renew 2 2000/1/12 00:00:01;
#  rebind 2 2000/1/12 00:00:01;
#  expire 2 2000/1/12 00:00:01;
#}
prepend domain-name-servers 10.0.3.1;

I'm out of time; if nobody else looks at it I will tomorrow. :-)

Thanks

Gary


References