Td-agent status issue in juju status

td-agent charm is working fine in backend but in juju status it’s showing as Restarting td-agnet. How to make this active and idle in juju status. Please help me out… Thanks in advance…

Does it still show idle even though the status is Restarting td-agent?

If it does show idle that means that the charm isn’t doing anything, which is good, it probably just got the status stuck on restarting and “forgot” to set it back to active.

If you want to manually update the status and assume that everything is fine you should be able to do:

juju run --unit [unit_name]  'status-set active'

That will set the status of the unit to active manually. The charm will still change the status like normal if anything happens that would cause the charm to update it.

2 Likes

thanks for valuable info…

2 Likes