Skip to content

Conversation

@kikisdeliveryservice
Copy link
Contributor

@kikisdeliveryservice kikisdeliveryservice commented Oct 22, 2018

libvirt-daemon-config-network is not installed by default when only installing libvirt-daemon and is necessary for setting up the libvirt bridge and default networking.

For reference, the error I was seeing running through a by the book install on a fresh F28:

ERROR Failed to read tfstate: open /tmp/openshift-install-301304036/terraform.tfstate: no such file or directory 
ERROR Error: Error refreshing state: 1 error(s) occurred:

* provider.libvirt: virError(Code=38, Domain=7, Message='unable to connect to server at '192.168.122.1:16509': Connection timed out') 
FATAL Error executing openshift-install: exit status 1 

@kikisdeliveryservice kikisdeliveryservice changed the title update instructions to install libvirt-daemon-config-network Docs: update instructions to install libvirt-daemon-config-network Oct 22, 2018
@kikisdeliveryservice
Copy link
Contributor Author

/cc: @wking @rphillips @cgwalters
This fixed my entire networking problem.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not change this to read instead:

sudo yum install libvirt

? That should pull in all of the configs, storage etc.

Copy link
Contributor Author

@kikisdeliveryservice kikisdeliveryservice Oct 22, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cgwalters : happy to do that, thanks for the suggestion!
@wking @rphillips : what do you think?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sudo yum install libvirt

? That should pull in all of the configs, storage etc.

It's surprising to me that libvirt-daemon doesn't pull in this configuration :p. While we're updating this, we probably also need libvirt-devel, because the destroy logic needs to link the C library.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wking so :

sudo yum install libvirt libvirt-devel

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 22, 2018
@kikisdeliveryservice kikisdeliveryservice force-pushed the add-libvirtdaemon-config-network branch from 0f1b73c to 609d1a5 Compare October 22, 2018 22:25
@kikisdeliveryservice kikisdeliveryservice changed the title Docs: update instructions to install libvirt-daemon-config-network Docs: update instructions to install libvirt and libvirt-devel packages Oct 22, 2018
@rphillips
Copy link
Contributor

/lgtm

glad you got it working

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 22, 2018
@rphillips
Copy link
Contributor

/assign @wking

Copy link

@rajatchopra rajatchopra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
Fair deal. I did the same thing for my setup.

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kikisdeliveryservice, rajatchopra, rphillips

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 22, 2018
@openshift-merge-robot openshift-merge-robot merged commit eb87107 into openshift:master Oct 22, 2018
@kikisdeliveryservice kikisdeliveryservice deleted the add-libvirtdaemon-config-network branch October 22, 2018 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants