OSA deployment fail in setup-infraestrucure.yml

asked 2018-08-02 03:01:59 -0500

amfgomez gravatar image

Hello everyone,

I am trying to deploy an openstack-ansible instance with: - 1 Infra. - 1 Compute. - 1 storage. I have executed the following script: - setup-hosts.yml ----> All ok - setup-infraestructure.yml ----> a error occured. Thank you very much. best regard.

The error is below: fatal: [infra1_rabbit_mq_container-a06aed74]: FAILED! => {"attempts": 100, "cache_update_time": 1533193438, "cache_up": true, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" x' 'socat'' failed: E: There were unauthenticated packages and -y was used without --allow-unauthenticated\n", "rc": cated packages and -y was used without --allow-unauthenticated\n", "stderr_lines": ["E: There were unauthenticated panauthenticated"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThenstalled:\n erlang-asn1 erlang-corba erlang-crypto erlang-diameter erlang-edoc\n erlang-eldap erlang-erl-docgen erlng-inviso erlang-mnesia erlang-odbc erlang-os-mon erlang-parsetools\n erlang-percept erlang-public-key erlang-runtim-ssl erlang-syntax-tools erlang-tools erlang-xmerl libltdl7 libodbc1\n libsctp1\nSuggested packages:\n erlang erlan fop erlang-ic-java\n libmyodbc odbc-postgresql tdsodbc unixodbc-bin lksctp-tools\nThe following NEW packages will bhipe erlang-corba erlang-crypto erlang-diameter\n erlang-edoc erlang-eldap erlang-erl-docgen erlang-eunit erlang-ic\sia erlang-nox erlang-odbc\n erlang-os-mon erlang-parsetools erlang-percept erlang-public-key\n erlang-runtime-toolng-syntax-tools\n erlang-tools erlang-xmerl libltdl7 libodbc1 libsctp1 socat\n0 upgraded, 30 newly installed, 0 to r015 kB/22.6 MB of archives.\nAfter this operation, 38.8 MB of additional disk space will be used.\nWARNING: The follo erlang-base-hipe erlang-syntax-tools erlang-asn1 erlang-mnesia\n erlang-runtime-tools erlang-crypto erlang-public-rba erlang-diameter erlang-xmerl erlang-edoc erlang-eldap\n erlang-erl-docgen erlang-eunit erlang-ic erlang-inviso eerlang-parsetools erlang-percept erlang-ssh\n erlang-tools erlang-nox\n", "stdout_lines": ["Reading package lists...ng state information...", "The following additional packages will be installed:", " erlang-asn1 erlang-corba erlang-erlang-eldap erlang-erl-docgen erlang-eunit erlang-ic erlang-inets", " erlang-inviso erlang-mnesia erlang-odbc erlanercept erlang-public-key erlang-runtime-tools erlang-snmp erlang-ssh", " erlang-ssl erlang-syntax-tools erlang-toolssctp1", "Suggested packages:", " erlang erlang-manpages erlang-doc erlang-gs xsltproc fop erlang-ic-java", " libmyo lksctp-tools", "The following NEW packages will be installed:", " erlang-asn1 erlang-base-hipe erlang-corba erlang-erlang-eldap erlang-erl-docgen erlang-eunit erlang-ic", " erlang-inets erlang-inviso erlang-mnesia erlang-nox erlangls erlang-percept erlang-public-key", " erlang-runtime-tools erlang-snmp erlang-ssh erlang-ssl erlang-syntax-tools",ibodbc1 libsctp1 socat", "0 upgraded, 30 newly installed, 0 to remove and 8 not upgraded.", "Need to get 9015 kB/22.6, 38.8 MB of additional disk space will be used.", "WARNING: The following packages cannot be authenticated!", " erl-asn1 erlang-mnesia", " erlang-runtime-tools erlang-crypto erlang-public-key erlang-ssl erlang-inets", " erlang-cordoc erlang-eldap", " erlang-erl-docgen erlang-eunit erlang-ic erlang-inviso erlang-odbc", " erlang-snmp erlang-os-mng-ssh", " erlang-tools erlang-nox"]}

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-08-02 08:40:56 -0500

amfgomez gravatar image

I have solved the problem.

inside the container Rabbitmq in file: /etc/apt/sourcelist.d/els_erlang.list deb https://packages.erlang-solutions.com/ubuntu (https://packages.erlang-solutions.com...) xenial contrib the file should change deb http://packages.erlang-solutions.com/ubuntu (http://packages.erlang-solutions.com/...) xenial contrib

you should delete the "s" in https.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-08-02 03:01:59 -0500

Seen: 89 times

Last updated: Aug 02 '18