Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fully customizable deployment keeps failing #231

Open
canc3r1 opened this issue Feb 2, 2021 · 5 comments
Open

Fully customizable deployment keeps failing #231

canc3r1 opened this issue Feb 2, 2021 · 5 comments

Comments

@canc3r1
Copy link

canc3r1 commented Feb 2, 2021

Hi Folks

While i am able to deploy the maximum and large templates successfully, when trying the customized option, we keep failing at the controller VM with the following error message:

\\\\\\\"Enable failed: failed to execute command: command terminated with exit status=1\\\\n[stdout]\\\\n\\\\n[stderr]\\\\nmysqladminpass='tnvsto4apw4*7PFIWB'\\\\n+ sudo apt-get -y update\\\\n+ sudo apt-get -y install unattended-upgrades fail2ban\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\n+ config_fail2ban\\\\n+ cat\\\\n+ mkdir -p /moodle\\\\n+ export DEBIAN_FRONTEND=noninteractive\\\\n+ DEBIAN_FRONTEND=noninteractive\\\\n+ '[' gluster = gluster ']'\\\\n+ sudo add-apt-repository ppa:gluster/glusterfs-3.10 -y\\\\n+ sudo apt-get -y update\\\\n+ sudo apt-get -y --force-yes install rsyslog git\\\\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\\\n+ '[' gluster = gluster ']'\\\\n+ sudo apt-get -y --force-yes install glusterfs-client\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\\\n+ '[' mysql = mysql ']'\\\\n+ sudo apt-get -y --force-yes install mysql-client\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\\\n+ '[' true = true -o gluster = azurefiles ']'\\\\n+ sudo tee /etc/apt/sources.list.d/azure-cli.list\\\\n+ echo 'deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ wheezy main'\\\\n+ sudo apt-key add -\\\\n+ curl -L https://packages.microsoft.com/keys/microsoft.asc\\\\n % Total % Received % Xferd Average Speed Time Time Time Current\\\\n Dload Upload Total Spent Left Speed\\\\n\\\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\\\r100 983 100 983 0 0 22860 0 --:--:-- --:--:-- --:--:-- 22860\\\\nWarning: apt-key output should not be parsed (stdout is not a terminal)\\\\n+ sudo apt-get -y install apt-transport-https\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\n+ sudo apt-get -y update\\\\n+ sudo apt-get -y install azure-cli\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\n+ '[' Premium_LRS '!=' Premium_LRS ']'\\\\n+ '[' gluster = gluster ']'\\\\n+ echo -e '\\\\\\\\n\\\\\\\\rInstalling GlusterFS on gluster-vm-nvsto40:/data' '/moodle\\\\\\\\n\\\\\\\\r'\\\\n+ setup_and_mount_gluster_moodle_share gluster-vm-nvsto40 data\\\\n+ local glusterNode=gluster-vm-nvsto40\\\\n+ local glusterVolume=data\\\\n+ grep -q '/moodle.*glusterfs' /etc/fstab\\\\n+ echo -e 'gluster-vm-nvsto40:/data /moodle glusterfs defaults,_netdev,log-level=WARNING,log-file=/var/log/gluster.log 0 0'\\\\n+ mount /moodle\\\\nMount failed. Please check the log file for more details.\\\\n\\\\\\\"\\\\r\\\\n\\\\r\\\\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot \\\"\\r\\n }\\r\\n ]\\r\\n }\\r\\n}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"

Please let me know if this is common and if there's something wrong that we are doing. The options we are choosing are quite standard and it should deploy without any problems. MySQL DB, GlusterFS, WAF as the gateway with no HTTPS termination at the moment.

Let me know if any other details may be required. Region of choice is Southeast Asia.

Thanks

@Duzima
Copy link

Duzima commented Mar 23, 2021

Hello!
I also get an error when trying to implement the custom template. I need to deploy using "NFS-HA", but it always fails. The error required that the operating system's disk size is correct. I tried to change it, but I was unsuccessful. Could anyone help? I attached some images to demonstrate the error.
Captura de tela 2021-03-23 165505
Captura de tela 2021-03-23 165720
Captura de tela 2021-03-23 170724
Captura de tela 2021-03-23 170801

@SorraTheOrc
Copy link
Contributor

This looks like a bug. It seems you have provided enough information to repro it and I'm trying that now. Will follow up soon

@Duzima
Copy link

Duzima commented Mar 24, 2021

This looks like a bug. It seems you have provided enough information to repro it and I'm trying that now. Will follow up soon

Thank you Sorra for responding!

@lorde85
Copy link

lorde85 commented Apr 22, 2021

This looks like a bug. It seems you have provided enough information to repro it and I'm trying that now. Will follow up soon

Hi @SorraTheOrc I'm having the exact same issue, did you manage to check this? Any help you can provide?

@SorraTheOrc
Copy link
Contributor

@UmakanthOS can we have one of the team look into this please. I did try multiple times but keep getting pulled away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants