On 7/15/21 2:54 AM, Slavka Peleva wrote: > Hi Joshua, > > Can you check if the `VirtualRouter` provider is disabled and try to enable > it? Probably you're getting this error because it's disabled. You can check > the state with cloudmonkey/cmk ("list virtualrouterelements") or through DB > ("SELECT * FROM cloud.virtual_router_providers where type="VirtualRouter";") Slavka, thanks for your reply. Yes the "VirtualRouter" is disabled as I mentioned in my original post, however when I try to enable it I get the error message I provided as well:
Enable provider (VirtualRouter) Provider is not ready, cannot Enable the provider, pleaseconfigure the provider first How do I actually configure the provider? I wasn't able to find any information on this, but could be missing something in the docs. For more details see my original email or if you need additional information let me know, happy to provide. > > Best regards, > Slavka > > On Wed, Jul 14, 2021 at 7:41 PM Joshua Schaeffer <jschaef...@harmonywave.com> > wrote: > >> ACS: 4.15.0.0 >> Hypervisor: KVM >> OS: Ubuntu 20.04 >> >> In creating a shared network I'm only given one network offering option >> and trying to figure out how to make the other offerings that are included >> with the base install available. I'm creating the shared network in the UI >> and the only network offering I can choose from is "QuickCloudNoServices". >> I can see in the list of network offerings that there are others defined >> and they are just the defaults included with the base install. Below are >> some screenshots of what I'm seeing: >> >> >> https://drive.google.com/file/d/1Y5G8J2-mfj68K0MoLIROHVfuziZIqq_m/view?usp=sharing >> >> https://drive.google.com/file/d/1Fz2NRM3ZssN3IGQ_Ju1FJJtGyM-Q1hSb/view?usp=sharing >> >> I think this is because the "VirtualRouter" network service provided for >> my guest network is disabled, but I get an error when I try to enable it. >> Under the physical network I click on the network, go to the "Network >> Service Providers' tab, select the "VirtualRouter" provider, and click >> "Enable provider". Afterwards I get the following message in the UI: >> >> Enable provider >> (VirtualRouter) Provider is not ready, cannot Enable the provider, please >> configure the provider first >> >> And I see the following in the management-server logs (I don't see >> anything relevant from the compute logs): >> >> 2021-07-14 16:08:54,090 DEBUG [c.c.a.ApiServlet] >> (qtp1644231115-6023:ctx-b12d46cd) (logid:4beba9f7) ===START=== >> 172.16.44.18 -- GET >> id=a6bca386-7a6a-410b-aaa2-fe15c8f422d4&state=Enabled&command=updateNetworkServiceProvider&response=json >> 2021-07-14 16:08:54,134 DEBUG [c.c.a.ApiServer] >> (qtp1644231115-6023:ctx-b12d46cd ctx-23ad5938) (logid:4beba9f7) CIDRs from >> which account 'Acct[f8d6949d-cd74-11eb-b1da-5254008f72d5-admin]' is allowed >> to perform API calls: 0.0.0.0/0,::/0 >> 2021-07-14 <http://0.0.0.0/0,::/02021-07-14> 16:08:54,372 INFO >> [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-4:ctx-975d9732 job-324) >> (logid:b295210b) Add job-324 into job monitoring >> 2021-07-14 16:08:54,389 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] >> (qtp1644231115-6023:ctx-b12d46cd ctx-23ad5938) (logid:4beba9f7) submit >> async job-324, details: AsyncJobVO {id:324, userId: 2, accountId: 2, >> instanceType: PhysicalNetworkServiceProvider, instanceId: null, cmd: >> org.apache.cloudstack.api.command.admin.network.UpdateNetworkServiceProviderCmd, >> cmdInfo: >> {"response":"json","ctxUserId":"2","httpmethod":"GET","ctxStartEventId":"812","id":"a6bca386-7a6a-410b-aaa2-fe15c8f422d4","state":"Enabled","ctxDetails":"{\"interface >> com.cloud.network.PhysicalNetworkServiceProvider\":\"a6bca386-7a6a-410b-aaa2-fe15c8f422d4\"}","ctxAccountId":"2","uuid":"a6bca386-7a6a-410b-aaa2-fe15c8f422d4","cmdEventType":"SERVICE.PROVIDER.UPDATE"}, >> cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, >> result: null, initMsid: 90520733511963, completeMsid: null, lastUpdated: >> null, lastPolled: null, created: null, removed: null} >> 2021-07-14 16:08:54,393 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] >> (API-Job-Executor-4:ctx-975d9732 job-324) (logid:321ad13e) Executing >> AsyncJobVO {id:324, userId: 2, accountId: 2, instanceType: >> PhysicalNetworkServiceProvider, instanceId: null, cmd: >> org.apache.cloudstack.api.command.admin.network.UpdateNetworkServiceProviderCmd, >> cmdInfo: >> {"response":"json","ctxUserId":"2","httpmethod":"GET","ctxStartEventId":"812","id":"a6bca386-7a6a-410b-aaa2-fe15c8f422d4","state":"Enabled","ctxDetails":"{\"interface >> com.cloud.network.PhysicalNetworkServiceProvider\":\"a6bca386-7a6a-410b-aaa2-fe15c8f422d4\"}","ctxAccountId":"2","uuid":"a6bca386-7a6a-410b-aaa2-fe15c8f422d4","cmdEventType":"SERVICE.PROVIDER.UPDATE"}, >> cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, >> result: null, initMsid: 90520733511963, completeMsid: null, lastUpdated: >> null, lastPolled: null, created: null, removed: null} >> 2021-07-14 16:08:54,394 DEBUG [c.c.a.ApiServlet] >> (qtp1644231115-6023:ctx-b12d46cd ctx-23ad5938) (logid:4beba9f7) ===END=== >> 172.16.44.18 -- GET >> id=a6bca386-7a6a-410b-aaa2-fe15c8f422d4&state=Enabled&command=updateNetworkServiceProvider&response=json >> 2021-07-14 16:08:54,473 DEBUG [c.c.a.ApiServlet] >> (qtp1644231115-6056:ctx-331a4fdf) (logid:c108be52) ===START=== >> 172.16.44.18 -- GET >> jobId=321ad13e-d97b-46e8-9e04-25100f52e2b0&command=queryAsyncJobResult&response=json >> 2021-07-14 16:08:54,483 DEBUG [c.c.n.NetworkServiceImpl] >> (API-Job-Executor-4:ctx-975d9732 job-324 ctx-831a584b) (logid:321ad13e) >> trying to update the state of the service provider id=37 on physical >> network: 206 to state: Enabled >> 2021-07-14 16:08:54,512 DEBUG [c.c.a.ApiServer] >> (qtp1644231115-6056:ctx-331a4fdf ctx-61090299) (logid:c108be52) CIDRs from >> which account 'Acct[f8d6949d-cd74-11eb-b1da-5254008f72d5-admin]' is allowed >> to perform API calls: 0.0.0.0/0,::/0 >> 2021-07-14 <http://0.0.0.0/0,::/02021-07-14> 16:08:54,556 ERROR >> [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-4:ctx-975d9732 job-324) >> (logid:321ad13e) Unexpected exception while executing >> org.apache.cloudstack.api.command.admin.network.UpdateNetworkServiceProviderCmd >> com.cloud.utils.exception.CloudRuntimeException: Provider is not ready, >> cannot Enable the provider, please configure the provider first >> at >> com.cloud.network.NetworkServiceImpl.updateNetworkServiceProvider(NetworkServiceImpl.java:3919) >> 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 >> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) >> at >> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) >> at >> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) >> at >> org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107) >> at >> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) >> at >> com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51) >> at >> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) >> at >> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95) >> at >> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) >> at >> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) >> at com.sun.proxy.$Proxy256.updateNetworkServiceProvider(Unknown Source) >> at >> org.apache.cloudstack.api.command.admin.network.UpdateNetworkServiceProviderCmd.execute(UpdateNetworkServiceProviderCmd.java:94) >> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:156) >> at >> com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108) >> 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) >> 2021-07-14 16:08:54,565 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] >> (API-Job-Executor-4:ctx-975d9732 job-324) (logid:321ad13e) Complete async >> job-324, jobStatus: FAILED, resultCode: 530, result: >> org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Provider >> is not ready, cannot Enable the provider, please configure the provider >> first"} >> 2021-07-14 16:08:54,572 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] >> (API-Job-Executor-4:ctx-975d9732 job-324) (logid:321ad13e) Publish async >> job-324 complete on message bus >> 2021-07-14 16:08:54,573 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] >> (API-Job-Executor-4:ctx-975d9732 job-324) (logid:321ad13e) Wake up jobs >> related to job-324 >> 2021-07-14 16:08:54,573 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] >> (API-Job-Executor-4:ctx-975d9732 job-324) (logid:321ad13e) Update db status >> for job-324 >> 2021-07-14 16:08:54,623 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] >> (API-Job-Executor-4:ctx-975d9732 job-324) (logid:321ad13e) Wake up jobs >> joined with job-324 and disjoin all subjobs created from job- 324 >> 2021-07-14 16:08:54,639 DEBUG [c.c.a.ApiServlet] >> (qtp1644231115-6056:ctx-331a4fdf ctx-61090299) (logid:c108be52) ===END=== >> 172.16.44.18 -- GET >> jobId=321ad13e-d97b-46e8-9e04-25100f52e2b0&command=queryAsyncJobResult&response=json >> 2021-07-14 16:08:54,667 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] >> (API-Job-Executor-4:ctx-975d9732 job-324) (logid:321ad13e) Done executing >> org.apache.cloudstack.api.command.admin.network.UpdateNetworkServiceProviderCmd >> for job-324 >> 2021-07-14 16:08:54,667 INFO [o.a.c.f.j.i.AsyncJobMonitor] >> (API-Job-Executor-4:ctx-975d9732 job-324) (logid:321ad13e) Remove job-324 >> from job monitoring >> 2021-07-14 16:08:55,067 DEBUG [c.c.s.StatsCollector] >> (StatsCollector-2:ctx-f76b903e) (logid:388c507b) HostStatsCollector is >> running... >> 2021-07-14 16:08:55,121 DEBUG [c.c.a.t.Request] >> (StatsCollector-2:ctx-f76b903e) (logid:388c507b) Seq >> 13-6594958704330675244: Received: { Ans: , MgmtId: 90520733511963, via: >> 13(bllcloudcmp02), Ver: v1, Flags: 10, { GetHostStatsAnswer } } >> 2021-07-14 16:08:55,605 DEBUG [c.c.a.m.AgentManagerImpl] >> (AgentManager-Handler-10:null) (logid:) SeqA 15-5989: Processing Seq >> 15-5989: { Cmd , MgmtId: -1, via: 15, Ver: v1, Flags: 11, >> [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":"40","_loadInfo":"{ >> "connections": [] >> }","wait":"0"}}] } >> 2021-07-14 16:08:55,647 DEBUG [c.c.a.m.AgentManagerImpl] >> (AgentManager-Handler-10:null) (logid:) SeqA 15-5989: Sending Seq 15-5989: >> { Ans: , MgmtId: 90520733511963, via: 15, Ver: v1, Flags: 100010, >> [{"com.cloud.agent.api.AgentControlAnswer":{"result":"true","wait":"0"}}] } >> 2021-07-14 16:08:55,955 DEBUG [c.c.a.ApiServlet] >> (qtp1644231115-6023:ctx-5b100740) (logid:8d07d1ea) ===START=== >> 172.16.44.18 -- GET >> jobid=321ad13e-d97b-46e8-9e04-25100f52e2b0&command=queryAsyncJobResult&response=json >> 2021-07-14 16:08:55,997 DEBUG [c.c.a.ApiServer] >> (qtp1644231115-6023:ctx-5b100740 ctx-ba1315c3) (logid:8d07d1ea) CIDRs from >> which account 'Acct[f8d6949d-cd74-11eb-b1da-5254008f72d5-admin]' is allowed >> to perform API calls: 0.0.0.0/0,::/0 >> 2021-07-14 <http://0.0.0.0/0,::/02021-07-14> 16:08:56,104 DEBUG >> [c.c.a.ApiServlet] (qtp1644231115-6023:ctx-5b100740 ctx-ba1315c3) >> (logid:8d07d1ea) ===END=== 172.16.44.18 -- GET >> jobid=321ad13e-d97b-46e8-9e04-25100f52e2b0&command=queryAsyncJobResult&response=json >> 2021-07-14 16:08:57,702 DEBUG [c.c.a.ApiServlet] >> (qtp1644231115-6056:ctx-7d27a350) (logid:b3d3a09c) ===START=== >> 172.16.44.18 -- GET >> jobId=321ad13e-d97b-46e8-9e04-25100f52e2b0&command=queryAsyncJobResult&response=json >> 2021-07-14 16:08:57,740 DEBUG [c.c.a.ApiServer] >> (qtp1644231115-6056:ctx-7d27a350 ctx-7542dc18) (logid:b3d3a09c) CIDRs from >> which account 'Acct[f8d6949d-cd74-11eb-b1da-5254008f72d5-admin]' is allowed >> to perform API calls: 0.0.0.0/0,::/0 >> 2021-07-14 <http://0.0.0.0/0,::/02021-07-14> 16:08:57,855 DEBUG >> [c.c.a.ApiServlet] (qtp1644231115-6056:ctx-7d27a350 ctx-7542dc18) >> (logid:b3d3a09c) ===END=== 172.16.44.18 -- GET >> jobId=321ad13e-d97b-46e8-9e04-25100f52e2b0&command=queryAsyncJobResult&response=json >> >> How do I actually configure the provider? I didn't see any docs on this >> but definitely could have missed it. Let me know if any additional >> information is needed. >> >> -- >> Thanks, >> Joshua Schaeffer >> >> -- Thanks, Joshua Schaeffer