Hi,

  I just found something else, this is not working with vmware?  

 I tested in a test environment where I have a zone with 2 clusters, 1 with 
VMware and one with KVM, if I keep the KVM host enabled, works fine, I can 
deploy the network. if I disable the KVM host, I get an error with Insufficient 
capacity...

  1. Keep KVM host enabled 
  2. Restart the guest network, router is created
  3. Delete the router
  4. Disable KVM host
  5. Restart the router 
  6.

2021-10-12 11:44:14,425 DEBUG [c.c.v.VmWorkJobDispatcher] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852) (logid:1bc1d4db) Run VM 
work job: com.cloud.vm.VmWorkStart for VM 638, job origin: 4851
2021-10-12 11:44:14,426 DEBUG [c.c.v.VmWorkJobHandlerProxy] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) Execute VM work job: 
com.cloud.vm.VmWorkStart{"dcId":0,"rawParams":{"RestartNetwork":"rO0ABXNyABFqYXZhLmxhbmcuQm9vbGVhbs0gcoDVnPruAgABWgAFdmFsdWV4cAE"},"userId":2,"accountId":2,"vmId":638,"handlerName":"VirtualMachineManagerImpl"}
2021-10-12 11:44:14,430 DEBUG [c.c.c.CapacityManagerImpl] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) VM state transitted from :Stopped to Starting with event: 
StartRequestedvm's original host id: null new host id: null host id before 
state transition: null
2021-10-12 11:44:14,430 DEBUG [c.c.v.VirtualMachineManagerImpl] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) Successfully transitioned to start state for 
VM[DomainRouter|r-638-VM] reservation id = 9edfdd6f-319b-4805-89b8-667031e26bd9
2021-10-12 11:44:14,432 DEBUG [c.c.v.VirtualMachineManagerImpl] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) Deploy avoids pods: null, clusters: null, hosts: null
2021-10-12 11:44:14,440 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) DeploymentPlanner allocation algorithm: null
2021-10-12 11:44:14,440 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) Trying to allocate a host and storage pools from dc:1, 
pod:null,cluster:null, requested cpu: 500, requested ram: (256.00 MB) 268435456
2021-10-12 11:44:14,440 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) Is ROOT volume READY (pool already allocated)?: No
2021-10-12 11:44:14,440 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) Deploy avoids pods: [], clusters: [], hosts: []
2021-10-12 11:44:14,441 DEBUG [c.c.d.FirstFitPlanner] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) Searching all possible resources under this Zone: 1
2021-10-12 11:44:14,442 DEBUG [c.c.d.FirstFitPlanner] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) Listing clusters in order of aggregate capacity, that have (at 
least one host with) enough CPU and RAM capacity under this Zone: 1
2021-10-12 11:44:14,444 DEBUG [c.c.d.FirstFitPlanner] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) Removing from the clusterId list these clusters from avoid 
set: []
2021-10-12 11:44:14,448 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) Cannot deploy in disabled cluster 2, skipping this cluster
2021-10-12 11:44:14,448 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) Checking resources in Cluster: 2 under Pod: 1
2021-10-12 11:44:14,449 INFO  [c.c.a.m.a.i.FirstFitAllocator] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b 
FirstFitRoutingAllocator) (logid:1bc1d4db)  Guest VM is requested with 
Custom[UEFI] Boot Type false
2021-10-12 11:44:14,449 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b 
FirstFitRoutingAllocator) (logid:1bc1d4db) Looking for hosts in dc: 1  pod:1  
cluster:2
2021-10-12 11:44:14,450 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b 
FirstFitRoutingAllocator) (logid:1bc1d4db) FirstFitAllocator has 1 hosts to 
check for allocation: [Host[-13-Routing]]
2021-10-12 11:44:14,453 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b 
FirstFitRoutingAllocator) (logid:1bc1d4db) Found 1 hosts for allocation after 
prioritization: [Host[-13-Routing]]
2021-10-12 11:44:14,453 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b 
FirstFitRoutingAllocator) (logid:1bc1d4db) Looking for speed=500Mhz, Ram=256 MB
2021-10-12 11:44:14,453 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b 
FirstFitRoutingAllocator) (logid:1bc1d4db) Host name: host-test-kvm-002, 
hostId: 13 is in avoid set, skipping this and trying other available hosts
2021-10-12 11:44:14,453 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b 
FirstFitRoutingAllocator) (logid:1bc1d4db) Host Allocator returning 0 suitable 
hosts
2021-10-12 11:44:14,453 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) No suitable hosts found
2021-10-12 11:44:14,453 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) No suitable hosts found under this Cluster: 2
2021-10-12 11:44:14,454 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) Cluster: 1 has HyperVisorType that does not match the VM, 
skipping this cluster
2021-10-12 11:44:14,454 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) Could not find suitable Deployment Destination for this VM 
under any clusters, returning.
2021-10-12 11:44:14,454 DEBUG [c.c.d.FirstFitPlanner] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) Searching all possible resources under this Zone: 1
2021-10-12 11:44:14,455 DEBUG [c.c.d.FirstFitPlanner] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) Listing clusters in order of aggregate capacity, that have (at 
least one host with) enough CPU and RAM capacity under this Zone: 1
2021-10-12 11:44:14,457 DEBUG [c.c.d.FirstFitPlanner] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) Removing from the clusterId list these clusters from avoid 
set: [1, 2]
2021-10-12 11:44:14,458 DEBUG [c.c.d.FirstFitPlanner] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) No clusters found after removing disabled clusters and 
clusters in avoid list, returning.
2021-10-12 11:44:14,462 DEBUG [c.c.c.CapacityManagerImpl] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) VM state transitted from :Starting to Stopped with event: 
OperationFailedvm's original host id: null new host id: null host id before 
state transition: null
2021-10-12 11:44:14,462 ERROR [c.c.v.VmWorkJobHandlerProxy] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) Invocation exception, caused by: 
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM[DomainRouter|r-638-VM]Scope=interface 
com.cloud.dc.DataCenter; id=1
2021-10-12 11:44:14,462 INFO  [c.c.v.VmWorkJobHandlerProxy] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852 ctx-274be37b) 
(logid:1bc1d4db) Rethrow exception 
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM[DomainRouter|r-638-VM]Scope=interface 
com.cloud.dc.DataCenter; id=1
2021-10-12 11:44:14,462 DEBUG [c.c.v.VmWorkJobDispatcher] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852) (logid:1bc1d4db) Done 
with run of VM work job: com.cloud.vm.VmWorkStart for VM 638, job origin: 4851
2021-10-12 11:44:14,462 ERROR [c.c.v.VmWorkJobDispatcher] 
(Work-Job-Executor-24:ctx-16d8ab63 job-4851/job-4852) (logid:1bc1d4db) Unable 
to complete AsyncJobVO {id:4852, userId: 2, accountId: 2, instanceType: null, 
instanceId: null, cmd: com.cloud.vm.VmWorkStart, cmdInfo: 
rO0ABXNyABhjb20uY2xvdWQudm0uVm1Xb3JrU3RhcnR9cMGsvxz73gIAC0oABGRjSWRMAAZhdm9pZHN0ADBMY29tL2Nsb3VkL2RlcGxveS9EZXBsb3ltZW50UGxhbm5lciRFeGNsdWRlTGlzdDtMAAljbHVzdGVySWR0ABBMamF2YS9sYW5nL0xvbmc7TAAGaG9zdElkcQB-AAJMAAtqb3VybmFsTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO0wAEXBoeXNpY2FsTmV0d29ya0lkcQB-AAJMAAdwbGFubmVycQB-AANMAAVwb2RJZHEAfgACTAAGcG9vbElkcQB-AAJMAAlyYXdQYXJhbXN0AA9MamF2YS91dGlsL01hcDtMAA1yZXNlcnZhdGlvbklkcQB-AAN4cgATY29tLmNsb3VkLnZtLlZtV29ya5-ZtlbwJWdrAgAESgAJYWNjb3VudElkSgAGdXNlcklkSgAEdm1JZEwAC2hhbmRsZXJOYW1lcQB-AAN4cAAAAAAAAAACAAAAAAAAAAIAAAAAAAACfnQAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAAAAAAAAAHBwcHBwcHBwc3IAEWphdmEudXRpbC5IYXNoTWFwBQfawcMWYNEDAAJGAApsb2FkRmFjdG9ySQAJdGhyZXNob2xkeHA_QAAAAAAADHcIAAAAEAAAAAF0AA5SZXN0YXJ0TmV0d29ya3QAP3JPMEFCWE55QUJGcVlYWmhMbXhoYm1jdVFtOXZiR1ZoYnMwZ2NvRFZuUHJ1QWdBQldnQUZkbUZzZFdWNGNBRXhw,
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 52234461073, completeMsid: null, lastUpdated: null, lastPolled: 
null, created: Tue Oct 12 11:44:13 UTC 2021, removed: null}, job origin:4851
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM[DomainRouter|r-638-VM]Scope=interface 
com.cloud.dc.DataCenter; id=1
        at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1119)
        at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:5502)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at 
com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
        at 
com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5669)
        at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
        at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:620)
        at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:48)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
        at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:45)
        at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:568)
        at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)


I'm out of ideas ...


Regards,
Cristian




-----Original Message-----
From: vas...@gmx.de <vas...@gmx.de> 
Sent: Tuesday, October 12, 2021 1:39 PM
To: users@cloudstack.apache.org
Subject: Re: Multiple Network labels - custom

Hi cristian,

good to hear you are makeing some progress!

as wei wrote my ecperience reagarding networks is, that you will have to tag 
ALL physical networks.
The implementation of tag usage is a bit different from ,for example storage, 
where tagging works quiet well - even if some ressources aren't tagged while 
some other have tags.

Regarding you "error":
if i get most of the things right, the virtual router for the network you have 
created fails to start, therefore the whole deployment process will fail, as an 
instance will need a connection to a implemented network.
Quiet likely he struggels to set up correctly due to the missing tags on the 
other physical networks.
Worth a try i would say ;-)

Am Di., 12. Okt. 2021 um 12:21 Uhr schrieb Wei ZHOU <ustcweiz...@gmail.com>:

> 1. you can enable the providers via cloudmonkey, not by db.
> 2. all physical networks and network offerings should have tags 3. You 
> should see other exceptions than InsufficientServerCapacityException
> in management-server.log
>
> -Wei
>
> On Tue, 12 Oct 2021 at 11:09, <cristian.c@istream.today> wrote:
>
> > Hi,
> >
> >
> >
> >    I have found the issue but not I have a different one 😊
> >
> >
> >
> >   When I add the network, if I check the enable providers, there a 
> > no providers enabled.. if I enabled the providers from DB, then I 
> > see the networking offering with tag also for second physical network.
> >
> >
> >
> > Right now if I try to deploy a guest network under the physical 
> > network 1
> > (guestA) or 2(guestb) I get a general error :
> >
> >
> >
> > "2021-10-12 04:46:52,357 INFO  [c.c.v.VirtualMachineManagerImpl]
> > (Work-Job-Executor-11:ctx-79d80dc9 job-67381/job-67382 ctx-5a1daca5)
> > (logid:395eb51a) Insufficient capacity
> >
> > com.cloud.exception.InsufficientServerCapacityException: Unable to 
> > create a deployment for VM[DomainRouter|r-4559-VM]Scope=interface
> > com.cloud.dc.DataCenter; id=7
> >
> >         at
> >
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachine
> ManagerImpl.java:1119)
> >
> >         at
> >
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineMana
> gerImpl.java:926)
> >
> >         at
> >
> com.cloud.network.router.NetworkHelperImpl.start(NetworkHelperImpl.jav
> a:279)
> >
> >         at
> >
> com.cloud.network.router.NetworkHelperImpl.startVirtualRouter(NetworkH
> elperImpl.java:358)
> >
> >         at
> >
> com.cloud.network.router.NetworkHelperImpl.startRouters(NetworkHelperI
> mpl.java:343)
> >
> >         at
> >
> org.cloud.network.router.deployment.RouterDeploymentDefinition.deployV
> irtualRouter(RouterDeploymentDefinition.java:206)
> >
> >         at
> >
> com.cloud.network.element.VirtualRouterElement.prepare(VirtualRouterEl
> ement.java:285)
> >
> >         at
> >
> org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.prepare
> Element(NetworkOrchestrator.java:1485)
> >
> >         at
> >
> org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.prepare
> Nic(NetworkOrchestrator.java:1840)
> >
> >         at
> >
> org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.prepare
> (NetworkOrchestrator.java:1774)
> >
> >         at
> >
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachine
> ManagerImpl.java:1158)
> >
> >         at
> >
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachine
> ManagerImpl.java:5502)
> >
> >         at
> > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Nati
> > ve
> > Method)
> >
> >         at
> >
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeM
> ethodAccessorImpl.java:62)
> >
> >         at
> >
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Del
> egatingMethodAccessorImpl.java:43)
> >
> >         at 
> > java.base/java.lang.reflect.Method.invoke(Method.java:566)
> >
> >         at
> >
> com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerPro
> xy.java:107)
> >
> >         at
> >
> com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineM
> anagerImpl.java:5669)
> >
> >         at
> > com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102
> > )
> >
> >         at
> >
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInC
> ontext(AsyncJobManagerImpl.java:620)
> >
> >         at
> >
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Man
> agedContextRunnable.java:48)
> >
> >         at
> >
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.cal
> l(DefaultManagedContext.java:55)
> >
> >         at
> >
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callW
> ithContext(DefaultManagedContext.java:102)
> >
> >         at
> >
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWi
> thContext(DefaultManagedContext.java:52)
> >
> >         at
> >
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(Manag
> edContextRunnable.java:45)
> >
> >         at
> >
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(As
> yncJobManagerImpl.java:568)
> >
> >         at
> >
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executor
> s.java:515)
> >
> >         at
> > java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> >
> >         at
> >
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
> Executor.java:1128)
> >
> >         at
> >
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
> lExecutor.java:628)
> >
> >         at java.base/java.lang.Thread.run(Thread.java:829)
> >
> > "
> >
> >
> >
> > I do not understand what is wrong, doesn't make any sense..
> >
> >
> >
> > 1. I add a second network with the name "Physical Network 2" with
> traffic
> > Guest.
> >
> > 2. I enable the network and providers from DB
> >
> > 3. I add tag to the Physical Network 1 and Physical Network 2
> >
> > 4. I create a share network offering with tag for both networks.
> >
> > 5. Enable the new created network offering
> >
> > 6. Create a network with any of the network offering with tag
> >
> > 7. Deploy VM, restart network, clean network = fail with the same error.
> >
> >
> >
> > This issue is happening only when I use tags.
> >
> >
> >
> >
> >
> > Any suggestions?
> >
> >
> >
> >
> >
> > Thank you,
> >
> > Cristian
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: vas...@gmx.de <vas...@gmx.de>
> > Sent: Friday, October 8, 2021 12:36 PM
> > To: users@cloudstack.apache.org
> > Subject: Re: Multiple Network labels - custom
> >
> >
> >
> > Does the offering "default a" work as expected - meaning Cloudstack 
> > is deploying the network as expected?
> >
> > I can remember that i had some struggle with this, too.
> >
> > Maybe, just for verification
> >
> > a) Check that the service offering is enabled ( :-) )
> >
> > b) that the "offering access" is configured correct
> >
> >
> >
> > Maybe just create a test-account und give this account direct access 
> > to the offerings instead provide it public?
> >
> >
> >
> > regarding the log you provided: Guess it looks good under the hood.
> >
> > As written above, when the offering is not showing for a account it 
> > was
> in
> > my case normaly that the account had no acccess rights for the offering.
> >
> >
> >
> > Am Fr., 8. Okt. 2021 um 10:13 Uhr schrieb < <mailto:
> > cristian.c@istream.today> cristian.c@istream.today>:
> >
> >
> >
> > > Hi,
> >
> > >
> >
> > >     Right now I have added a second Physical network for Guest 
> > > traffic
> >
> > > with tag "DefaultB" and added "DefaultA" to the one which was 
> > > already
> >
> > > present, I have created new 2 network offering, one for each tag.
> >
> > > When I try to create a new Guest network in 4.15.1, I see the 
> > > offering
> >
> > > for tag Default A but not for B when I select the second physical
> >
> > > network, nothing visible, I deleted the network, offering, created
> > again, same thing.
> >
> > >
> >
> > > "Found physical network id=203 based on requested tags DefaultB
> >
> > > 2021-10-08 08:12:32,178 DEBUG [c.c.a.ApiServlet]
> >
> > > (qtp182531396-17:ctx-ecf8c295 ctx-1af2acec) (logid:5a80a500) 
> > > ===END===
> >
> > > 86.125.230.37 -- GET
> >
> > >
> >
> zoneid=c3b5e5fa-c3e8-49f0-8094-573456a45c00&state=Enabled&tags=DefaultB&guestiptype=Shared&command=listNetworkOfferings&response=json"
> >
> > >
> >
> > > I'm doing something wrong?
> >
> > >
> >
> > >
> >
> > > Regards,
> >
> > > Cristian
> >
> > >
> >
> > > -----Original Message-----
> >
> > > From:  <mailto:vas...@gmx.de> vas...@gmx.de < 
> > > <mailto:vas...@gmx.de>
> > vas...@gmx.de>
> >
> > > Sent: Thursday, October 7, 2021 6:37 PM
> >
> > > To:  <mailto:users@cloudstack.apache.org> 
> > > users@cloudstack.apache.org
> >
> > > Subject: Re: Multiple Network labels - custom
> >
> > >
> >
> > > it should work , as i am am using this for providing some "special"
> >
> > > networks myself in my environment.
> >
> > >
> >
> > > maybe for a better understanding you can take a look at the 
> > > following
> >
> > >  <
> https://www.shapeblue.com/understanding-cloudstacks-physical-networkin
> >
> > https://www.shapeblue.com/understanding-cloudstacks-physical-network
> > in
> >
> > > g-architecture/ and there the section "advanced network traffic".
> >
> > > there you'll find a diagramm of a scenario, where they provide an 
> > > mpls
> >
> > > network for guest traffic.
> >
> > >
> >
> > > what i had done to achieve this is (it works but i don't know if 
> > > this
> >
> > > is all best practice):
> >
> > >
> >
> > > WARNING: When introducing another physical network for e.g guest
> >
> > > traffic, the "default" network offerings won't work anymore. CS 
> > > has no
> >
> > > default-allocation to an specified network - At least this is my
> > experience.
> >
> > > You will need to implement tags and create "custome" default 
> > > network
> >
> > > offerings for further usage!
> >
> > >
> >
> > > - create a new physical network in the zone
> >
> > > - add traffic type "guest"
> >
> > > - set the networklabel for matching purpose with the nics on the 
> > > host
> >
> > > - define tags for ALL physical networks (at least i needed to. if 
> > > i am
> >
> > > correct if you start tagging, you will have to implement it for 
> > > all
> >
> > > physical networks)
> >
> > > - create 2 network offerings each using one of the tags of the
> >
> > > physical networks - traffic type guest
> >
> > >
> >
> > > Then you can create networks, using the new network offerings, 
> > > which
> >
> > > will use the "tagged" physical network --> use the the matching 
> > > nics
> >
> > > on your hosts
> >
> > >
> >
> > >
> >
> > > Am Do., 7. Okt. 2021 um 16:38 Uhr schrieb Cristian Ciobanu
> >
> > > < <mailto:cristian.c@istream.today> cristian.c@istream.today>:
> >
> > >
> >
> > > > Hi,
> >
> > > >
> >
> > > >    In a much simpler way.
> >
> > > >
> >
> > > >    I have 2 networks, 1 shared and 1 isolated, the problem i 
> > > > have
> >
> > > > here, both are using the same guest traffic label, because of 
> > > > this,
> >
> > > > I'm not able to use these on different labels/nics, both are 
> > > > using
> >
> > > > the same traffic type. Even if I add an additional physical 
> > > > network
> >
> > > > i will have only one type of guest traffic...
> >
> > > >
> >
> > > >    I would like to specify a custom traffic type ( guest x) and 
> > > > use
> >
> > > > for specific network, shared or isolated.
> >
> > > >
> >
> > > >   I'm not sure if I can replicate this by using tags, will this work?
> >
> > > >
> >
> > > >
> >
> > > > Regards
> >
> > > > Cristian
> >
> > > >
> >
> > > > On Thu, Oct 7, 2021, 15:22  <mailto:vas...@gmx.de> vas...@gmx.de 
> > > > <
> > <mailto:vas...@gmx.de> vas...@gmx.de> wrote:
> >
> > > >
> >
> > > >> just my thoughts.
> >
> > > >>
> >
> > > >> if i am understanding your intention correctly, you want to use 
> > > >> a
> >
> > > >> dedicated physical network on the hosts  for "customized" guest
> >
> > > >> traffic, correct?
> >
> > > >>
> >
> > > >> You will need to add a "new" physical network to the zone with 
> > > >> the
> >
> > > >> networklabel, assaign the traffic type "guest" and start to use
> >
> > > >> tags for the physical networks.
> >
> > > >> Afterwards you would need to implement a dedicated network 
> > > >> service
> >
> > > >> offering for this network - by using a tag to associate the 
> > > >> network
> >
> > > >> offering to the physical network.
> >
> > > >>
> >
> > > >> Your idea would currently not work cause the "physical network" 
> > > >> in
> >
> > > >> a zone is a 1:1 representation of the physical network on the hosts.
> >
> > > >> afterwards you have some like  a 1:m (one CS physical network -
> >
> > > >> many various traffic types possible) but not n:1 (many physical
> > networks :
> >
> > > >> one traffic type - even "worse" you would have different "flavours"
> >
> > > >> of one traffic type).
> >
> > > >>
> >
> > > >> Maybe another way to display the relation (physical Network on 
> > > >> host
> >
> > > >> - phyical network in a zone - traffic type):
> >
> > > >> Currently used in CS:  1 - 1 - m
> >
> > > >>
> >
> > > >> Not supported in in CS: 1 - n - m
> >
> > > >>
> >
> > > >> what i understand you are looking for: 2 - 1 - 1 (while the 
> > > >> traffic
> >
> > > >> type guest would be segmentet into "default" and "custome")
> >
> > > >>
> >
> > > >> Hope that someone can imagine what i mean :-D
> >
> > > >>
> >
> > > >>
> >
> > > >>
> >
> > > >>
> >
> > > >> Am Do., 7. Okt. 2021 um 08:37 Uhr schrieb < <mailto:
> > cristian.c@istream.today> cristian.c@istream.today>:
> >
> > > >>
> >
> > > >> > Hello,
> >
> > > >> >
> >
> > > >> >
> >
> > > >> >
> >
> > > >> >     Is there a way to use multiple network labels for the 
> > > >> > same
> >
> > > >> > network type?
> >
> > > >> > for example; I have Guest traffic with network label 
> > > >> > "vSwitch1,
> >
> > > >> > but I
> >
> > > >> also
> >
> > > >> > want to have a vSwitch0 or anything else.  If this is not
> >
> > > >> > possible, is there a way to create custom networks traffic 
> > > >> > types
> >
> > > >> > using the same type of network offering but create under a
> > different network.
> >
> > > >> >
> >
> > > >> > label?
> >
> > > >> >
> >
> > > >> >
> >
> > > >> >
> >
> > > >> >    I want to have 2 traffic types for Guest, (Guest And
> >
> > > >> > GuestCustom)  using the same network offering but create the
> >
> > > >> > under the different network
> >
> > > >> label.
> >
> > > >> > The idea is to have the possibility to create/duplicate same 
> > > >> > type
> >
> > > >> > of traffic but deploy under different network label (vSwitchX).
> >
> > > >> >
> >
> > > >> >
> >
> > > >> >
> >
> > > >> >
> >
> > > >> >
> >
> > > >> >
> >
> > > >> >
> >
> > > >> > Regards,
> >
> > > >> >
> >
> > > >> > Cristian
> >
> > > >> >
> >
> > > >> >
> >
> > > >>
> >
> > > >
> >
> > >
> >
> > >
> >
> >
>

Reply via email to