Hi!

I just built a package from current master, installed it on a vanilla node,
> initialized a cluster and issued those two commands. My output is:
>
> # gnt-network add --network=192.168.7.7/24 mynet
> # gnt-network add-tags mytag mynet
> Failure: prerequisites not met for this operation:
> error type: unknown_entity, error details:
> Network 'mytag' not found
>
> Which is the correct one because network named mytag does not exist. TagsLU
> calls _UnlockedLookupNetwork() which raises OpPrereqError.
>
> I suppose you intend to cause that error. Because the correct order is:
>
> # gnt-network add-tags mynet mytag
> # gnt-network list
> Network Subnet         Gateway NetworkType MacPrefix GroupList Tags
> mynet   192.168.7.7/24 None    None        None                mytag
>
>
My mistake, sorry! Thanks for checking. I'll close the issue then.

Cheers,
Helga

Reply via email to