Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Dec 03 16:21
    renovate[bot] edited #279
  • Dec 03 14:22
    renovate[bot] edited #279
  • Dec 02 15:44
    renovate[bot] edited #279
  • Dec 02 15:43
    renovate[bot] edited #268
  • Dec 02 15:43
    renovate[bot] edited #262
  • Dec 01 19:07
    renovate[bot] edited #276
  • Dec 01 16:22
    renovate[bot] edited #276
  • Dec 01 10:56
    renovate[bot] edited #313
  • Dec 01 10:56
    renovate[bot] edited #276
  • Dec 01 10:56
    renovate[bot] edited #276
  • Dec 01 10:56
    renovate[bot] synchronize #276
  • Dec 01 10:56

    renovate[bot] on swagger-ui-express-4.x

    fix(deps): update dependency sw… (compare)

  • Dec 01 00:33
    renovate[bot] edited #279
  • Nov 30 23:05
    renovate[bot] edited #279
  • Nov 29 20:01
    renovate[bot] edited #313
  • Nov 27 17:35
    renovate[bot] edited #313
  • Nov 27 09:52
    renovate[bot] edited #279
  • Nov 27 04:30
    renovate[bot] edited #279
  • Nov 26 11:09
    renovate[bot] edited #313
  • Nov 22 20:35
    renovate[bot] edited #313
Livio Brunner
@BrunnerLivio
Now it should be fixed, can you try again?
Yes exactly
Juraj Kabzan
@kabzo
thank! that works
however, I was still not able to see local containers. I added - name: local-computer url: https://192.168.1.127:8443 protocol: lxd public: false readonly: false
however, on the web iterface it does not show any containers, however lxc list shows 3 containers
also lxc image list shows 3 images
I am able to see the images from https://us.images.linuxcontainers.org
Livio Brunner
@BrunnerLivio
does the log say anything about that?
And can you reach https://192.168.1.127:8443/1.0/images
erickeller
@erickeller
Sorry for all the troubles with the certificate it gets renewed automatically for the nginx but not for the lxd server... Will rebuild the latest lxdhub and fix the certificate this evening.
Juraj Kabzan
@kabzo
@BrunnerLivio yes, I can reach that page. Eventually some of the images did show up, but not all of them. is there a way to trigger the dbsync manually?
Juraj Kabzan
@kabzo
so it looks like after lxc image copy ... from other machine the image is not visible in web interface. when is the sync being triggered ?
erickeller
@erickeller
so upgraded the lxdhub.xyz to the latest version and lxd server is now having a valid certificate again
erickeller
@erickeller
@kabzo you can trigger the dbsync manually using the systemd service, in the container: lxc exec lxdhub -- systemctl restart lxdhub-dbsync
erickeller
@erickeller
the dbsync is a parameter one can setup in the systemd service: [Service]
Environment=SYNC_INTERVAL=20
so the synchronisation will by default be triggered every 20 min
you can remove this line from the environment, and there will be a default value in the dbsync itself which is 3 min.
erickeller
@erickeller
we could also instruct systemd to read a /etc/default/lxdhub file where you can tune these values
Juraj Kabzan
@kabzo
thanks guys for the support! It is almost working perfectly. Now, when i tried it on a clean ubuntu server installation, i am getting this error:
dbsync_1 | [Error: EISDIR: illegal operation on a directory, read] { dbsync_1 | errno: -21, dbsync_1 | code: 'EISDIR', dbsync_1 | syscall: 'read' dbsync_1 | }
Juraj Kabzan
@kabzo
i have just the .template config file
any ideas?
Livio Brunner
@BrunnerLivio
This error means EISDIR means that the target of the operation is a directory in reality but that the expected filetype of the target is something other than a directory.
so it probably search for a lxdhub.yml file but finds a directory?
Juraj Kabzan
@kabzo
oh you are totally right, i was not able to follow readme . stupid mistake
Juraj Kabzan
@kabzo
all works! thanks
thank you all for your help and debugging!
Livio Brunner
@BrunnerLivio
Great! Glad to hear that. Sorry from our side for the sloppy start. We haven’t used the project ourselves for a while.
Juraj Kabzan
@kabzo
Hey guys, its me again. I was trying to continue setting up the lxdhub. Do you have some guide on how to set up all the public-facing part? I assume you are using nginx to redirect ddns to ip:3000, but how can you then use the same url for port :8443?
erickeller
@erickeller
Yes there is a new branch in progress where terraform and Ansible will deploy the nginx proxy automatically
There are still some minor things to clarify especially how to update lxd container ips to proxy to when a new lxd container is started
As we cannot resolve lxd container dns by default
Juraj Kabzan
@kabzo
isnt it easier to use just docker instead the lxc container for deployment? I think that would also be the purpose of docker in this case
Juraj Kabzan
@kabzo
then you dont have issues with publicly facing lxc container
Juraj Kabzan
@kabzo
Also, do you know how to set up the lxd server as read-only? So that nobody can actually delete or copy any images from/to the lxd server?
erickeller
@erickeller
The idea was to eat our own food people feedback that one shall use lxd to host lxd without docker. Still docker is also published within the project so you can also use it. If it makes your workflow easier
Juraj Kabzan
@kabzo
makes sense! Could you please help me with the second point? I would also like to understand whether it is possible to setup the server as simplestreams. However, I have not found any documentation. Do you guys know how does that work?
Livio Brunner
@BrunnerLivio
@kabzo We actually had a discussion about Simplestreams with Stéphane Graber (Project Leader of LXC/LXD) when we have started with LXDHub. As far as I recall we could not easily implement it, because Simplestreams does not have any normalized data sent by the LXD REST API
Therefore making it almost impossible to normalize it using the database sync tool
and therefore display it on LXDHub
@erickeller did I recall this correctly, or was that a different reason why we do not support Simplestreams?
Macduff
@macduff23
lxdhub:) yay__ I am able to - 1. pull image ok ~ lxc image copy lxdhub:160b94473eb8 local: --copy-aliases, 2. launch image on my lxd host (macvlan,lan ip's.no_nat) - but no UI comes up on x.x.x.x:3000..?? image good? i
try another most recent image same results..lxd 3.18 /12631 stable /canonical✓ no UI ..im confused. its working or no? it looks great on the remote? nice design!
I think its a great project you guys are the only doing such a thing.. well done
Macduff
@macduff23
cd ..
Macduff
@macduff23
nested docker would be dope as well to run private docker reg in the same container. ill have to circle back around to github for more info keep up the good work mates.. im seeing not docker anything in the image i have .. looks like a blank container.. I get the cert error as well.
Benj Fassbind
@randombenj
Hi @macduff23
I think we need to upgrade the image on lxdhub.xyz as there was an error in the sync logic and now sync is stuck. Will do this as soon as the new image is ready. Still some stuff to do with the syncing ..
Benj Fassbind
@randombenj
A new version of lxdhub is now on lxdhub.xyz, the sync is now working again and you can see all the available images to pull from 🎊