tampler opened a new issue #5936:
URL: https://github.com/apache/cloudstack/issues/5936
<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and main branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete
the comments.
-->
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Bug Report
##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
API
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on main
branch.
-->
~~~
4.16.1.0-SNAPSHOT
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network,
advanced networking, etc. N/A otherwise
-->
I'm using the latest 4.16 Master and build a simulator image manually
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
Ubuntu 21.10
OpenJDK 11
##### SUMMARY
<!-- Explain the problem/feature briefly -->
```bash
INFO [o.a.c.s.d.p.DefaultHostListener] (ApiServer-10:ctx-d982031c
ctx-6062c5c0) (logid:aac2a26e) Connection established between storage pool
org.apache.cloud
stack.storage.datastore.PrimaryDataStoreImpl@3953e834 and host 1
INFO [o.a.c.s.d.l.SimulatorImageStoreLifeCycleImpl]
(ApiServer-1:ctx-58b428a9 ctx-9c2836b5) (logid:5b4df9e5) Trying to add a new
data store at nfs://10.147.2
8.6:/export/home/sandbox/sstor to data center 1
ERROR [o.a.c.s.i.TemplateServiceImpl] (ApiServer-1:ctx-58b428a9
ctx-9c2836b5) (logid:5b4df9e5) No remote endpoint to send command, check if
host or ssvm is do
wn?
ERROR [c.c.u.SystemVmTemplateRegistration] (ApiServer-1:ctx-58b428a9
ctx-9c2836b5) (logid:5b4df9e5) Failed to register template for hypervisor:
Simulator
java.lang.NullPointerException
at
com.cloud.upgrade.SystemVmTemplateRegistration.registerTemplate(SystemVmTemplateRegistration.java:676)
at
com.cloud.storage.StorageManagerImpl$3.doInTransactionWithoutResult(StorageManagerImpl.java:2834)
at
com.cloud.utils.db.TransactionCallbackNoReturn.doInTransaction(TransactionCallbackNoReturn.java:25)
at
com.cloud.utils.db.Transaction$2.doInTransaction(Transaction.java:50)
at com.cloud.utils.db.Transaction.execute(Transaction.java:40)
at com.cloud.utils.db.Transaction.execute(Transaction.java:47)
at
com.cloud.storage.StorageManagerImpl.registerSystemVmTemplateOnFirstNfsStore(StorageManagerImpl.java:2791)
at
com.cloud.storage.StorageManagerImpl.discoverImageStore(StorageManagerImpl.java:2775)
```
##### STEPS TO REPRODUCE
<!--
For new features, show how the feature would be used.
-->
I'm following the simulator docs
[here](https://docs.cloudstack.apache.org/en/4.16.0.0/developersguide/developer_guide.html?highlight=simulator#using-the-simulator)
<!-- Paste example playbooks or commands between quotes below -->
~~~
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
Simulator starts successfully
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
Simulator fails with NPE on start and ACS won't boot
~~~
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]