[Bug 1034837] Re: authentication token expiry with openstack provider

2012-10-10 Thread Clint Byrum
** Changed in: juju (Ubuntu Quantal)
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1034837

Title:
  authentication token expiry with openstack provider

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1034837/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1034837] Re: authentication token expiry with openstack provider

2012-10-09 Thread Clint Byrum
** Changed in: juju
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1034837

Title:
  authentication token expiry with openstack provider

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1034837/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1034837] Re: authentication token expiry with openstack provider

2012-09-28 Thread Clint Byrum
** Changed in: juju/0.5
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1034837

Title:
  authentication token expiry with openstack provider

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1034837/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1034837] Re: authentication token expiry with openstack provider

2012-09-27 Thread Jim Baker
** Changed in: juju
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1034837

Title:
  authentication token expiry with openstack provider

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1034837/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1034837] Re: authentication token expiry with openstack provider

2012-09-27 Thread Clint Byrum
** Also affects: juju/0.5
   Importance: Undecided
   Status: New

** Changed in: juju/0.5
   Status: New = In Progress

** Changed in: juju/0.5
 Assignee: (unassigned) = Clint Byrum (clint-fewbar)

** Changed in: juju/0.5
   Importance: Undecided = Critical

** Changed in: juju/0.5
Milestone: None = 0.5.2

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1034837

Title:
  authentication token expiry with openstack provider

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1034837/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1034837] Re: authentication token expiry with openstack provider

2012-09-27 Thread Clint Byrum
** Changed in: juju/0.5
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1034837

Title:
  authentication token expiry with openstack provider

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1034837/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1034837] Re: authentication token expiry with openstack provider

2012-09-27 Thread Launchpad Bug Tracker
** Branch linked: lp:juju/0.5

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1034837

Title:
  authentication token expiry with openstack provider

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1034837/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1034837] Re: authentication token expiry with openstack provider

2012-09-26 Thread Jim Baker
** Changed in: juju
   Status: Confirmed = Won't Fix

** Changed in: juju
   Status: Won't Fix = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1034837

Title:
  authentication token expiry with openstack provider

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1034837/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1034837] Re: authentication token expiry with openstack provider

2012-09-25 Thread Jim Baker
** Branch linked: lp:~jimbaker/juju/reauth-on-token-expiry

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1034837

Title:
  authentication token expiry with openstack provider

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1034837/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1034837] Re: authentication token expiry with openstack provider

2012-09-21 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: juju (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1034837

Title:
  authentication token expiry with openstack provider

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1034837/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1034837] Re: authentication token expiry with openstack provider

2012-09-21 Thread Robbie Williamson
** Package changed: ubuntu = juju (Ubuntu)

** Changed in: juju (Ubuntu)
   Status: New = Confirmed

** Also affects: juju (Ubuntu Quantal)
   Importance: Undecided
   Status: Confirmed

** Changed in: juju (Ubuntu Quantal)
   Importance: Undecided = High

** Changed in: juju (Ubuntu Quantal)
   Importance: High = Critical

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1034837

Title:
  authentication token expiry with openstack provider

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1034837/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1034837] Re: authentication token expiry with openstack provider

2012-09-21 Thread Antonio Rosales
** Changed in: juju
Milestone: None = 0.6

** Changed in: juju (Ubuntu Quantal)
Milestone: None = ubuntu-12.10

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1034837

Title:
  authentication token expiry with openstack provider

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1034837/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1034837] Re: authentication token expiry with openstack provider

2012-09-21 Thread Jim Baker
** Changed in: juju
 Assignee: (unassigned) = Jim Baker (jimbaker)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1034837

Title:
  authentication token expiry with openstack provider

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1034837/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1034837] Re: authentication token expiry with openstack provider

2012-09-21 Thread Jim Baker
According to http://docs.openstack.org/api/quick-
start/content/index.html#Getting-Credentials-a00665, code using the
OpenStack REST API should request a new token upon receiving a 401
status code, then retry.

In the OpenStack provider, for every client request, the
`_OpenStackClient.is_authenticated` method is checked to see if a token
needs to be first requested. However, as currently implemented, this
method will never reset to being False. So solving this bug simply
requires ensuring that any 401 status code does in fact do that;
something as simple as setting `self.token = None` in the `_empty` and
`_json` result processing methods should suffice. (We can also return a
better exception too, so as to improve the logging in the provisioning
agent, just to indicate this expiration is to be occasionally expected.)

With that change, the provisioning agent will retry as it always does
when it encounters provider errors, thus fufilling the requirements of
the above link, and thereby fixing this bug.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1034837

Title:
  authentication token expiry with openstack provider

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1034837/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs