Activity log for bug #1373261

Date Who What changed Old value New value Message
2014-09-24 07:12:05 Jeroen T. Vermeulen bug added bug
2014-09-24 07:12:14 Jeroen T. Vermeulen tags ipv6 ipv6 packaging
2014-10-01 14:14:13 Graham Binns maas: assignee Andres Rodriguez (andreserl)
2014-10-07 03:01:42 Julian Edwards bug task added maas (Ubuntu)
2014-10-07 03:02:11 Julian Edwards maas: status Triaged Invalid
2014-10-08 02:34:57 Julian Edwards maas: milestone 1.7.0
2014-10-08 03:07:00 Christian Reis maas: milestone 1.7.0
2014-10-16 15:58:28 Gavin Panella maas: assignee Andres Rodriguez (andreserl) Gavin Panella (allenap)
2014-10-16 15:58:40 Gavin Panella maas (Ubuntu): assignee Gavin Panella (allenap)
2014-10-16 15:58:43 Gavin Panella maas: assignee Gavin Panella (allenap)
2014-10-16 15:58:55 Gavin Panella maas (Ubuntu): status New Confirmed
2014-10-17 21:37:45 Christian Reis maas: status Invalid Triaged
2014-10-28 13:49:32 Graham Binns maas: assignee Graham Binns (gmb)
2014-10-30 11:28:38 Graham Binns maas: status Triaged In Progress
2014-10-30 11:28:42 Graham Binns maas (Ubuntu): assignee Gavin Panella (allenap)
2014-10-30 12:02:58 Graham Binns maas: status In Progress Incomplete
2014-10-30 12:29:40 Christian Reis maas: milestone 1.7.0 next
2014-10-30 12:29:48 Christian Reis maas: assignee Graham Binns (gmb) Jeroen T. Vermeulen (jtv)
2014-10-30 13:30:36 Christian Reis maas: milestone next 1.7.1
2014-11-05 11:23:10 Jeroen T. Vermeulen maas: assignee Jeroen T. Vermeulen (jtv)
2014-11-05 11:23:15 Jeroen T. Vermeulen maas: status Incomplete Triaged
2014-11-06 15:32:44 Jeroen T. Vermeulen description Reconfiguring between an IPv4-based and an IPv6-based MAAS_URL broke the ‘generator’ setting in my pserv.yaml: it ended up being the full IPv4 netloc, with most of the IPv6 netloc tacked onto it. I think that's because the regex in maas-cluster-controller.postinst mistakes the first colon in an IPv6 address for the beginning of a port specifier: sed -i "s|MAAS_URL=.*|MAAS_URL=\"$RET\"|" /etc/maas/maas_cluster.conf # Extract the hostname part. HOSTPART=$(echo $RET|awk '{ split($0,array,"/")} END{print array[3] }') # And substitute it in-place in pserv.yaml on an indented, non-commented # line. sed -ri "s|^([[:space:]]+)(#+[[:space:]]*)?(generator:[[:space:]]+https?://)[^:/]+|\1\3$HOSTPART|" /etc/maas/pserv.yaml These things are still best done in Python I suppose. Reconfiguring when the existing MAAS_URL used an IPv6 host address broke the ‘generator’ setting in my pserv.yaml: it ended up being the full newly configured netloc, with most of the previous IPv6 netloc tacked onto it. I think that's because the regex in maas-cluster-controller.postinst mistakes the first colon in an IPv6 address for the beginning of a port specifier:         sed -i "s|MAAS_URL=.*|MAAS_URL=\"$RET\"|" /etc/maas/maas_cluster.conf         # Extract the hostname part.         HOSTPART=$(echo $RET|awk '{ split($0,array,"/")} END{print array[3] }')         # And substitute it in-place in pserv.yaml on an indented, non-commented         # line.         sed -ri "s|^([[:space:]]+)(#+[[:space:]]*)?(generator:[[:space:]]+https?://)[^:/]+|\1\3$HOSTPART|" /etc/maas/pserv.yaml These things are still best done in Python I suppose.
2014-11-07 09:29:13 Jeroen T. Vermeulen summary pserv.yaml rewrite breaks when MAAS URL uses IPv6 address pserv.yaml rewrite breaks when previous generator URL uses IPv6 address
2014-11-07 09:29:23 Jeroen T. Vermeulen description Reconfiguring when the existing MAAS_URL used an IPv6 host address broke the ‘generator’ setting in my pserv.yaml: it ended up being the full newly configured netloc, with most of the previous IPv6 netloc tacked onto it. I think that's because the regex in maas-cluster-controller.postinst mistakes the first colon in an IPv6 address for the beginning of a port specifier:         sed -i "s|MAAS_URL=.*|MAAS_URL=\"$RET\"|" /etc/maas/maas_cluster.conf         # Extract the hostname part.         HOSTPART=$(echo $RET|awk '{ split($0,array,"/")} END{print array[3] }')         # And substitute it in-place in pserv.yaml on an indented, non-commented         # line.         sed -ri "s|^([[:space:]]+)(#+[[:space:]]*)?(generator:[[:space:]]+https?://)[^:/]+|\1\3$HOSTPART|" /etc/maas/pserv.yaml These things are still best done in Python I suppose. Reconfiguring when the previous MAAS_URL used an IPv6 host address broke the ‘generator’ setting in my pserv.yaml: it ended up being the full newly configured netloc, with most of the previous IPv6 netloc tacked onto it. I think that's because the regex in maas-cluster-controller.postinst mistakes the first colon in an IPv6 address for the beginning of a port specifier:         sed -i "s|MAAS_URL=.*|MAAS_URL=\"$RET\"|" /etc/maas/maas_cluster.conf         # Extract the hostname part.         HOSTPART=$(echo $RET|awk '{ split($0,array,"/")} END{print array[3] }')         # And substitute it in-place in pserv.yaml on an indented, non-commented         # line.         sed -ri "s|^([[:space:]]+)(#+[[:space:]]*)?(generator:[[:space:]]+https?://)[^:/]+|\1\3$HOSTPART|" /etc/maas/pserv.yaml These things are still best done in Python I suppose.
2014-11-07 18:07:07 Jeroen T. Vermeulen maas: assignee Jeroen T. Vermeulen (jtv)
2014-11-07 18:07:10 Jeroen T. Vermeulen maas: status Triaged In Progress
2014-11-07 18:07:19 Jeroen T. Vermeulen branch linked lp:~jtv/maas/bug-1373261
2014-11-07 18:26:18 Launchpad Janitor branch linked lp:~jtv/maas/pkg-bug-1373261
2014-11-07 18:26:53 Jeroen T. Vermeulen maas (Ubuntu): assignee Jeroen T. Vermeulen (jtv)
2014-11-07 18:26:56 Jeroen T. Vermeulen maas (Ubuntu): status Confirmed In Progress
2014-11-11 15:10:17 Jeroen T. Vermeulen maas: status In Progress Fix Committed
2014-11-11 15:10:19 Jeroen T. Vermeulen maas (Ubuntu): status In Progress Fix Committed
2015-02-05 09:23:41 Andres Rodriguez maas: status Fix Committed Fix Released