Skip to content
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

Importing cluster immediately after installation fails #353

Open
dahorak opened this issue Feb 13, 2018 · 2 comments
Open

Importing cluster immediately after installation fails #353

dahorak opened this issue Feb 13, 2018 · 2 comments
Assignees

Comments

@dahorak
Copy link
Contributor

dahorak commented Feb 13, 2018

Cluster import performed via API by our test in CentOS CI is failing with following error:
Failure in Job 3e68fb46-97a0-4f36-8269-e2ad9a0f75b8 Flow tendrl.flows.ImportCluster with error: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/tendrl/commons/jobs/__init__.py", line 218, in process_job the_flow.run() File "/usr/lib/python2.7/site-packages/tendrl/commons/flows/import_cluster/__init__.py", line 56, in run "import" % integration_id) FlowExecutionFailedError: Cluster with integration_id (87e31009-40ee-4678-9733-07970cfc4672) not found, cannot import

Which is quite strange error, because cluster with id 87e31009-40ee-4678-9733-07970cfc4672 exists and is visible on the Clusters page.

tendrl-clusters-page

tendrl-task-page-importcluster-error

There seems to be some problem with timing, because in this case, the import cluster test was launched immediately after the installation finish. If I'll put sleep 30 between the installation and test job, it works correctly.

It seems to me like low priority issue, because it is not likely visible on real world scenario - user interaction will be probably slower than our automation.


Version of tendrl packages:

tendrl-ansible-1.5.4-1.el7.centos.noarch
tendrl-api-1.5.5-1.el7.centos.noarch
tendrl-api-httpd-1.5.5-1.el7.centos.noarch
tendrl-commons-1.5.5-1.el7.centos.noarch
tendrl-grafana-plugins-1.5.5-1.el7.centos.noarch
tendrl-grafana-selinux-1.5.4-2.el7.centos.noarch
tendrl-monitoring-integration-1.5.5-1.el7.centos.noarch
tendrl-node-agent-1.5.5-1.el7.centos.noarch
tendrl-notifier-1.5.5-1.el7.centos.noarch
tendrl-selinux-1.5.4-2.el7.centos.noarch
tendrl-ui-1.5.5-1.el7.centos.noarch
@dahorak
Copy link
Contributor Author

dahorak commented Feb 13, 2018

I was able to reproduce it on my VMs, simply I have to wait until the cluster appear in the Tendrl web UI and once it is there, immediately try to import it.

@GowthamShanmugam
Copy link
Contributor

is this issue is still valid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants