diff --git a/nailgun/entities.py b/nailgun/entities.py index 1d35e55b..f3ce14fa 100644 --- a/nailgun/entities.py +++ b/nailgun/entities.py @@ -5062,6 +5062,7 @@ def __init__(self, server_config=None, **kwargs): 'user_data': entity_fields.BooleanField(), 'username': entity_fields.StringField(required=True), 'uuid': entity_fields.StringField(required=True), + 'password': entity_fields.StringField(), } super().__init__(server_config=server_config, **kwargs) self._meta = { @@ -5097,6 +5098,7 @@ def read(self, entity=None, attrs=None, ignore=None, params=None): entity = entity or self.entity_with_parent() if ignore is None: ignore = set() + ignore.add('password') ignore.add('compute_resource') ignore.add('user_data') return super().read(entity, attrs, ignore, params)