unikraft / kraftkit

Build and use highly customized and ultra-lightweight unikernel VMs.
https://unikraft.org/docs/cli
BSD 3-Clause "New" or "Revised" License
204 stars 61 forks source link

Image name warning #1672

Closed razvand closed 3 weeks ago

razvand commented 1 month ago

Describe the bug

When deploying an application on KraftCloud, the following warning appears:

 W  could not parse image name: invalid reference format: repository name must be lowercase

Steps to reproduce

Visit the KraftCloud examples repository, enter any directory, such as http-go1.21, and then deploy it:

kraft cloud deploy -p 443:8080 .

Expected behavior

There should be no warning.

Which architectures were you using or does this bug affect?

No response

Which operating system were you using or does this bug affect?

No response

Relevant log output

W  could not parse image name: invalid reference format: repository name must be lowercase
[+] building rootfs... done!                                                                                                                                                    x86_64 [32.5s]
[+] packaging index.unikraft.io/razvan.unikraft.io/http-go121:latest... done!                                                                                         kraftcloud/x86_64 [0.4s]
[+] pushing index.unikraft.io/razvan.unikraft.io/http-go121:latest (kraftcloud/x86_64)... done!                                                                                         [3.7s]

[●] Deployed successfully!
 │
 ├────────── name: http-go121-nkwey                                                                                      
 ├────────── uuid: 3900de99-089a-45e1-bb2c-588870756bf9                                                                  
 ├───────── state: running                                                                                      
 ├──────── domain: https://bitter-wildflower-psaxy0sp.dal0.kraft.host                                                    
 ├───────── image: razvan.unikraft.io/http-go121@sha256:34d111c1cb2671c959209071c97db22e6da6fc5c3badb423fa1e8c89216dd5d5 
 ├───── boot time: 17.91 ms                                                                                              
 ├──────── memory: 128 MiB                                                                                               
 ├─ service group: bitter-wildflower-psaxy0sp                                                                            
 ├── private fqdn: http-go121-nkwey.internal                                                                             
 ├──── private ip: 172.16.3.7                                                                                            
 └────────── args: /server
craciunoiuc commented 4 weeks ago

This is not an issue: it happens because OCI images are first in the list of options

Will downgrade the message to a debug one