Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Inter-rack slices with unbounded node-groups receive error #232

Open
kthare10 opened this issue Nov 28, 2018 · 0 comments
Open

Inter-rack slices with unbounded node-groups receive error #232

kthare10 opened this issue Nov 28, 2018 · 0 comments
Assignees

Comments

@kthare10
Copy link
Contributor

Unbound NodeGroup when results in VMs spanning multiple sites results in error.

Refer https://github.com/RENCI-NRIG/exogeni/issues/225 for more details.

Such requests can be prevented by adding following rule:

 # nodeGroup validation - NodeGroups must provide domain
 [validateNodeGroup: (?v rb:validation on()) ->
     [ (?Z rb:violation error('NodeGroup Validation', 'NodeGroup must be bound to a site', ?X))
         <- (?R rdf:type req:Reservation), (?R col:element ?X),
         (?X rdf:type comp:ServerCloud), (?X dom:hasResourceType comp:VM),
         noValue(?X, req:inDomain) ] ]
@kthare10 kthare10 self-assigned this Nov 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant