1.8a10: Simultaneous IP address requests with only one succeeding

Bug #1439322 reported by Adam Collard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Unassigned

Bug Description

Landscape makes simultaneous requests to grab static IP addresses from MAAS. When running that against MAAS 1.8.0~alpha10+bzr3750-0ubuntu1 I get one success and the rest failing.

relevant snippet of the regiond.log

2015-04-01 11:36:45 [-] 127.0.0.1 - - [01/Apr/2015:16:36:45 +0000] "POST /MAAS/api/1.0/ipaddresses/ HTTP/1.1" 401 51 "-" "Twisted PageGetter"
2015-04-01 11:36:45 [-] 127.0.0.1 - - [01/Apr/2015:16:36:45 +0000] "POST /MAAS/api/1.0/ipaddresses/ HTTP/1.1" 401 51 "-" "Twisted PageGetter"
2015-04-01 11:36:45 [-] 127.0.0.1 - - [01/Apr/2015:16:36:45 +0000] "POST /MAAS/api/1.0/ipaddresses/ HTTP/1.1" 401 51 "-" "Twisted PageGetter"
2015-04-01 11:36:46 [-] 127.0.0.1 - - [01/Apr/2015:16:36:45 +0000] "POST /MAAS/api/1.0/ipaddresses/ HTTP/1.1" 401 51 "-" "Twisted PageGetter"
2015-04-01 11:36:46 [-] 127.0.0.1 - - [01/Apr/2015:16:36:45 +0000] "POST /MAAS/api/1.0/ipaddresses/ HTTP/1.1" 401 51 "-" "Twisted PageGetter"
2015-04-01 11:36:46 [-] 127.0.0.1 - - [01/Apr/2015:16:36:45 +0000] "POST /MAAS/api/1.0/ipaddresses/ HTTP/1.1" 401 51 "-" "Twisted PageGetter"
2015-04-01 11:36:46 [-] 127.0.0.1 - - [01/Apr/2015:16:36:45 +0000] "POST /MAAS/api/1.0/ipaddresses/ HTTP/1.1" 401 51 "-" "Twisted PageGetter"
2015-04-01 11:36:53 [-] 127.0.0.1 - - [01/Apr/2015:16:36:53 +0000] "POST /MAAS/api/1.0/ipaddresses/ HTTP/1.1" 200 141 "-" "Twisted PageGetter"

tags: added: landscape
tags: added: cloud-installer
summary: - Simultaneous IP address requests with only one succeeding
+ 1.8a10: Simultaneous IP address requests with only one succeeding
Revision history for this message
Blake Rouse (blake-rouse) wrote :

I think this bug is the same as bug 1435767. Can you check if the log contains the same message as that bug?

Changed in maas:
status: New → Triaged
importance: Undecided → Critical
milestone: none → 1.8.0
Revision history for this message
Raphaël Badin (rvb) wrote :

Pretty sure Blake is right. Marking this as a duplicate, please de-duplicate if you think this is wrong.

Revision history for this message
Adam Collard (adam-collard) wrote :

$ sudo rgrep Nonce /var/log/maas/*
$

Doesn't look like it is, I couldn't find anything more than just the 401 line for the requests, no traceback or further log messages.

Revision history for this message
Adam Collard (adam-collard) wrote :

Confirmed that it is fixed as of r3760 probably because of #1435767

Changed in maas:
status: Triaged → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.