Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

container.cdn_enabled is False for a CDN enabled container #423

Closed
smashwilson opened this issue Jul 9, 2014 · 2 comments
Closed

container.cdn_enabled is False for a CDN enabled container #423

smashwilson opened this issue Jul 9, 2014 · 2 comments

Comments

@smashwilson
Copy link

Using the latest code from working, cdn_enabled is returning False for a CDN-enabled container, even though cdn_uri and cdn_ssl_uri return valid values:

cf = pyrax.cloudfiles

c = cf.get_container('drc-static-prod')

print c.cdn_uri
print c.cdn_ssl_uri
print c.cdn_enabled

# http://3098f9a0d8964014fb3b-7aa3a9a490dd99bbe9801b24164fc21d.r21.cf1.rackcdn.com
# https://fe7dedec5fb081b4d66d-7aa3a9a490dd99bbe9801b24164fc21d.ssl.cf1.rackcdn.com
# False
EdLeafe added a commit that referenced this issue Jul 9, 2014
This is similar to the fix made in #399, but for the new object_storage
code.
@EdLeafe EdLeafe closed this as completed Jul 9, 2014
@smashwilson
Copy link
Author

No dice:

(venv.ansible)ashl6947@MMN1F3FD58 ~ $ python raxit.py 
<Container 'drc-static-prod'>
None
None
False

@smashwilson
Copy link
Author

Whoops, false alarm. I think some my messing around in Ansible must have un-unpublished the container unintentionally. Sorry about that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants