waldur / waldur-mastermind Goto Github PK
View Code? Open in Web Editor NEWWaldur MasterMind is a hybrid cloud orchestrator.
Home Page: https://waldur.com
License: MIT License
Waldur MasterMind is a hybrid cloud orchestrator.
Home Page: https://waldur.com
License: MIT License
Waldur is great,
But how to add AWS and Billing for the instances
How to add Openstack provider in waldur ??
Error message
[ErrorDetail(string="Error while fetching server API version: ('Connection aborted.', PermissionError(13, 'Permission denied'))", code='invalid')]
Any idea how to fix ?
Cant seem to find how to login with single sign on on docker-compose, only local login button shows.
Despite keycloak section being present.
Hi Lija and all !
I recently interested in waldur and also waldur looks great !!
But, now i am facing openstack network issue in waldur.
I added openstack shared instance in waldur and then i trying to spin up a vm but here i cant see and add the network.
I also added external network id in openstack shared instance... and also attached my screenshot as well..
When creating, a new resource via market space script (python).
Error message [ErrorDetail(string='Unexpected structure of output', code=['mattronix,', 'has', 'been', 'deployed.'])] Error traceback Traceback (most recent call last): File "/usr/src/waldur/src/waldur_mastermind/marketplace/utils.py", line 104, in process_order processor(order).process_order(user) File "/usr/src/waldur/src/waldur_mastermind/marketplace/processors.py", line 70, in process_order scope = self.send_request(user) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/waldur/src/waldur_mastermind/marketplace_script/processors.py", line 73, in send_request raise serializers.ValidationError( rest_framework.exceptions.ValidationError: [ErrorDetail(string='Unexpected structure of output', code=['mattronix,', 'has', 'been', 'deployed.'])]
Here is the script for example: https://github.com/mattronix/waldur-custom-offerings/blob/main/create_user_over_ssh/storage-user-add-waldur.py
Hello Waldur,
Any way to auto add new users to a default org, give them some default permissions or auto invite them?
For custom scripts the following scripts are missing documentation:
Hi,
Thank you so much.
Just one problem.
I have a problem
Loading assets, please wait.
After
Unable to bootstrap application.
Unfortunately, connection to server has failed. Please check if you can connect to http://localhost:8080/ from your browser and contact support if the error continues.
Thank you
Please, help me.
Best regards.
Hi,
Please, could you give us procedure deploy waldur-mastermind and waldur-homeport Docker with configuration if exists, and default user&password.
Best regards.
When creating a resource with a script i use (python):
attributes = json.loads(os.environ.get("ATTRIBUTES"))
To access the attributes of a resource.
However in a termination script i cant use the same method it seems to access the attributes as it gives me the following error:
2024-02-14T13:53:32.944140165Z [2024-02-14 13:53:32,943: ERROR/ForkPoolWorker-9] Error processing order type: Terminate, offering: Storage Share fs.ti, created_by: 089353b4-782e-44ba-a88a-382920d816e8 (Matthew Frost). Order ID: 129. Exception: [ErrorDetail(string='Command '['python', 'script']' in image 'mattronix:alpine-py-3.11' returned non-zero exit status 1: b'Traceback (most recent call last):\n File "/work/script", line 117, in \n new_user = attributes["username"]\n
When i do a print its also not set it seems, however i do see them in the database.
(once im finished with these scripts il send them your way also for the examples)
Hello @AmbientLighter ,
On a headless server this happenes:
OS info: | |
---|---|
Distributor ID: | Ubuntu |
Description: | Ubuntu 18.04.4 LTS |
Release: | 18.04 |
Codename: | bionic |
Errors
[2020-02-04 09:32:53,450: ERROR/ForkPoolWorker-2] Task waldur_mastermind.marketplace.tasks.create_order_pdf[ad8bad1c-e41c-4872-9801-8228a062f753] raised unexpected: OSError('wkhtmltopdf exited with non-zero code 1. error:\nqt.qpa.screen: QXcbConnection: Could not connect to display \nCould not connect to any X display.\n',)
Traceback (most recent call last):
File "~/waldur-mastermind/venv/lib/python3.6/site-packages/celery/app/trace.py", line 385, in trace_task
R = retval = fun(*args, **kwargs)
File "~/waldur-mastermind/venv/lib/python3.6/site-packages/celery/app/trace.py", line 648, in __protected_call__
return self.run(*args, **kwargs)
File "~/waldur-mastermind/src/waldur_mastermind/marketplace/tasks.py", line 74, in create_order_pdf
utils.create_order_pdf(order)
File "~/waldur-mastermind/src/waldur_mastermind/marketplace/utils.py", line 112, in create_order_pdf
pdf = pdfkit.from_string(html, False)
File "~/waldur-mastermind/venv/lib/python3.6/site-packages/pdfkit/api.py", line 72, in from_string
return r.to_pdf(output_path)
File "~/waldur-mastermind/venv/lib/python3.6/site-packages/pdfkit/pdfkit.py", line 159, in to_pdf
raise IOError("wkhtmltopdf exited with non-zero code {0}. error:\n{1}".format(exit_code, stderr))
OSError: wkhtmltopdf exited with non-zero code 1. error:
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
waldur-mastermind
on any headless serverYou can use Python xvfbwrapper
Basic usage
from xvfbwrapper import Xvfb
vdisplay = Xvfb()
vdisplay.start()
# launch stuff inside
# virtual display here.
vdisplay.stop()
Usage as a Context Manager:
from xvfbwrapper import Xvfb
with Xvfb() as xvfb:
# launch stuff inside virtual display here.
# It starts/stops around this code block.
Or you can use alternative of pdfkit
named weasyprint
Hi, got this:
CPendingDeprecationWarning: The broker_connection_retry configuration setting will no longer determine
: [ErrorDetail(string='Command '['python', 'script']' in image 'python:3.8-alpine' returned non-zero exit status 1: b"/usr/local/bin/python: can't find 'main' module in 'script'\n"', code='invalid')]
Any ideas what im doing wrong?
Hi:
I've installed Microstack and have a functioning Openstack installation. I also have Waldur docker version installed. Has anyone tried Waldur with Microstack? At the moment, Waldur caddy is clashing with port 443 on the Openstack installation.
Cheers,
Dave
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.