ISISComputingGroup / ISISComputingGroup/isis-aa-config

Investigate problem regarding creating PV Aliases

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

After choosing to archive a PV: `TE:NDW2452:MOT:MTR0101` the following error occurs. It seems to have no effect on the functionality of the AA. It began appearing after changes were made to the `policies.py`. Looks to be trying to create an alias for this PV, then finds out the alias already has a PVTypeInfo.

`2024-10-23 08:56:16,397 ERROR [http-nio-17665-exec-2] bpl.AddAliasAction (AddAliasAction.java:59) - We seem to have a PVTypeInfo for alias TE:NDW2452:MOT:MTR0101. We do not support adding aliases that have typeinfo's associated with them.
2024-10-23 08:56:16,398 ERROR [MgmtArchivePVWorkflow1] ui.GetUrlContent (GetUrlContent.java:105) - Exception getting contents of internal URL http://localhost:17665/mgmt/bpl/addAlias?pv=TE%3ANDW2452%3AMOT%3AMTR0101.DCOF&aliasname=TE%3ANDW2452%3AMOT%3AMTR0101
java.io.IOException: Invalid status calling http://localhost:17665/mgmt/bpl/addAlias?pv=TE%3ANDW2452%3AMOT%3AMTR0101.DCOF&aliasname=TE%3ANDW2452%3AMOT%3AMTR0101. Got 500 org.apache.http.conn.EofSensorInputStream@78f959c8
at org.epics.archiverappliance.utils.ui.GetUrlContent.getURLContentAsStream(GetUrlContent.java:419) ~[classes/:?]
at org.epics.archiverappliance.utils.ui.GetUrlContent.getURLContentAsStream(GetUrlContent.java:398) ~[classes/:?]
at org.epics.archiverappliance.utils.ui.GetUrlContent.getURLContentAsJSONObject(GetUrlContent.java:101) ~[classes/:?]
at org.epics.archiverappliance.utils.ui.GetUrlContent.getURLContentAsJSONObject(GetUrlContent.java:88) ~[classes/:?]
at org.epics.archiverappliance.mgmt.archivepv.ArchivePVState.registerAliasesIfAny(ArchivePVState.java:388) ~[classes/:?]
at org.epics.archiverappliance.mgmt.archivepv.ArchivePVState.nextStep(ArchivePVState.java:275) ~[classes/:?]
at org.epics.archiverappliance.mgmt.MgmtRuntimeState$3.run(MgmtRuntimeState.java:192) ~[classes/:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
at java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
at java.lang.Thread.run(Unknown Source) [?:?]`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.