Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

dcm-list-servers --verbose - "AttributeError: type object 'Server' has no attribute 'owning_user'" #302

Closed
ghost opened this issue Oct 22, 2015 · 0 comments
Labels

Comments

@ghost
Copy link

ghost commented Oct 22, 2015

(venv)45.18.37.41:~/Projects/Blueprints$ dcm-list-servers
+-----------+--------+-------------+--------------------------+----------------+----------+--------+----------+---------+------------------------------+
| Server ID | Region | Provider ID | Server Name              | Public IP      | Platform | Budget | Product  | Status  | Start Date                   |
+-----------+--------+-------------+--------------------------+----------------+----------+--------+----------+---------+------------------------------+
| 11        | 15     | i-5d6279fe  | acme-ldap-server         | 54.166.63.231  | UBUNTU   | 200    | m1.small | RUNNING | 2015-10-09T19:05:35.000+0000 |
| 10        | 15     | i-24233a8c  | community-enstratius-com | 54.221.200.126 | UBUNTU   | 200    | m1.small | RUNNING | 2015-08-11T17:00:20.000+0000 |
+-----------+--------+-------------+--------------------------+----------------+----------+--------+----------+---------+------------------------------+
(venv)45.18.37.41:~/Projects/Blueprints$ dcm-list-servers --verbose
Traceback (most recent call last):
  File "/Users/gforghetti/Projects/Blueprints/venv/bin/dcm-list-servers", line 105, in <module>
    user_email = user_lookup_table[str(r.owning_user['user_id'])]
AttributeError: type object 'Server' has no attribute 'owning_user'
(venv)45.18.37.41:~/Projects/Blueprints$
igable added a commit to igable/mixcoatl that referenced this issue Oct 22, 2015
This is a cash that can occur then there are VMs on the cloud account
that were not created by DCM. Thanks @gforghetti for spotting this.
@igable igable added the bug label Oct 22, 2015
@igable igable closed this as completed in e7024b5 Oct 22, 2015
This was referenced Oct 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant