Comments (9)
I've just reproduced this exact error when using an HTML page instead of a proper image. Maybe your image got corrupted as well? I'll work on better diagnostics.
from ironic-image.
I tried using this(http://cloud-images.ubuntu.com/releases/focal/release/ubuntu-20.04-server-cloudimg-amd64.img) image
I've just managed to successfully provision from this image using pure Ironic (not Metal3).
from ironic-image.
I see in your logs for node-4:
Image streamed onto device /dev/vda in 0.055956125259399414 seconds
0.05 seconds is a suspicious time for the image to be downloaded and written. Could you double-check what http://172.22.0.160/images/UBUNTU_20.04_NODE_IMAGE_K8S_v1.22.0-raw.img
actually is?
P.S.
Also please avoid putting logs in a docx file, just a text file is enough.
from ironic-image.
httpd container logs
172.22.0.197 - - [05/Sep/2021:07:27:05 +0000] "GET /images/UBUNTU_20.04_NODE_IMAGE_K8S_v1.22.0-raw.img.md5sum HTTP/1.1" 200 33 "-" "python-requests/2.25.1"
172.22.0.197 - - [05/Sep/2021:07:27:05 +0000] "GET /images/UBUNTU_20.04_NODE_IMAGE_K8S_v1.22.0-raw.img HTTP/1.1" 200 1024 "-" "python-requests/2.25.1"
1024(too small) means the file is not getting correctly downloaded, I think so.
from ironic-image.
Check the file that you have with file
or qemu-img
. This is for a real qcow2 image:
$ file /httpboot/deployment_image.qcow2
/httpboot/deployment_image.qcow2: QEMU QCOW Image (v3), 117440512 bytes
$ qemu-img info /httpboot/deployment_image.qcow2
image: /httpboot/deployment_image.qcow2
file format: qcow2
virtual size: 112 MiB (117440512 bytes)
disk size: 15.6 MiB
cluster_size: 65536
Format specific information:
compat: 1.1
lazy refcounts: false
refcount bits: 16
corrupt: false
from ironic-image.
I tried using this(http://cloud-images.ubuntu.com/releases/focal/release/ubuntu-20.04-server-cloudimg-amd64.img) image using ironic CLI (succeeded). Not able to provision using provisioning scripts and with ironic CLI using default image metal3 uses.
from ironic-image.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues will close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
from ironic-image.
Stale issues close after 30d of inactivity. Reopen the issue with /reopen
. Mark the issue as fresh with /remove-lifecycle stale
.
/close
from ironic-image.
@metal3-io-bot: Closing this issue.
In response to this:
Stale issues close after 30d of inactivity. Reopen the issue with
/reopen
. Mark the issue as fresh with/remove-lifecycle stale
./close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
from ironic-image.
Related Issues (20)
- runmariadb seems to fail with MariaDB 10.3.28 HOT 3
- machine partition creation issue when qcow2 user image is supplied HOT 8
- Security scan reports high level vulnerabilities in ironic and ironic-inspector images HOT 5
- Split up separate components into seperate Images HOT 17
- ironic.common.exception.InvalidMAC: Expected a MAC address but received (WWN) HOT 6
- Image metal3-io/ironic:capm3-v0.4.3 unavailable. HOT 3
- Change default branch to "main" HOT 4
- Ironic image cache cleaning removes some of the images
- Image metal3-io/ironic:capm3-v0.5.4 unavailable HOT 3
- Error setting up bootloader. Error UTF-16 stream does not start with BOM: UnicodeError: UTF-16 stream does not start with BOM HOT 11
- unable to build base image HOT 4
- Missing idrac-redfish interface for raid HOT 1
- Feature request: Environment variable to change IPA collectors HOT 1
- Introducing ipxe security hardening options HOT 9
- Nova power notification warning in log HOT 2
- Allow overriding/specifying IRONIC_IP/IRONIC_URL_HOST HOT 8
- Proposal: Extract configuration generation to init-container HOT 20
- Support building for multiple architectures HOT 4
- Ironic-image can't use to be as a http HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ironic-image.