CreateVirtualMachinesUsingCustomImageOrSpecializedVHD.java示例程序捕获VM并返回captureImageUri。但是当我尝试使用withStoredLinuxImage配置vm时,我遇到了这个错误。
我没有名为stg24846de441dab的存储帐户,所以不确定这是否是暂时的?但似乎在犯错误。
[pool-1-thread-1] INFO com.microsoft.aad.adal4j.AuthenticationAuthority - [Correlation ID:dc701c7a-04af-475b-87bb-774e81ec9be9]实例发现成功 线程" main"中的例外情况com.microsoft.azure.CloudException:异步操作因配置状态失败:失败:无法解析存储帐户' stg24846de441dab'。请确保它是通过存储资源提供程序在与计算资源相同的位置创建的。 在com.microsoft.azure.PollingState.throwCloudExceptionIfInFailedState(PollingState.java:507) 在com.microsoft.azure.AzureClient $ 5.call(AzureClient.java:203) 在com.microsoft.azure.AzureClient $ 5.call(AzureClient.java:200) at rx.internal.operators.OnSubscribeMap $ MapSubscriber.onNext(OnSubscribeMap.java:69) at rx.internal.operators.OperatorMerge $ MergeSubscriber.emitScalar(OperatorMerge.java:511) at rx.internal.operators.OperatorMerge $ MergeSubscriber.tryEmit(OperatorMerge.java:466) at rx.internal.operators.OperatorMerge $ MergeSubscriber.onNext(OperatorMerge.java:244) at rx.internal.operators.OperatorMerge $ MergeSubscriber.onNext(OperatorMerge.java:148) at rx.internal.operators.OnSubscribeMap $ MapSubscriber.onNext(OnSubscribeMap.java:77) at rx.internal.operators.OperatorMerge $ MergeSubscriber.emitScalar(OperatorMerge.java:511) at rx.internal.operators.OperatorMerge $ MergeSubscriber.tryEmit(OperatorMerge.java:466) at rx.internal.operators.OperatorMerge $ MergeSubscriber.onNext(OperatorMerge.java:244) at rx.internal.operators.OperatorMerge $ MergeSubscriber.onNext(OperatorMerge.java:148) at rx.internal.operators.OnSubscribeMap $ MapSubscriber.onNext(OnSubscribeMap.java:77) at retrofit2.adapter.rxjava.RxJavaCallAdapterFactory $ RequestArbiter.request(RxJavaCallAdapterFactory.java:173) 在rx.Subscriber.setProducer(Subscriber.java:211) at rx.internal.operators.OnSubscribeMap $ MapSubscriber.setProducer(OnSubscribeMap.java:102) at retrofit2.adapter.rxjava.RxJavaCallAdapterFactory $ CallOnSubscribe.call(RxJavaCallAdapterFactory.java:152) at retrofit2.adapter.rxjava.RxJavaCallAdapterFactory $ CallOnSubscribe.call(RxJavaCallAdapterFactory.java:138) at rx.Observable.unsafeSubscribe(Observable.java:10142) 在rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48) 在rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) 在rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.Observable.unsafeSubscribe(Observable.java:10142) 在rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48) 在rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) 在rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.Observable.unsafeSubscribe(Observable.java:10142) 在rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48) 在rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33) at rx.Observable.unsafeSubscribe(Observable.java:10142) 在rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48) 在rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) 在rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.Observable.unsafeSubscribe(Observable.java:10142) 在rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:81) 在rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:27) at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:39) at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:27) at rx.Observable.unsafeSubscribe(Observable.java:10142) at rx.internal.util.ScalarSynchronousObservable $ 3.call(ScalarSynchronousObservable.java:235) at rx.internal.util.ScalarSynchronousObservable $ 3.call(ScalarSynchronousObservable.java:228) at rx.Observable.unsafeSubscribe(Observable.java:10142) at rx.internal.operators.OnSubscribeRedo $ 2.call(OnSubscribeRedo.java:273) 在rx.internal.schedulers.TrampolineScheduler $ InnerCurrentThreadScheduler.enqueue(TrampolineScheduler.java:73) at rx.internal.schedulers.TrampolineScheduler $ InnerCurrentThreadScheduler.schedule(TrampolineScheduler.java:52) at rx.internal.operators.OnSubscribeRedo $ 5.request(OnSubscribeRedo.java:361) 在rx.Subscriber.setProducer(Subscriber.java:211) 在rx.internal.operators.OnSubscribeRedo.call(OnSubscribeRedo.java:353) at rx.internal.operators.OnSubscribeRedo.call(OnSubscribeRedo.java:47) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) 在rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.Observable.unsafeSubscribe(Observable.java:10142) at rx.internal.operators.OperatorMerge $ MergeSubscriber.onNext(OperatorMerge.java:248) at rx.internal.operators.OperatorMerge $ MergeSubscriber.onNext(OperatorMerge.java:148) at rx.internal.operators.OnSubscribeMap $ MapSubscriber.onNext(OnSubscribeMap.java:77) at rx.internal.producers.SingleProducer.request(SingleProducer.java:65) 在rx.Subscriber.setProducer(Subscriber.java:211) at rx.internal.operators.OnSubscribeMap $ MapSubscriber.setProducer(OnSubscribeMap.java:102) at rx.internal.operators.SingleLiftObservableOperator $ WrapSubscriberIntoSingle.onSuccess(SingleLiftObservableOperator.java:76) at rx.internal.operators.OnSubscribeSingle $ 1.onCompleted(OnSubscribeSingle.java:55) at rx.internal.operators.OnSubscribeMap $ MapSubscriber.onCompleted(OnSubscribeMap.java:97) at retrofit2.adapter.rxjava.RxJavaCallAdapterFactory $ RequestArbiter.request(RxJavaCallAdapterFactory.java:184) 在rx.Subscriber.setProducer(Subscriber.java:211) at rx.internal.operators.OnSubscribeMap $ MapSubscriber.setProducer(OnSubscribeMap.java:102) at retrofit2.adapter.rxjava.RxJavaCallAdapterFactory $ CallOnSubscribe.call(RxJavaCallAdapterFactory.java:152) at retrofit2.adapter.rxjava.RxJavaCallAdapterFactory $ CallOnSubscribe.call(RxJavaCallAdapterFactory.java:138) at rx.Observable.unsafeSubscribe(Observable.java:10142) 在rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48) 在rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33) at rx.Observable.unsafeSubscribe(Observable.java:10142) 在rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:81) 在rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:27) at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:39) at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:27) at rx.Observable.unsafeSubscribe(Observable.java:10142) 在rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48) 在rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) 在rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.Observable.unsafeSubscribe(Observable.java:10142) at rx.internal.operators.DeferredScalarSubscriber.subscribeTo(DeferredScalarSubscriber.java:153) at rx.internal.operators.OnSubscribeTakeLastOne.call(OnSubscribeTakeLastOne.java:32) at rx.internal.operators.OnSubscribeTakeLastOne.call(OnSubscribeTakeLastOne.java:22) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) 在rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.Observable.unsafeSubscribe(Observable.java:10142) 在rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48) 在rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33) at rx.Observable.unsafeSubscribe(Observable.java:10142) 在rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48) 在rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33) at rx.Observable.unsafeSubscribe(Observable.java:10142) 在rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48) 在rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33) at rx.Observable.unsafeSubscribe(Observable.java:10142) at rx.internal.operators.OperatorSubscribeOn $ 1.call(OperatorSubscribeOn.java:94) at rx.internal.schedulers.CachedThreadScheduler $ EventLoopWorker $ 1.call(CachedThreadScheduler.java:230) at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55) at java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.access $ 201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) 在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:624) 在java.lang.Thread.run(Thread.java:748) 引起:rx.exceptions.OnErrorThrowable $ OnNextValue:发出onNext值时出现OnError:com.microsoft.azure.PollingState.class at rx.exceptions.OnErrorThrowable.addValueAsLastCause(OnErrorThrowable.java:118) at rx.internal.operators.OnSubscribeMap $ MapSubscriber.onNext(OnSubscribeMap.java:73) ......还有105个