[Bug 1083542] Re: sudo dpkg-reconfigure maas-cluster-controller breaks

2012-12-14 Thread Raphaël Badin
** Changed in: maas (Ubuntu) Assignee: (unassigned) => Raphaël Badin (rvb) ** Changed in: maas (Ubuntu) Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.ne

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-25 Thread Raphaël Badin
> To ensure that we accept as "master" only the cluster controller on > the local machine, can the region compare the UUID it's given against > the UUID it can see on the filesystem? A simpler way (which we already use to know if we need to update nodegroup.maas_url or not when a cluster connects)

[Bug 1130232] Re: Implement GenericIpAddressField in MAAS rather than django.

2013-02-20 Thread Raphaël Badin
** Changed in: maas Assignee: Raphaël Badin (rvb) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1130232 Title: Implement GenericIpAddressField in MAAS rather than django.

[Bug 1130232] Re: Implement GenericIpAddressField in MAAS rather than django.

2013-02-20 Thread Raphaël Badin
I'm not sure fixing this in the packaging is the right solution here. If we have a patch to add the new classes (plural, there is the field model and the form model), then we will have to update the upstream code to match that (everywhere where it's imported plus in all the migration files where it

[Bug 1130232] Re: Implement GenericIpAddressField in MAAS rather than django.

2013-02-20 Thread Raphaël Badin
Julian suggested another way to do this: carry a packaging patch with the field and the changes required to the source to use it. My main concern is that this field (as a string 'django.db.models.fields.GenericIPAddressField') is used by South in the migration code and, although this solution is a

Re: [Bug 1130232] Re: Implement GenericIpAddressField in MAAS rather than django.

2013-02-20 Thread Raphaël Badin
On 02/20/2013 03:54 PM, Dave Walker wrote: > Does it make sense to monkey patch if django < required version? It's also a possibility, but given the way Django plays with imports, this could be a dangerous game. > Either way, this shouldn't be solved in packaging.. it's core support > needed in

Re: [Bug 1130232] Re: Implement GenericIpAddressField in MAAS rather than django.

2013-02-20 Thread Raphaël Badin
On 02/20/2013 08:32 PM, Andres Rodriguez wrote: > Oh btw... we need to make sure that this doesn't provide any regression > or upgrade failures from those who have been using MAAS from ppa:maas- > maintainers/stable. Good point, that's another argument in favor of the monkey patch solution. -- Y

Re: [Bug 1130232] Re: Implement GenericIpAddressField in MAAS rather than django.

2013-02-20 Thread Raphaël Badin
On 02/20/2013 04:11 PM, Raphaël Badin wrote: > On 02/20/2013 03:54 PM, Dave Walker wrote: >> Does it make sense to monkey patch if django < required version? > > It's also a possibility, but given the way Django plays with imports, > this could be a dangerous game. T

Re: [Bug 1130232] Re: Implement GenericIpAddressField in MAAS rather than django.

2013-02-21 Thread Raphaël Badin
> Either way, this shouldn't be solved in packaging.. it's core support > needed in MAAS for backwards compatibility. More importantly, fixing this upsteam is better because it means that the monkey patching code and the code stolen from django 14 gets exercised when we run the test suite on a p

[Bug 1130232] Re: Implement GenericIpAddressField in MAAS rather than django.

2013-02-21 Thread Raphaël Badin
** Also affects: maas/1.2 Importance: Undecided Status: New ** No longer affects: maas ** Changed in: maas/1.2 Assignee: (unassigned) => Raphaël Badin (rvb) ** Changed in: maas/1.2 Importance: Undecided => Critical ** Changed in: maas/1.2 Status: New => In

[Bug 1130232] Re: Implement GenericIpAddressField in MAAS rather than django.

2013-02-21 Thread Raphaël Badin
** Branch linked: lp:~rvb/maas/generic-field-1.2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1130232 Title: Implement GenericIpAddressField in MAAS rather than django. To manage notifications abo

[Bug 1131296] [NEW] maas-enlist uses a wrong url when enlisting nodes (/MAAS/api/1.0/nodes//MAAS/api/1.0/nodes/)

2013-02-21 Thread Raphaël Badin
Public bug reported: This is the apache log when nodes are enlisting: http://paste.ubuntu.com/1700172/ The url used is wrong: "/MAAS/api/1.0/nodes//MAAS/api/1.0/nodes/" instead of "/MAAS/api/1.0/nodes/". Now this is working because of a bug in how MAAS itself parses the urls but that bug is abo

[Bug 1130232] Re: Implement GenericIpAddressField in MAAS rather than django.

2013-02-22 Thread Raphaël Badin
** Changed in: maas/1.2 Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1130232 Title: Implement GenericIpAddressField in MAAS rather than django. To manag

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-23 Thread Raphaël Badin
We've generating the omapi_key when the nodegroup objects are generated. For the master nodegroup (corresponding to the main cluster controller), this happens when the application starts up. If the maas-dns package is not installed, the tool to generate the key might not be installed (it's a depen

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Raphaël Badin
** Changed in: maas Assignee: (unassigned) => Raphaël Badin (rvb) ** Changed in: maas Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103195 Title:

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Raphaël Badin
Actually, as suggested by Andres, adding bind9utils as a dependency to the region controller package is a much simpler way to fix this. Since bind9utils is a tiny collection of utilities, it's really harmless. -- You received this bug notification because you are a member of Ubuntu Bugs, which i

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Raphaël Badin
Doing what I suggest above would indeed fix the immediate problem but this leads to bigger problems: The code assumes in two places (see bellow) that the first cluster to connect is the cluster controller installed on the same machine as the region controller. This is based on the assumption th

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Raphaël Badin
The fix you're talking about did not touch the code used when a cluster connects for the first time. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103195 Title: MAAS WebUI crashes when installing m

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Raphaël Badin
** Branch linked: lp:~rvb/maas/packaging-1103195 ** Branch linked: lp:~rvb/maas/packaging.quantal-1103195 ** Branch linked: lp:~rvb/maas/packaging.precise.sru-1103195 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launc

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Raphaël Badin
I guess this is in fact a bug distinct from this one, I've filed bug 1104215. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103195 Title: MAAS WebUI crashes when installing maas-region-controller o

[Bug 1134036] Re: Package install hangs if LC_ALL is not set

2013-02-27 Thread Raphaël Badin
Can you tell us with which package you're getting this? I installed successfully the daily packages on quantal and raring canonistack instances (http://paste.ubuntu.com/5570250/ / http://paste.ubuntu.com/5570252/). -- You received this bug notification because you are a member of Ubuntu Bugs, wh

[Bug 1134036] Re: Package install hangs if LC_ALL is not set

2013-02-28 Thread Raphaël Badin
No it's not, see the two links I pasted. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1134036 Title: Package install hangs if LC_ALL is not set To manage notifications about this bug go to: https:

[Bug 1134036] Re: Package install hangs if LC_ALL is not set

2013-03-01 Thread Raphaël Badin
> The links aren't that useful because it's showing the post-facto state. If > you could deliberately unset LC_ALL and then install the > packages from scratch it would be closer to my own experience. That's what I did and it seems fine (easy to recreate on a canonistack instance): http://paste.

[Bug 1075313] Re: no reliable way to boot from iscsi root

2013-02-04 Thread Raphaël Badin
** Branch linked: lp:~smoser/maas/1.2.iscsi-root-equal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1075313 Title: no reliable way to boot from iscsi root To manage notifications about this bug go

[Bug 873769] Re: No direct link for reporting bugs on launchpad.net

2011-10-14 Thread Raphaël Badin
** Changed in: launchpad Importance: Undecided => Low ** Changed in: launchpad Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/873769 Title: No direct link for report

[Bug 1067332] Re: 'dkpg-reconfigure' conflates user existing for vhost existing

2012-10-16 Thread Raphaël Badin
** No longer affects: maas -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1067332 Title: 'dkpg-reconfigure' conflates user existing for vhost existing To manage notifications about this bug go to: h

[Bug 1067929] [NEW] maas-region-celeryd connects to the wrong queue.

2012-10-17 Thread Raphaël Badin
Public bug reported: maas-region-celeryd connects to 2 queues: ' celery' and 'master'. The problem is obviously the space in front of 'celery' start_celery() should use something like that instead: command = [ 'celeryd', '--logfile=%s' % args.logfile, '--schedule=%s'

[Bug 1067929] Re: maas-region-celeryd connects to the wrong queue.

2012-10-18 Thread Raphaël Badin
> Andres says it was a missing "=". It used to say: > --queues celery,master > and he's fixing it to say: > --queues=celery,master More precisely, the script was using os.execv('celeryd',… , '-Q celery,master',…) and the space before 'celery' got "escaped". I suggested using the alternative synta

[Bug 1066958] Re: DNS config is invalid after a node gets enlisted.

2012-10-18 Thread Raphaël Badin
** Changed in: maas (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1066958 Title: DNS config is invalid after a node gets enlisted. To manage not

[Bug 1066938] Re: maas-dns changes default bind rndc key and breaks initscripts

2012-10-18 Thread Raphaël Badin
** Changed in: maas (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1066938 Title: maas-dns changes default bind rndc key and breaks initscripts T

[Bug 1066929] Re: duplicate entry added to named.conf.local on each package reconfigure

2012-10-18 Thread Raphaël Badin
** Changed in: maas (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1066929 Title: duplicate entry added to named.conf.local on each package recon

[Bug 1067929] Re: maas-region-celeryd connects to the wrong queue.

2012-10-18 Thread Raphaël Badin
A workaround is to edit the maas-region-celeryd script (sudo vim /usr/sbin/maas-region-celeryd) and change: '-Q celery,master' into ' --queues=celery,master'. Then restart the service: $ sudo service maas-region-celery restart -- You received this bug notification because you are a member of

[Bug 1066935] Re: named.conf.rndc.maas is insecure by default

2012-10-19 Thread Raphaël Badin
The file permissions are actually handled in the package. Reassigning this bug. ** Branch linked: lp:~rvb/maas/packaging.bug-1066935 ** Project changed: maas => maas (Ubuntu) ** Changed in: maas (Ubuntu) Milestone: 12.10-stabilization => None -- You received this bug notification because y

[Bug 1064960] Re: Longpoll is broken (requests to /MAAS/longpoll return 404).

2012-10-10 Thread Raphaël Badin
** Project changed: maas => maas (Ubuntu) ** Changed in: maas (Ubuntu) Assignee: Raphaël Badin (rvb) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1064960 Title: Longp

[Bug 1064960] Re: Longpoll is broken (requests to /MAAS/longpoll return 404).

2012-10-10 Thread Raphaël Badin
** Branch linked: lp:~rvb/maas/packaging.fix-longpoll ** Changed in: maas (Ubuntu) Assignee: (unassigned) => Raphaël Badin (rvb) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1064960 Ti

[Bug 1065062] [NEW] /var/lib/maas/celerybeat-cluster-schedule cannot be created by the cluster controller.

2012-10-10 Thread Raphaël Badin
Public bug reported: When the cluster controller is installed on a separate machine (i.e. not next to the region controller), the celery DB file can't be created in /var/lib/maas/celerybeat-cluster-schedule (because the directory /var/lib/maas/ is not created). ** Affects: maas (Ubuntu) Impo

[Bug 1065080] [NEW] The host in BROKER_URL is hardcoded to 'localhost'.

2012-10-10 Thread Raphaël Badin
Public bug reported: In debian/maas-region-controller.postinst: [...] configure_maas_workers_rabbitmq_user() { local workers_user="maas_workers" local workers_pass="$(pwgen -s 20)" local workers_vhost="/maas_workers" local amqp_host="localhost" local amqp_p

[Bug 1065080] Re: The host in BROKER_URL is hardcoded to 'localhost'.

2012-10-10 Thread Raphaël Badin
** Also affects: maas Importance: Undecided Status: New ** Changed in: maas Assignee: (unassigned) => Raphaël Badin (rvb) ** Changed in: maas Importance: Undecided => Critical ** Changed in: maas Status: New => In Progress ** Summary changed: - The host in B

[Bug 1065080] Re: The BROKER_URL sent to a cluster controller has its hostname set 'localhost'.

2012-10-11 Thread Raphaël Badin
After a discussion with Julian, we decided that this should be fixed in the packaging: instead of using 'localhost' (in debian/maas-region- controller.postinst), the packaging script should use the IP address of the default route (just like what it does to populate DEFAULT_MAAS_URL). ** No longer

[Bug 1065055] Re: celeryconfig_cluster.py imports utility method from maas (import_settings)

2012-10-11 Thread Raphaël Badin
Can't be done in the packaging because the 'maas' package (which contains Django settings) is not on the path (standard Django application packaging policy). For now, let's copy over the 2 methods in the celeryconfig_cluster.py and file a tech-debt bug. -- You received this bug notification bec

[Bug 1065055] Re: celeryconfig_cluster.py imports utility method from maas (import_settings)

2012-10-11 Thread Raphaël Badin
** Package changed: maas (Ubuntu) => maas ** Changed in: maas Importance: Undecided => Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1065055 Title: celeryconfig_cluster.py imports utili

[Bug 1066935] Re: named.conf.rndc.maas is insecure by default

2012-10-15 Thread Raphaël Badin
setup_rndc() (in src/provisioningserver/dns/config.py) should be fixed to write the file with the appropriate permissions. ** Package changed: maas (Ubuntu) => maas ** Changed in: maas Importance: Undecided => High ** Changed in: maas Status: New => Triaged -- You received this bug n

[Bug 1066938] Re: maas-dns changes default bind rndc key and breaks initscripts

2012-10-15 Thread Raphaël Badin
> I would suggest that maas explicitly provide the key that it wishes to use > whenever it interacts with bind9 so that defaults don't > have to change Looks like a very good idea to me. ** Package changed: maas (Ubuntu) => maas ** Changed in: maas Importance: Undecided => Critical ** Chang

[Bug 1066929] Re: duplicate entry added to named.conf.local on each package reconfigure

2012-10-15 Thread Raphaël Badin
I see two ways to fix this: - we can fix this in the packaging and avoid adding the entry in /etc/bind/named.conf.local if it's already there or - we can fix the 'get_named_conf' command so that it won't include the snippet if it's already there. Maybe we could use write_custom_config_section (

[Bug 1069535] Re: MaaS DNS - named, not loaded due to errors.

2012-10-22 Thread Raphaël Badin
*** This bug is a duplicate of bug 1066958 *** https://bugs.launchpad.net/bugs/1066958 This is a duplicate of bug 1066958 which is fixed in the current trunk. This will be part of the upcoming SRU package. ** This bug has been marked a duplicate of bug 1066958 DNS config is invalid after a

[Bug 1069584] Re: MaaS only with DHCP managed seems to require DNS too.

2012-10-22 Thread Raphaël Badin
MAAS supports managing DHCP but not DNS. The problem is that the task 'write_full_dns_config' (connected via signals) is always triggered (when a nodegroup is changed or a node updated). We simply need to skip actually trying to write the configuration if none of the cluster has been configured t

[Bug 1069570] Re: 1 MAC Address, two IPs - DNS is "out of sync" with DHCP leases databases, I think...

2012-10-22 Thread Raphaël Badin
Actually, I think you're seeing two distinct problems here: - The first one is that the default hostname picked up during enlistment is IP-based and thus it assumes that the IP lease will stay the same. If the lease changes, this change is not reflected in the DNS config because this is resolved b

[Bug 1067929] Re: maas-region-celeryd connects to the wrong queue.

2012-10-22 Thread Raphaël Badin
Hi Thiago, There is a background task that should be responsible for cleaning up the message if no new images are detected, can you please have a look in /var/log/maas/celery-region.log and confirm that you're seeing the task being processed all right? If it is the case, the log file will contain

[Bug 1069570] Re: 1 MAC Address, two IPs - DNS is "out of sync" with DHCP leases databases, I think...

2012-10-22 Thread Raphaël Badin
The apparmor error(s) would be in /var/log/syslog. For instance, if I manually change the apparmor maas dhcp.d profile so that the lease file can't be read I get this in /var/log/syslog : http://paste.ubuntu.com/1297221/ -- You received this bug notification because you are a member of Ubuntu Bu

[Bug 1050492] Re: MAAS uses the 'guest' account to communicate with RabbitMQ

2012-09-19 Thread Raphaël Badin
** Description changed: None of the BROKER_* settings are defined in celeryconfig; that means - that the 'guest' account is used by MAAS to send messages trough + that the 'guest' account is used by MAAS to send messages through RabbitMQ. That might have been OK while everything was local but

[Bug 1050492] Re: MAAS uses the 'guest' account to communicate with RabbitMQ

2012-09-19 Thread Raphaël Badin
The packaging needs to be fixed only when we will have a separate package for the cluster controller. If we land the branch lp:~rvb/maas/packaging.set-rabbitmq-creds now, it will break the communication between the master cluster controller and the region controller since the master cluster contr

[Bug 1050492] Re: MAAS uses the 'guest' account to communicate with RabbitMQ

2012-09-20 Thread Raphaël Badin
Turns out that the cluster controller and the region controller both use the same config file at the moment so even with the package we have right now, this can be fixed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.lau

[Bug 1067929] Re: maas-region-celeryd connects to the wrong queue.

2012-10-26 Thread Raphaël Badin
Ok, let me clarify the situation here: this bug needed to be fixed in order for the message to disappear and the fix has landed a few days ago. But there is another bug (bug 1070318) which *also* prevents the message from being properly removed. Bug 1068843 is currently being worked on and it sh

[Bug 1072744] [NEW] maas-cluster-controller depends on rabbitmq-server.

2012-10-29 Thread Raphaël Badin
assigned) => Raphaël Badin (rvb) ** Branch linked: lp:~rvb/maas/packaging.rabbitmq-1072744 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072744 Title: maas-cluster-controller depends on rabbitmq-server.

[Bug 1072772] [NEW] Package upgrade breaks rabbitmq communication.

2012-10-29 Thread Raphaël Badin
Public bug reported: When upgrading from precise to quantal, the maas_workers rabbitmq user got its password changed (in rabbitMQ) but the configuration file /etc/maas/maas_local_celeryconfig.py was not upgraded accordingly. ** Affects: maas (Ubuntu) Importance: Critical Assignee: Andre

[Bug 1059453] [NEW] The celery cluster worker is not properly stopped

2012-10-01 Thread Raphaël Badin
Public bug reported: The celery cluster is started in upstream:src/provisioningserver/start_cluster_controller.py, called from the upstart script packaging:debian/maas-cluster-controller.maas- cluster-celery.upstart. When all the MAAS' services are stopped (for instance when all the MAAS packages

[Bug 1059485] Re: maas_local_celeryconfig.py is world readable

2012-10-01 Thread Raphaël Badin
** Project changed: maas => maas (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1059485 Title: maas_local_celeryconfig.py is world readable To manage notifications about this bug go to: htt

[Bug 1059485] Re: maas_local_celeryconfig.py is world readable

2012-10-01 Thread Raphaël Badin
** Changed in: maas (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1059485 Title: maas_local_celeryconfig.py is world readable To manage notificat

[Bug 1063857] [NEW] Cluster controller fails to start because MAAS_URL is not set.

2012-10-08 Thread Raphaël Badin
Public bug reported: Testing the package in the daily ppa (0.1+bzr1170+dfsg-0+1215+119~ppa0~quantal1), the cluster controller is unable to start: $ sudo tail -f /var/log/upstart/maas-cluster-celery.log usage: __main__.py start-cluster-controller [-h] [--user USER] [--group GROUP]

[Bug 1063857] Re: Cluster controller fails to start because MAAS_URL is not set.

2012-10-08 Thread Raphaël Badin
At Andres' request, here is the output of sudo dpkg-reconfigure -phigh maas-cluster-controller : $ sudo dpkg-reconfigure -phigh maas-cluster-controller maas-cluster-celery stop/waiting /var/lib/dpkg/info/maas-cluster-controller.config: 26: /var/lib/dpkg/info/maas-cluster-controller.config: db_in

[Bug 1063857] Re: Cluster controller fails to start because MAAS_URL is not set.

2012-10-08 Thread Raphaël Badin
** Branch linked: lp:~andreserl/maas/packaging_update_cluster -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1063857 Title: Cluster controller fails to start because MAAS_URL is not set. To manage n

[Bug 1063857] Re: Cluster controller fails to start because MAAS_URL is not set.

2012-10-08 Thread Raphaël Badin
I've tested the most recent package (0.1+bzr1223+dfsg-0ubuntu1~ppa1) and the problem is fixed. ** Changed in: maas (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.

[Bug 1064539] [NEW] The pserv service logs to /var/log/maas/pserv.log and that directory (/var/log/maas/) is not created by the cluster controller package

2012-10-09 Thread Raphaël Badin
Public bug reported: The cluster controller package uses /var/log/maas/ to store the log file of the pserv service. That directory is not created by the cluster controller package and thus the pserv service fails to start: http://paste.ubuntu.com/1269596/ ** Affects: maas (Ubuntu) Importanc

[Bug 1030860] [NEW] DNS is not enabled.

2012-07-30 Thread Raphaël Badin
Public bug reported: To enable DNS we need to: - make sure that bind9utils dnsutils bind9 python-netaddr are installed (new dependencies) - make sure that the directory /etc/bind/maas (etc/celeryconfig.py:DNS_CONFIG_DIR) is created - call `sudo maas set_up_dns` (this will create an empty [i.e. n

[Bug 1030860] Re: Maas-hosted DNS is not enabled.

2012-08-02 Thread Raphaël Badin
** Description changed: To enable DNS we need to: - make sure that bind9utils dnsutils bind9 python-netaddr are installed (new dependencies) - make sure that the directory /etc/bind/maas (etc/celeryconfig.py:DNS_CONFIG_DIR) is created - call `sudo maas set_up_dns` (this will create an em

[Bug 1046397] [NEW] The DHCP config file does not get written.

2012-09-05 Thread Raphaël Badin
Public bug reported: When masternodegroup.set_up_dhcp() is called, the script /usr/sbin/maas- provision is used to write the DHCP configuration. That script is run using sudo in order to be able to write the config into /etc/dhcp/dhcpd.conf. The sudo rule to allow that sudo command to be run is

[Bug 1033956] [NEW] DEFAULT_MAAS_URL should include the '/MAAS' part.

2012-08-07 Thread Raphaël Badin
Public bug reported: We've changed how MAAS treats the setting DEFAULT_MAAS_URL: now the FORCE_SCRIPT_NAME is not appended by the code if DEFAULT_MAAS_URL is defined in maas_local_settings.py. The packaging should be changed so that DEFAULT_MAAS_URL will be "http://server.ip/MAAS"; (as opposed to

[Bug 1046397] Re: The DHCP config file does not get written.

2012-09-06 Thread Raphaël Badin
Julian suggested putting the sudoers file which is currently in the packaging branch into the upstream branch (in contrib). The main advantage would be that it would be more easy for someone running maas directly from the tree to copy the required sudo rules from contrib/sudoers. -- You received

[Bug 1037400] Re: python-lockfile missing from list of required dependencies

2012-08-16 Thread Raphaël Badin
** Also affects: maas (Ubuntu) Importance: Undecided Status: New ** Changed in: maas Assignee: (unassigned) => Raphaël Badin (rvb) ** Changed in: maas Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, wh

[Bug 1037400] Re: python-lockfile missing from list of required dependencies

2012-08-16 Thread Raphaël Badin
** Changed in: maas Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1037400 Title: python-lockfile missing from list of required dependencies To manage noti

[Bug 1037400] Re: python-lockfile missing from list of required dependencies

2012-08-16 Thread Raphaël Badin
** Branch linked: lp:~rvb/maas/maas-package-bug-1037400 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1037400 Title: python-lockfile missing from list of required dependencies To manage notificatio

[Bug 1037400] Re: python-lockfile missing from list of required dependencies

2012-08-16 Thread Raphaël Badin
** Changed in: maas (Ubuntu) Assignee: (unassigned) => Raphaël Badin (rvb) ** Changed in: maas (Ubuntu) Status: Triaged => In Progress ** Changed in: maas (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member

[Bug 1026857] Re: Installing bind9 as per HACKING.txt leaves a running bind daemon on developer's machines

2012-07-20 Thread Raphaël Badin
fwiw, I'm with Gavin on this one, that's a *minor* problem with the *dev* environment so that definitely seems like "low priority" to me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1026857 Title:

[Bug 1027154] Re: need way to get system based on mac address

2012-07-20 Thread Raphaël Badin
I see two possible solutions to that problem: a) we could add a "lookup" method to the API. The method would return a list of system IDs from a set of criteria (mac adress would be one of the possible criteria). b) or, if we want to promote the mac address as an identifier, we could allow the m

[Bug 1027154] Re: Unable to look up a node based on mac address

2012-07-23 Thread Raphaël Badin
** Changed in: maas Status: Incomplete => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1027154 Title: Unable to look up a node based on mac address To manage notifications about thi

[Bug 1027154] Re: Unable to look up a node based on mac address

2012-07-23 Thread Raphaël Badin
** Branch linked: lp:~rvb/maas/bug-1027154 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1027154 Title: Unable to look up a node based on mac address To manage notifications about this bug go to: h

[Bug 1027154] Re: Unable to look up a node based on mac address

2012-07-23 Thread Raphaël Badin
I've added a filter to the 'list' API method: /api/1.0/nodes/?op=list&mac_address=&mac_address=. ** Changed in: maas Status: Triaged => Fix Released ** Changed in: maas Assignee: (unassigned) => Raphaël Badin (rvb) -- You received this bug notificatio

[Bug 994781] Re: removing a node when it has failed commissioning is not possible from the UI

2012-05-24 Thread Raphaël Badin
You can delete a node like this: $ sudo maas > from maasserver.models import Node > node = Node.objects.get(hostname='myhostname') > node.delete() -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/994781

[Bug 1005298] Re: warning: kernel option length exceeds 255 during maas-import-isos

2012-05-30 Thread Raphaël Badin
I think what you're describing is bug 1003460. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1005298 Title: warning: kernel option length exceeds 255 during maas-import-isos To manage notification

[Bug 1167660] Re: maas-cluster-controller.postinst failing with an unterminated sed error

2013-04-11 Thread Raphaël Badin
This also affects the precise and quantal packaging branches so it's probably worth fixing it there too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1167660 Title: maas-cluster-controller.postinst

[Bug 1157678] Re: [ffe] unplugging an external monitor from laptop results in corrupted screen. Logging out fixes it.

2013-04-21 Thread Raphaël Badin
> It arrived in raring updates and works on my system. Thank you. Same here, thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1157678 Title: [ffe] unplugging an external monitor from laptop re

[Bug 1131418] Re: Nodes don't go to ready, after commissioning they get a 500 error when reporting back to maas

2013-04-25 Thread Raphaël Badin
** Branch linked: lp:~rvb/maas/backport-fixes ** Also affects: maas/1.2 Importance: Undecided Status: New ** Changed in: maas Assignee: (unassigned) => Raphaël Badin (rvb) ** Changed in: maas Status: Triaged => Fix Committed ** Changed in: maas/1.2 As

[Bug 1131418] Re: Nodes don't go to ready, after commissioning they get a 500 error when reporting back to maas

2013-04-25 Thread Raphaël Badin
** Changed in: maas/1.2 Importance: Undecided => Critical ** Changed in: maas/1.2 Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1131418 Title: Nodes don't go

[Bug 1070522] Re: maas-cli nodes new incomplete documentation

2012-11-07 Thread Raphaël Badin
** Changed in: maas Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1070522 Title: maas-cli nodes new incomplete documentation To manage notifications abou

[Bug 1070522] Re: maas-cli nodes new incomplete documentation

2012-11-07 Thread Raphaël Badin
** Changed in: maas/1.2 Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1070522 Title: maas-cli nodes new incomplete documentation To manage notifications

[Bug 1081701] Re: The metadata address mentioned in the preseed is wrong.

2012-11-28 Thread Raphaël Badin
This is not fixed yet, the enlistment user data is not fixed. ** Changed in: maas/trunk Status: Fix Committed => In Progress ** Changed in: maas/trunk Assignee: Gavin Panella (allenap) => Raphaël Badin (rvb) ** Branch linked: lp:~rvb/maas/enlistment-user-data -- You receive

[Bug 1081701] Re: The metadata address mentioned in the preseed is wrong.

2012-11-28 Thread Raphaël Badin
** Branch linked: lp:~rvb/maas/fix-origin-adr -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1081701 Title: The metadata address mentioned in the preseed is wrong. To manage notifications about this

[Bug 1081212] Re: The address of the API in pserv.conf (tftp/generator) is http://localhost/MAAS/api/1.0/pxeconfig/

2012-11-29 Thread Raphaël Badin
** Changed in: maas/1.2 Assignee: (unassigned) => Julian Edwards (julian-edwards) ** Changed in: maas/trunk Assignee: (unassigned) => Julian Edwards (julian-edwards) ** Changed in: maas/1.2 Status: In Progress => Fix Committed ** Changed in: maas/trunk Status: In Progress

[Bug 1081701] Re: The metadata address mentioned in the preseed is wrong.

2012-11-29 Thread Raphaël Badin
** Changed in: maas/trunk Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1081701 Title: The metadata address mentioned in the preseed is wrong. To manage

[Bug 1081495] Re: E: Sub-process /usr/bin/dpkg returned an error code (1)

2012-12-05 Thread Raphaël Badin
On an openstack instance, tgt installs ok on ami-0176 but not on ami-0173 (https://launchpadlibrarian.net/124433581/terminal.log). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1081495 Title:

[Bug 1081495] Re: E: Sub-process /usr/bin/dpkg returned an error code (1)

2012-12-05 Thread Raphaël Badin
Err, http://paste.ubuntu.com/1412280/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1081495 Title: E: Sub-process /usr/bin/dpkg returned an error code (1) To manage notifications about this bug go

[Bug 1066935] Re: named.conf.rndc.maas is insecure by default

2012-12-06 Thread Raphaël Badin
** Changed in: maas (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1066935 Title: named.conf.rndc.maas is insecure by default To manage notificati

[Bug 1070765] Re: DNS forward zone ends up with nonsensical entries

2012-11-05 Thread Raphaël Badin
** Changed in: maas/1.2 Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1070765 Title: DNS forward zone ends up with nonsensical entries To manage notifica

[Bug 1070522] Re: maas-cli nodes new incomplete documentation

2012-11-06 Thread Raphaël Badin
** Changed in: maas Status: Fix Committed => In Progress ** Changed in: maas/1.2 Status: Fix Committed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1070522 Title: maas

[Bug 1070765] Re: DNS forward zone ends up with nonsensical entries

2012-11-16 Thread Raphaël Badin
** Branch linked: lp:~rvb/maas/add-fqdn ** Branch linked: lp:~rvb/maas/use-fqdn ** Branch linked: lp:~rvb/maas/ui-update-fqdn -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1070765 Title: DNS forwa

[Bug 1070765] Re: DNS forward zone ends up with nonsensical entries

2012-11-16 Thread Raphaël Badin
** Branch linked: lp:~rvb/maas/ui-update-fqdn-1.2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1070765 Title: DNS forward zone ends up with nonsensical entries To manage notifications about this b

[Bug 1081212] [NEW] The address of the API in pserv.conf (tftp/generator) is http://localhost/MAAS/api/1.0/pxeconfig/

2012-11-20 Thread Raphaël Badin
Public bug reported: The information on how to contact the region controller in /etc/maas/pserv.yaml isn't updated when 'dpkg-reconfigure maas-cluster- controller' is run. Hence the default (http://localhost/MAAS/api/1.0/pxeconfig/) is used. This breaks pserv when a cluster controller is running

[Bug 1081701] Re: The metadata address mentioned in the preseed is wrong.

2012-11-23 Thread Raphaël Badin
Right, when this will be fixed, fixing bug 1081696 will be simply a matter of using that value (stored on the nodegroup object). ** No longer affects: maas/12.04-nocobbler -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.l

[Bug 1081701] Re: The metadata address mentioned in the preseed is wrong.

2012-11-23 Thread Raphaël Badin
Here is a description what it will take to implement solution 2, broken down into individual tasks: Once a) is done, all the other tasks can be done independently. a) add a new colum on nodegroup to store the maas_url as seen by the cluster b) have the cluster send that maas_url when cluster sta

[Bug 1081701] Re: The metadata address mentioned in the preseed is wrong.

2012-11-23 Thread Raphaël Badin
** Branch linked: lp:~rvb/maas/bug-1081701-a -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1081701 Title: The metadata address mentioned in the preseed is wrong. To manage notifications about this

<    1   2   3   >