Openstack aio instance cannot update yum

asked 2019-05-06 07:38:26 -0500

gorkagal gravatar image

Hi,

I have already deployed an instance in one all-in-one openstack rocky version via a heat template. I can ping/ssh and inside the instance I can ping to any internet address but I can not, for instance, do a yum update operation (it is not transfering any bytes).

Error: failed to synchronize cache for repo 'fedora-modular' .

I'va checked cloud-init log from the image and I can see this error: 'stages.py[ERROR]: Unable to render networking. Network config is likely broken: No available network renderers found. Searched through list: ['eni', 'sysconfig', 'netplan' ]'

Thanks.

edit retag flag offensive close merge delete

Comments

First, find out what prevents yum from updating. Use the yum log. Perhaps DNS resolution? How about dnf?

The error message may be a red herring. From your description, it’s obvious that networking works in principle.

What image did you use to launch the instance? Can you try a different image?

Bernd Bausch gravatar imageBernd Bausch ( 2019-05-06 09:23:38 -0500 )edit

I've tried dnf and same result...and I've tried with centos7 and fedora image and also same result...If I pass verbose mode to yum, the curl operation is giving me a timeout not responding the server of repositories or at least I do not receive nothing from the server...

gorkagal gravatar imagegorkagal ( 2019-05-06 09:56:22 -0500 )edit

You say that this instance can reach internet addresses, but not the repo server?

If so, can you reach the server from computers outside of the cloud? If not, perhaps it is down or misconfigured. If you can, find out how this server is different from the internet addresses you can reach.

Bernd Bausch gravatar imageBernd Bausch ( 2019-05-06 10:25:31 -0500 )edit

Yes, from the host and lxc-containers I can access.

yum --verbose update;

Cannot download 'https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-29&arch=x86_64': Cannot prepare internal mirrorlist: Curl error (28): Timeout was reached

gorkagal gravatar imagegorkagal ( 2019-05-06 10:36:51 -0500 )edit

with curl -v https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-29&arch=x86_64 (https://mirrors.fedoraproject.org/met...) it hangs here:

  • TLSv1.3 (OUT), TLS handshake, Client hello (1):

and something happens that is blocking the response but I have all security rules allowed (TCP:443 and 80)

gorkagal gravatar imagegorkagal ( 2019-05-06 10:39:07 -0500 )edit