Giter VIP home page Giter VIP logo

Comments (8)

Fran765 avatar Fran765 commented on June 11, 2024 1

Hi @petkivim
I have the same document as the example, but it still doesn't work for me. I decided to start the project in Docker.
Thank you.

from x-road.

petkivim avatar petkivim commented on June 11, 2024

Hi @Fran765

Have you tried to access the UI using HTTPS (https://10.242.215.243:4000)? The UI only supports HTTPS, HTTP is not supported.

Best regards,
Petteri

from x-road.

Fran765 avatar Fran765 commented on June 11, 2024

I've tried both protocols and it still doesn't work.
Is the way I try to add the new security server correct?
The initial configuration of the ansible is done as it says in the git and then I want to add the new security server without losing the initial configuration of the old ones.

or how is the correct way to add a new security server?

from x-road.

petkivim avatar petkivim commented on June 11, 2024

The way how you added the new Security Server is correct. However, you could comment out the other hosts in lxd_host.txt so that only the line that contains the new host is active. But even if you reinstall X-Road on the other hosts, you don't lose the initial configuration.

Have you tried to look at the /var/log/xroad/proxy_ui_api.log file for details inside the post-ss3 container?

from x-road.

Fran765 avatar Fran765 commented on June 11, 2024

I tried following that post-ss3 container path and the container is empty, there is only one folder called "snap".

what is this about?
in the other security servers (post-ss1 and post-ss2) if I can enter that path indicates

from x-road.

petkivim avatar petkivim commented on June 11, 2024

It means that for some reason the Security Server wasn't installed in the container. You could destroy the container and run the Ansible script again. This time, please comment out the other containers in the hosts file.

from x-road.

Fran765 avatar Fran765 commented on June 11, 2024

Run the commands lxc stop post-ss3 and then lxc delete post-ss3.
Then edit the file where each container is and comment out the other containers as indicated.
I ran the command "ansible-playbook -i hosts/lxd_hosts.txt xroad_init.yml" again and it still doesn't work.

Copia de Captura desde 2023-08-22 12-18-42

from x-road.

petkivim avatar petkivim commented on June 11, 2024

Based on the output, the error is related to the post-cs container. Are you sure you edited the hosts/lxd_hosts.txt file? When other containers are commented out, there shouldn't be errors related to them.

The contents of the file should look something like this:

#central servers (ubuntu lxd containers)
[cs_servers]
#post-cs ansible_connection=lxd

#configuration proxies (ubuntu lxd containers, optional)
[cp_servers]
#xroad-lxd-cp ansible_connection=lxd

#certification authority, time stamping authority and ocsp service server for testing purposes (ubuntu)
[ca_servers]
#post-cs ansible_connection=lxd

#security servers (ubuntu lxd containers)
[ss_servers]
#post-ss1 ansible_connection=lxd
#post-ss2 ansible_connection=lxd
post-ss3 ansible_connection=lxd

[ss_servers:children]
centos_ss

#security servers (centos lxd containers, not supported in variant ee)
[centos_ss]
#xroad-lxd-rh-ss1 ansible_connection=lxd

#container host
[lxd_servers]
localhost ansible_connection=local

#compilation host
[compile_servers]
localhost ansible_connection=local

### vars ###
[ss_servers:vars]
variant=vanilla

from x-road.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.