Do you currently have any servers booting from volumes (cloud block storage)?
When booting from a volume, server.image is an empty string, and not a dictionary. I am working on a pull request that will be submitted soon, that will handle servers being booted from a volume. On Fri, Nov 7, 2014 at 2:31 PM, Michael Liu <[email protected]> wrote: > Seeing the following when using rax.py. > > ./rax.py --list > /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:730: > InsecureRequestWarning: Unverified HTTPS request is being made. Adding > certificate verification is strongly advised. See: > https://urllib3.readthedocs.org/en/latest/security.html (This warning > will only appear once by default.) > InsecureRequestWarning) > Traceback (most recent call last): > File "./rax.py", line 284, in <module> > main() > File "./rax.py", line 277, in main > _list(regions) > File "./rax.py", line 187, in _list > imagegroup = 'image-%s' % images[server.image['id']] > TypeError: string indices must be integers > > Has anyone else experienced this "TypeError: string indices must be > integers" error from the rax.py script? I believe this script worked a few > weeks ago. > > Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/36df37fc-8936-4f07-98b9-03d8470041a0%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/36df37fc-8936-4f07-98b9-03d8470041a0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Matt Martz @sivel sivel.net -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAD8N0v9Qn_Q4NGFGF12KvtGf4RNy9kXXDAzwWLcG8CXhKG44VA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
