Openstack Ansible Neutron issue - ini

I am trying to deploy Openstack with the help of ansible-playbooks. I am new to openstack. I have encountered some issues while I am deploying openstack, but I fixed it. Now I have my openstack environment available. But my issue is I am able to create a network but I am unable to spin up an instance with that network. But when I spin up a instance with out network I am able to run a VM successfully. I checked the nova compute logs and I found that there is issue in neutron. I checked neutron logs and I found there is an entry missing in ml2 plugin.
Do you have any idea about ansible openstack installation.
if yes can you please help me out.

Related

ask deploy hangs while deploying to lambda

I have manually deployed a number of Alexa skills using a lambda backend and understand the manual process, however I am new to using the ask cli v2.
I believe I have all of the steps in the guide as far as having both ask and aws cli set. I have set my roles in AWS.
I am currently just trying to get used to the process and running
ask new
changing the invocation and then running
ask deploy
Everything runs seemingly correct until
Skill code built successfully.
Code for region default built to C:\location\projectName.ask\lambda\build.zip successfully with build flow nodejs-npm.
==================== Deploy Skill Infrastructure ====================
/ Deploy Alexa skill infrastructure for region "default"
→ No IAM role exists. Creating an IAM role...
And then we just wait... forever.
The AWS CLI profile has IAMFullAccess to create roles as needed.
What am I missing?
So It ended up being an issue somewhere between permissions on my aws role and the configuration. I changed which role I was using and re-configured ask and aws.
I am not exactly sure where things were fixed because I immediately ran into another error that ended up being a bit of a rabbit hole. That I will describe here because it is common enough and could be seen while trouble shooting my original issue.
The issue I ran into is was when the deploy would happen successfully I could not test with the code that made it to my lambda. In cloud watch it presented as
"Runtime.ImportModuleError: Error: Cannot find module './dispatcher/error/mapper/GenericErrorMapper'"
This ended up being a bug within powershell and compressing to .zip on windows and being unpacked on linux.
I had to run
Install-Module Microsoft.PowerShell.Archive -MinimumVersion 1.2.3.0 -Repository PSGallery -Force
https://github.com/PowerShell/PowerShell/issues/2140
This fixed my final issue.

Programmatically restart Node applications on Plesk

We are using Plesk to host our production services.
Basically when I deploy application to Plesk using Git, I need to press Restart application within Node page on Plesk GUI and that works well.
But in some cases I need to do that pragmatically, I need to automatically restart Node service. Does Plesk offer such functionality? Maybe, some kind of API that listens to calls or else within Linux shell itself.
When you click Restart App you'll notice a message state Information: The restart.txt file was touched. Application will be restarted after the first request.
You can emulate this action after the deploy by checking Enable additional deploy actions in the git repository options, and touching the same file here (I also run npm install too). Screenshot attached.
Since there was no answer for a while, this is my old workaround that I used for PM2 scripts force reset:
If it's a webserver application, e.g. Express.js, add protected route that can be accessed only within your privatae network (for security reasons) which basically kills main process via process.exit(0) and your webserver will get reseted automatically by PM2 or whichever service you use for it. However, I wouldn't recommend this method for anything above staging.
I have this issue too, and Plesk support don't have an answer for me either.
According to the Plesk blog here: "Moreover, if your app is running in the “development” mode, you don’t need to restart the app every time you modify the contents of a file."
I'm very new to Node so I don't fully understand the implications but I guess if you run the app in development mode, then you won't need to manually restart the Node Application.
The only way I have found that consistently works on Plesk is this command:
touch tmp/restart.txt
Even in development mode, Node does not seem to automatically restart.
What's worse is that it takes about 5-6 seconds before Node finishes restarting, using the touch method.
My takeaway is that a Plesk server is the wrong place to do Node development or testing.

How to deploy vtiger with capistrano?

I'm trying do setup vtiger as a CRM and trying to deploy changes with capristranorb. Every time I do a deploy I get this error:
Sorry! Attempt to access restricted file.
Anyone has an idea on how to resolve this issue?

lunch mean stack application on centos vps Beside apache

Actually I`m a little confused, please help me.
I learned MEAN stack (AngularJS + Node.js + Express.js + MongoDB) and I made my first application.
I have a centOs vps that have installed Apache + mySQL + PHP and DirectAdmin for manage visually.
My problems are:
Which directory of my VPS should I upload my application?
How can is install MEAN on this server without disable LAMP? My MEAN application and my WordPress sites work on on VPS.
How can I run my MongoDB and Node.js application? By SSH? If I run these by SSH and close my putty, what will happen for my application? Is it necessery to keep open putty all the time?
I want to lunch my app but I`m confused really!
First of all you need to understand that your MongoDB and NodeJS would run independently without any connection between them.
The status of these would not change once i.e they would not go down once any putty connection is closed. As long as the process associated with them is not killed or goes stale, they would be intact.
Please refer to the below links for further information on installing NodeJS & MongoDB :
https://nodejs.org/en/download/package-manager/
https://docs.mongodb.com/manual/installation/
Please post your folder/file structure of your application and the means chosen for deployment for more help.

Where to find a download for X3D-Edit 3.3

I used to have X3D-Edit 3.3 downloaded and working on my Netbeans IDE but I updated my laptop to Windows 10 and some of my files got deleted such as X3D-Edit and when I go onto https://savage.nps.edu/X3D-Edit/X3D-Edit.html, I get
This web page is not available
ERR_CONNECTION_TIMED_OUT
Google Chrome could not load the web page because savage.nps.edu took too long to respond. The website may be down or you may be experiencing issues with your Internet connection.
Check your Internet connection
Check any cables and reboot any routers, modems or other network devices you may be using.
Allow Chrome to access the network in your firewall or antivirus settings.
If it is already listed as a programme that is allowed to access the network, try removing it from the list and adding it again.
If you use a proxy server...
Check your proxy settings or contact your network administrator to make sure the proxy server is working. If you don't believe you should be using a proxy server: Go to the Chrome menu > Settings > + Show advanced settings > Change proxy settings... > LAN Settings and deselect "Use a proxy server for your LAN".
I've tried that same site on two separate networks and I've tried it with and without a firewall. And I'm still getting the same problem, so I was wondering where I'd get X3D-Edit from?
Happy to announce that upgraded X3D-Edit 4.0 now available
https://savage.nps.edu/X3D-Edit/X3D-Edit.html
Update: installers and help video now available on SourceForge
https://sourceforge.net/projects/x3d/files
Downloadable zip includes runnable versions for Windows, Mac and Linux. Build environment is Apache NetBeans 12.6 and openjdk 19. Beta testing in progress, adding features and X3D4 nodes with special focus on validation, HTML5 integration and Web Audio API.
All test and usage reports welcome. Have fun with X3D4!

Resources