diff --git a/pkg/mcclient/modules/mod_projects.go b/pkg/mcclient/modules/mod_projects.go index 4e89b08009..513c5c8883 100644 --- a/pkg/mcclient/modules/mod_projects.go +++ b/pkg/mcclient/modules/mod_projects.go @@ -242,6 +242,7 @@ func (this *ProjectManagerV3) DeleteInContexts(session *mcclient.ClientSession, if ctxs == nil { p := jsonutils.NewDict() p.Add(jsonutils.JSONTrue, "admin") + p.Add(jsonutils.JSONTrue, "system") p.Add(jsonutils.NewString(id), "tenant") ret, e := Servers.List(session, p) if e != nil {