Bug 1566008

Summary: rpm-ostree install failed on atomic host running with openstack
Product: [Fedora] Fedora Reporter: lnie <lnie>
Component: atomicAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: adimania, amurdaca, bbaude, dwalsh, fkluknav, lsm5, walters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-11 13:11:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
journal none

Description lnie 2018-04-11 10:29:04 UTC
Created attachment 1420258 [details]
journal

Description of problem:

[fedora@vnf1 ~]$ rpm-ostree install wget
==== AUTHENTICATING FOR org.projectatomic.rpmostree1.install-uninstall-packages ===
Authentication is required to install and remove software
Authenticating as: fedora Cloud User (fedora)
Password: 
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
==== AUTHENTICATION FAILED ===
error: rpmostreed OS operation PkgChange not allowed for user
[fedora@vnf1 ~]$ 


Version-Release number of selected component (if applicable):
Fedora-AtomicHost-28_Beta-1.3.x86_64.qcow2

How reproducible:
always 

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Colin Walters 2018-04-11 13:11:57 UTC
You're trying to run as non-root, so you're getting a policykit prompt.

For Atomic Host, just run the command as root.