Comments (6)
Could you show the details you filled in the compute profile form?
from fog-proxmox.
Might make more sense to type out my changes here rather than a very long screenshot. If I don't note it here, I left it at the default:
Type: KVM/Qemu server
Main options
Qemu Agent: [x]
KVM: [x]
CPU
Cores: 4
Memory
Memory: 8589934592
Minimum memory: 1073741824
Ballooning Device: [x]
(Note: What unit are these memory settings supposed to be? Given the default I assumed bytes, but I also tried megabytes)
Storage
Disk
Storage: ceph
Controller: SCSI (I've tried each of the four: IDE/SATA/SCSI/VirtIO Block)
Device: 0 (Also tried setting this to '1' just to be sure)
Cache: No cache
Size: 34359738368 (Again, given the default I assumed byte, but also tried megabyte)
from fog-proxmox.
This issue is relative to foreman_fog_proxmox and not fog_proxmox.
DiskHelper.extract_controller accepts a/(\w+)(\d+)/
string id (e.g. scsi0
) but it is not.
Sizes must be formatted in text (e.g. 1 Gb) by foreman javascript. But it seems not to.
Have you installed the plugin javascript: /usr/bin/foreman-ruby /usr/bin/bundle exec bin/rake plugin:assets:precompile[foreman_fog_proxmox]
?
from fog-proxmox.
Hm, I lack the foreman-ruby binary, but I do have a foreman-rake binary. After setting proper permissions in the ruby gems folder (foreman-rake su's to foreman user), running /sbin/foreman-rake plugin:assets:precompile[foreman_fog_proxpox]
, and restarting the foreman service, the javascript formatting you mention now works.
I'm unsure if this is related, but several settings don't seem to 'stick': If I set 4 cores under CPU, 8 Gb for memory, 1 Gb for minimum memory, and check ballooning device, the only setting out of that batch that sticks is the 8 Gb memory setting. All other settings from my above writeup do stick in the configuration.
from fog-proxmox.
1- Do you still encounter the error?
2- Could you post another issue in foreman_fog_proxmox related to the server VM settings issue?
from fog-proxmox.
Sorry yes, this issue has been resolved. With this comment I'll close the issue and open a new one in foreman_fog_proxmox.
For posterity, the tasks that fixed this for me are as follows (since they differ slightly from the instructions in the README.MD file)
sudo chgrp -R foreman /opt/rh/rh-ruby24/root/usr/local/share/gems/gems
sudo chmod g+w /opt/rh/rh-ruby24/root/usr/local/share/gems/gems
sudo foreman-rake plugin:assets:precompile[foreman_fog_proxmox]
from fog-proxmox.
Related Issues (20)
- Special characters in password credentials
- Add proxmox version 6.0 compatibility
- Clone container from image HOT 1
- Add members in pools
- CPU type with - ignored
- Switch authentication method to API tokens HOT 6
- Add check if disk is template
- Add TFA to users access
- Add tokens user
- Add proxmox 6.3 compatibility
- Add cloud-init support
- Add missing Meltdown / Spectre related CPU flags
- I wanted to know if your library can be used with manageiq
- Question regarding License HOT 1
- Test ticket from Code Climate
- Include memory option to Snapshots
- Ask for merge permissions HOT 2
- nic for lxc containers are flattened in wrong format
- Ask for merge permissions HOT 7
- Proxmox image based deployment fails on warnings
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fog-proxmox.