Bug 2014630
| Summary: | Image provisioning fails with file name too long | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Crystal Chun <cchun> | |
| Component: | Bare Metal Hardware Provisioning | Assignee: | Dmitry Tantsur <dtantsur> | |
| Bare Metal Hardware Provisioning sub component: | ironic | QA Contact: | Lubov <lshilin> | |
| Status: | CLOSED CURRENTRELEASE | Docs Contact: | ||
| Severity: | urgent | |||
| Priority: | high | CC: | rbartal, rpittau, thnguyen | |
| Version: | 4.8 | Keywords: | OtherQA, Triaged | |
| Target Milestone: | --- | |||
| Target Release: | 4.10.0 | |||
| Hardware: | x86_64 | |||
| OS: | Mac OS | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | No Doc Update | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2017412 2018490 (view as bug list) | Environment: | ||
| Last Closed: | 2021-11-01 19:59:16 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2017412, 2018490 | |||
The issue is in this line: https://opendev.org/openstack/ironic/src/commit/34bd42676889a549fccec6645025b63c2016f740/ironic/drivers/modules/image_cache.py#L164. For reasons that nobody remembers any more, we're using a part of the URL to generate a temporary file name. since the AI 4.10 is not ready yet, it's impossible to verify the fix yet. Closing as OtherQA to let the fix to enter 4.8 and 4.9 |
Description of problem: Version-Release number of selected component (if applicable): OCP 4.8.10 ACM 2.4.0-DOWNSTREAM-2021-10-12-16-02-23 How reproducible: Uncertain Steps to Reproduce: 1. Create infra env using static IP 2. Add host manually from UI 3. See bare metal host created in backend has provisioning error status due to image provisioning failed Actual results: Received the following provisioning error Status: Error Count: 1 Error Message: Image provisioning failed: Failed to deploy: Deploy step {'step': 'deploy', 'priority': 100, 'argsinfo': None, 'interface': 'deploy'}, error: Could not link image https://assisted-image-service-ocm.apps.slot-00.dev09.red-chesterfield.com/images/215d3efd-7c28-4829-970e-ca79da5327b5?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbmZyYV9lbnZfaWQiOiIyMTVkM2VmZC03YzI4LTQ4MjktOTcwZS1jYTc5ZGE1MzI3YjUifQ.VwMVGY04wD8xM53nsOUy5q_JDUdjSoXR1i7dqnvUOqpRBu5ddSxPepTUfnAxTr9JqEqT9wKnnm9k35vvHdCgyg&arch=x86_64&type=minimal-iso&version=4.9 from /shared/tftpboot/abfb2300-4813-521b-a92c-0df277a74bd0.converted to /shared/html/c4d43edf-712d-4cca-adeb-709d41f559b3/boot_iso, error: [Errno 36] File name too long: '/shared/tftpboot/tmpyzuebwhe/215d3efd-7c28-4829-970e-ca79da5327b5?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbmZyYV9lbnZfaWQiOiIyMTVkM2VmZC03YzI4LTQ4MjktOTcwZS1jYTc5ZGE1MzI3YjUifQ.VwMVGY04wD8xM53nsOUy5q_JDUdjSoXR1i7dqnvUOqpRBu5ddSxPepTUfnAxTr9JqEqT9wKnnm9k35vvHdCgyg&arch=x86_64&type=minimal-iso&version=4.9.part'. Error Type: provisioning error Expected results: There's no error deploying Additional info: