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

Stacki OS frontend installs not partitioning disks #185

Open
mikebobadilla opened this issue Jul 13, 2017 · 2 comments
Open

Stacki OS frontend installs not partitioning disks #185

mikebobadilla opened this issue Jul 13, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@mikebobadilla
Copy link
Contributor

I have only tested on a vm. The install wizard throws the following error.

screen shot 2017-07-13 at 1 51 41 pm

failed to find suitable stage1 device

The fix is to select the hard drive, choose standard partitioning, set automatically and accept the changes.

screen shot 2017-07-13 at 1 58 03 pm

@bsanders
Copy link
Contributor

bsanders commented Jul 14, 2017

Cause of bug is an empty attributes dictionary, as code was originally written with backends in mind where this dictionary would be populated by a call to stack list host profile chapter=stacki and land in /tmp/stack_site/__init__.py.

In this case, __init__.py is empty (that command doesn't work for installing frontends) but it should be dict of attributes, csv_partitions, csv_controllers.

Fix is (on frontends only) to populate this file by parsing /tmp/site.attrs to populate the attributes dictionary. The other two objects should be able to be empty lists.

@bsanders
Copy link
Contributor

bsanders commented Jul 24, 2017

Reopening. Issue still exists on a normal install. Workaround is still valid.

My test included using a pre-made site.attrs where nukedisks=true. Fix now depends on either:

  1. Add nukedisks checkbox to installer #183 (add nukedisks checkbox to installer) OR:
  2. Declaring that if the user selects 'automated' partitioning, that implies nukedisks=true and adjusting the end of wizard.py to set nukedisks in site.attrs file.

@bsanders bsanders reopened this Jul 24, 2017
@bsanders bsanders modified the milestone: Stacki 5.0 Jul 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants