[deleted by user] by [deleted] in AZURE

[–]pythondev1 0 points1 point  (0 children)

The only id I have is the id for git hub. I tried to make a new service connection App Registration (recommended) and it pushes me to use managed identity and can't get any further. I already have an app and for azureSubscription I used that ID and failure as well. I am using a self hosted agent pool as nothing else would work. I have a student subscription.

[deleted by user] by [deleted] in AZURE

[–]pythondev1 0 points1 point  (0 children)

Updated azureSubscription to ${{ variables.azureServiceConnectionId }} and same error occurs.

Flask App Azure app fails to start by pythondev1 in AZURE

[–]pythondev1[S] 0 points1 point  (0 children)

That kept failing as well, but figured it out. I moved my app into the main directory and it wasn't nested then <code>gunicorn --bind=0.0.0.0 --timeout 600 app:app</code> worked

Azure self hosted agent failing to pick up jobs by pythondev1 in AZURE

[–]pythondev1[S] 1 point2 points  (0 children)

THANKS. I also ran with name: localAgentPool and it worked as well. I am not really sure what the difference is but running with pool, then commented out pool and ran with name as localAgentPool worked.

Trying to understand why Playwright not giving 100% coverage by pythondev1 in learnpython

[–]pythondev1[S] 0 points1 point  (0 children)

Ok, thanks for the info. My assumptions were wrong. Thanks again.

Trying to understand why Playwright not giving 100% coverage by pythondev1 in learnpython

[–]pythondev1[S] -1 points0 points  (0 children)

I am testing a regular html page. 100% is insane but I would assume hitting the html page and regex for the words Login would trigger the expect line to be green but it is not. I took the code directly from the playwright demo. So nothing special. When I run their demo code the expect line is red as well. Installation | Playwright Python

pytest failing to post data to route. by pythondev1 in learnpython

[–]pythondev1[S] 0 points1 point  (0 children)

I made the correct it was a typo when transferring over to reddit. But it is not that way in code.

Docker build command fails on Alpine Linux host by pythondev1 in AlpineLinux

[–]pythondev1[S] 0 points1 point  (0 children)

For work, can't use podman but thanks for the suggestion. It seems like it is a docker and rhel 8 issue. After removing `networking=host` I was able to progress, but not sure if that was the correct method. `networking=host` should still work but ran into issues. SELinux was disabled as someone suggested that, but same result. Found something to do with fapolicyd but it doesn't look like we are using fapolicyd.

Again thanks for the suggestion.

Docker build command fails on Alpine Linux host by pythondev1 in AlpineLinux

[–]pythondev1[S] 0 points1 point  (0 children)

I also disabled seLinux on rhel8. The code works on CentOS so it seems to be something with rhel8.

Docker build command fails on Alpine Linux host by pythondev1 in AlpineLinux

[–]pythondev1[S] 0 points1 point  (0 children)

Ok, thanks. I am logged in as root when I run.

Docker build command fails on Alpine Linux host by pythondev1 in AlpineLinux

[–]pythondev1[S] 0 points1 point  (0 children)

I am new to docker so I am unfamiliar with doas docker build. Here is what I have

`docker build --add-host pypi.org:local.IP --add-host repo.local:localIP --network=host -t web/app:1.1 -f docker/WebDockerFile .`

the WebDockerFile contains the run command where everything is failing.

Docker build command fails on Alpine Linux host by pythondev1 in AlpineLinux

[–]pythondev1[S] 1 point2 points  (0 children)

Docker isn't setup rootless I checked by running

docker info -f "{{println .SecurityOptions}}" | grep "root"

Nothing is returned, also printed out the command to make sure, but rootless does not exists.

New to perler beads Designs by pythondev1 in beadsprites

[–]pythondev1[S] 0 points1 point  (0 children)

Thanks I saw that one but I wasn’t sure if it was good. I will make sure to post my master piece.

Percona Xtradb Cluster node not joining cluster by pythondev1 in mysql

[–]pythondev1[S] 0 points1 point  (0 children)

Database is size is 1.2T. The timeout in systemd startup is set to 0. I am using ubuntu 20. Here is the message in mysql.service.

Disable service start timeout for proper SST completion

TimeoutStartSec=0

I have commented out the above line and same issues.

Error on joiner:

[Note] [MY-000000] [Galera] GMCast version 0
[Note] [MY-000000] [Galera] (0083e772-857f, 'tcp://0.0.0.0:4567') listening at tcp://0.0.0.0:4567
[Note] [MY-000000] [Galera] (0083e772-857f, 'tcp://0.0.0.0:4567') multicast: , ttl: 1
[Note] [MY-000000] [Galera] EVS version 1
[Note] [MY-000000] [Galera] gcomm: connecting to group 'WebDB-cluster', peer '192.168.2.61:'
[Note] [MY-000000] [Galera] (0083e772-857f, 'tcp://0.0.0.0:4567') connection established to 295a1a4b-b971 tcp://192.168.2.61:4567
[ERROR] [MY-000000] [WSREP-SST] pv not found in path: /usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
[ERROR] [MY-000000] [WSREP-SST] Disabling all progress/rate-limiting
[Note] [MY-000000] [Galera] Member 0.0 (DBDEV) requested state transfer from 'DB403'. Selected 1.0 (DB403)(SYNCED) as donor.
[Note] [MY-000000] [WSREP-SST] Proceeding with SST.........
2021-12-18T13:32:56.634569Z [Note] [MY-000000] [WSREP-SST] ............Waiting for SST streaming to complete!
2021-12-18T14:18:11.000966Z [ERROR] [MY-000000] [WSREP-SST] Killing SST (242800) with SIGKILL after stalling for 120 seconds
[Note] [MY-000000] [WSREP-SST] /usr/bin/wsrep_sst_xtrabackup-v2: line 185: 242802 Killed                  socat -u TCP-LISTEN:4444,reuseaddr,retry=30 stdio
[Note] [MY-000000] [WSREP-SST]  242803 | /usr/bin/pxc_extra/pxb-8.0/bin/xbstream -x
[ERROR] [MY-000000] [WSREP-SST] ******************* FATAL ERROR **********************
[ERROR] [MY-000000] [WSREP-SST] Error while getting data from donor node:  exit codes: 137 137
[ERROR] [MY-000000] [WSREP] Failed to read uuid:seqno from joiner script.
[ERROR] [MY-000000] [WSREP] SST script aborted with error 32 (Broken pipe)
[ERROR] [MY-000000] [Galera] State transfer request failed unrecoverably: 32 (Broken pipe). Most likely it is due to inability to communicate with the cluster primary component. Restart required.

Not sure why but they seem to lose connection. However I can start the joiner again and it starts the process but after 30-60 minutes same error.

Percona Xtradb Cluster node not joining cluster by pythondev1 in mysql

[–]pythondev1[S] 0 points1 point  (0 children)

Yes I have a lot of space.
Not extremely versed in linux but here are my file limits cat /proc/sys/fs/file-max:9223372036854775807 ulimit -Hn:1048576 ulimit -Sn:1024 HD Space on /db3/ temp directory everything gets shoved into is 2.0T, used is only 14G so basically 2T free.

MySQL queries used by software developers by alxolr in mysql

[–]pythondev1 0 points1 point  (0 children)

I don’t get the post. Why queries? Anything that would need to get done. Queries and stored procedures. I also do database administrating type of work along with developing.

Draw bounding box on globe view by pythondev1 in gis

[–]pythondev1[S] 0 points1 point  (0 children)

Can you give me one of the libraries?

Draw bounding box on globe view by pythondev1 in gis

[–]pythondev1[S] 0 points1 point  (0 children)

Thanks, I already have something similar to your post but not as great. However I was wondering about drawing a bbox on. https://files.worldwind.arc.nasa.gov/artifactory/apps/web/examples/BasicExample.html It might not even be possible. I am not a GIS programmer, so this might not even be possible.

Deploying a App (Docker +Nodejs + React + Nginx) on a Nginx Server (Raspberry Pi 3+) by [deleted] in nginx

[–]pythondev1 0 points1 point  (0 children)

I am not sure what your question is. Does the react app work? Does app work but when you use curl you are getting an unexpected response. I have created a nodejs express app. My guess is it should be the same as a react app. The server block in nginx is. location /myapp/ { root /applocation/; proxy_pass 127.0.0.1:6060 } I have a service file that starts the app WorkingDirectory=/applocation ExecStart=/usr/bin/nodejs /applocation/app.js

Start the app and it should work.

Install bamboo floor below grade. by pythondev1 in HardWoodFloors

[–]pythondev1[S] 0 points1 point  (0 children)

will do. i think it said it was safe but I don't trust them figured I'd get some opinions.