-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timed Out waiting for nipyapi _schedule_controller_state to complete #371
Comments
Hmm, there's a known variation when upgrading > NiFi 1.2.0, but I'm not aware of one for 1.11 to 1.16. It calls nipyapi.nifi.ControllerServicesApi().get_controller_service(id) and checks if component.state is 'ENABLED'. |
@Chaffelson Can u help me out? U mean to do something like this?:
|
I would call the schedule_controller operation, and then run a loop fetching the component and printing it every second, specifically looking at the component.state. Or you could modify NiPy here to log the controller state during the wait loop to see what it is getting back. |
@Chaffelson if u look at my code posted i already have while loop. If that's not what u wrote. Can u help me out to add additional code to my posted code the way u mentioned? Would appreciate. |
I just updated NIFI from version 1.11.4 to 1.16.3. I got one issue. Once my nifi's registry flow is taken and shown on workspace and when it comes to start installation of componenets i got error on that line below. Note that all is working on older nifi version. What might be the issue?
self.__nipyapi.canvas.schedule_controller(i, False)
Error:
Code:
The text was updated successfully, but these errors were encountered: