09-30-2021 10:07 PM
I am developing l4-l7 device pakcage using aci simulaotr (version 5.1-4c)
when I upload my device pakcage, i got error all the time.
Also, I know that debug.log is created in the device pakcage path (/data/devicescript/MYCOM.TEST.1.0/logs)
However there is only `stdout_stderr.log` in the path
admin@apic1:logs> pwd
/data/devicescript/MYCOM.TEST.1.0/logs
admin@apic1:logs> ls
stdout_stderr.log
~~~ stdout_stderr.log
dir listing of / : . .. logs tmp venv dev lib64 etc lib usr sbin bin pipe install dir listing of /venv/bin : svcPrint.py scriptwrapper.py .. . calling /venv/bin/python2.7 execv failed: 2
scripthandler log like this... (/var/log/dme/log/scripthandler.log)
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1607||option p: /venv/bin/scriptwrapper.py
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1612||option s: /var/run/mgmt/devicescript/MYCOM.TEST.1.0
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1617||option t: /var/run/mgmt/devicescript/MYCOM.TEST.1.0_CONT
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1573||option g: ifc0/servicescripts
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1626||option x: -r MYCOM.TEST.1.0 -m DeviceScript.py -y uni/infra/mDev-MYCOM-TEST-1.0 -l 7 -c 20
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1164||mkdirp: '/var/run/mgmt/devicescript/MYCOM.TEST.1.0/bin'
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1164||mkdirp: '/var/run/mgmt/devicescript/MYCOM.TEST.1.0/sbin'
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1164||mkdirp: '/var/run/mgmt/devicescript/MYCOM.TEST.1.0/usr'
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1164||mkdirp: '/var/run/mgmt/devicescript/MYCOM.TEST.1.0/lib'
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1164||mkdirp: '/var/run/mgmt/devicescript/MYCOM.TEST.1.0/etc'
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1164||mkdirp: '/var/run/mgmt/devicescript/MYCOM.TEST.1.0/lib64'
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1164||mkdirp: '/var/run/mgmt/devicescript/MYCOM.TEST.1.0/dev'
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1164||mkdirp: '/var/run/mgmt/devicescript/MYCOM.TEST.1.0/dev/pts'
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1164||mkdirp: '/var/run/mgmt/devicescript/MYCOM.TEST.1.0/venv'
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1176||checking to setup old_root
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1285||mkdirp: '/var/run/mgmt/devicescript/MYCOM.TEST.1.0/tmp'
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1285||mkdirp: '/var/run/mgmt/devicescript/MYCOM.TEST.1.0/logs'
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1307||done setting up extra dirs
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1219||scandir '/var/run/mgmt/devicescript/MYCOM.TEST.1.0'
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1243||changing ownership of '/var/run/mgmt/devicescript/MYCOM.TEST.1.0/venv'
21-10-01 13:34:28||scriptcontainer||INFO||||../svc/scripthandler/src/container/ScriptContainer.cc||1248||chown /var/run/mgmt/devicescript/MYCOM.TEST.1.0/venv failed - errno: 30(Read-only file system)
I think this log message casing the problem
chown /var/run/mgmt/devicescript/MYCOM.TEST.1.0/venv failed - errno: 30(Read-only file system)
Can anyone please help me to solve this problem?
----
sim version : 5.1-4c (also, 4.2-6o)
I installed aci simulator on vmware workstation 16 Player.
I also get error when I upload another vendor device package (link citrix device package for netscaler)
10-01-2021 12:33 AM
Hi @oyhskw
According to release notes of 5.2, device packages are no longer supported: https://www.cisco.com/c/en/us/td/docs/dcn/aci/apic/5x/release-notes/cisco-apic-release-notes-521.html
End of support for device packages |
Device packages are no longer supported. There is no longer a managed mode for devices; all devices are effectively unmanaged. All device package-related information was removed from the Cisco APIC Layer 4 to Layer 7 Services Deployment Guide, Release 5.2(x). |
I would suggest you not waste time developing devpkg if they will become obsolete in 1 year.
Stay safe,
Sergiu
10-01-2021 01:17 AM - edited 10-01-2021 01:51 AM
@Sergiu.Daniluk Thank you for your response!!
Unfortunately, even if device package is not supported after 5.2, I have to develop devpkg for some reason.
Therefore,
I would like to know the cause of this issue and how to solve it.
Have you ever seen above errors or know of a workaround?
02-01-2024 07:16 AM
All sorted?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide