** Description changed:

  It was first seen when deleting several users in one big activity. Only
- one user would be deleted. See
- 
https://landscape.canonical.com/account/mellansels/activity/16679169/index.html
+ one user would be deleted.
  
  After some experimenting, turns out that whenever more than one user
  related activity is in a payload, only one is carried out.
  
  Here is an example for the deleting multiple users case:
  
  2010-08-18 10:48:28,434 DEBUG    [Dummy-1   ] Received payload:
  {'client-accepted-types-hash': 
'W\xda\xb7\xc6\xe9Q\xd3=\xf8;^\xed7\xae\xd6\xf2',
   'messages': [{'delete-home': True,
                 'operation-id': 126069,
                 'type': 'remove-user',
                 'uid': 1001,
                 'username': u'another'},
                {'delete-home': True,
                 'operation-id': 126070,
                 'type': 'remove-user',
                 'uid': 1000,
                 'username': u'new2'}],
   'next-expected-sequence': 53659,
   'server-uuid': '7c6efe47-12fb-11de-91bb-0016353c8658'}
  2010-08-18 10:48:28,439 INFO     [MainThread] Switching to normal exchange 
mode.
  2010-08-18 10:48:28,537 DEBUG    [MainThread] Started firing message.
  2010-08-18 10:48:28,537 DEBUG    [MainThread] Calling 
landscape.broker.ping.Pinger._handle_set_intervals() for message with priority 
0.
  2010-08-18 10:48:28,537 DEBUG    [MainThread] Calling 
landscape.broker.server.BrokerServer.broadcast_message() for message with 
priority 0.
  2010-08-18 10:48:28,538 DEBUG    [MainThread] Finished firing message.
  2010-08-18 10:48:28,540 DEBUG    [MainThread] Started firing message.
  2010-08-18 10:48:28,540 DEBUG    [MainThread] Calling 
landscape.broker.ping.Pinger._handle_set_intervals() for message with priority 
0.
  2010-08-18 10:48:28,540 DEBUG    [MainThread] Calling 
landscape.broker.server.BrokerServer.broadcast_message() for message with 
priority 0.
  2010-08-18 10:48:28,541 DEBUG    [MainThread] Finished firing message.
  2010-08-18 10:48:28,542 DEBUG    [MainThread] Started firing exchange-done.
  2010-08-18 10:48:28,542 DEBUG    [MainThread] Calling 
landscape.broker.registration.RegistrationHandler._handle_exchange_done() for 
exchange-done with priority 0.
  2010-08-18 10:48:28,542 DEBUG    [MainThread] Finished firing exchange-done.
  2010-08-18 10:48:28,542 INFO     [MainThread] Message exchange completed in 
1.32s.
  2010-08-18 10:48:28,788 WARNING  [MainThread] No message context for message 
with operation-id: 126070
  
  Only the new2 user was removed:
  (manager log)
  
  2010-08-18 10:48:28,559 INFO     [MainThread] Removing user new2 (UID
  1000) and deleting their home directory.

-- 
Payload with multiple user activities: only one is carried out
https://bugs.launchpad.net/bugs/617624
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to