Giter VIP home page Giter VIP logo

rhce7env's People

Contributors

rdbreak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

gr8alex vlakmaker

rhce7env's Issues

"vagrant up" failing after "vagrant halt"

When using vagrant halt to stop my virtual machines, I get errors when using vagrant up to start my environment again. Using Virtualbox 6.0.16 and Vagrant 2.2.7 on Mac

A customization command failed:

["storagectl", :id, "--name", "SATA Controller", "--add", "sata", "--portcount", 2]

The following error was experienced:

#<Vagrant::Errors::VBoxManageError: There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["storagectl", "b5b58256-06a7-4842-af58-fe40c00ebeb7", "--name", "SATA Controller", "--add", "sata", "--portcount", "2"]

Stderr: VBoxManage: error: Storage controller named 'SATA Controller' already exists
VBoxManage: error: Details: code VBOX_E_OBJECT_IN_USE (0x80bb000c), component SessionMachine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "AddStorageController(Bstr(pszCtl).raw(), StorageBus_SATA, ctl.asOutParam())" at line 1080 of file VBoxManageStorageController.cpp
>

Please fix this customization and try again.

IPA Server Port 464 not enabled for KPASSWD Reset

When getting a ticket from KDC using a user account with expired password, user will be prompt to reset password via kpasswd protocol which communicates via port 464.
IPA Server does not have that port permitted, resulting in the password changing to fail.
The user will not be able to login.

Reproduce Issue
Install the 4 Virtual Machines from the repository. Ensure the IPA Server and client machine is up.
Set System1 IP Address as 192.168.55.21/24 and set it to use LDAP + Kerberos authentication against ipa.test.example.com.
(Base DN: dc=test,dc=example,dc=com | Kerberos Realm: TEST.EXAMPLE.COM)
Login to user lisa and request a ticket via kinit.
Should be prompted to reset password and unsuccessful in contacting any KDC Error message.

Below is a pcap file recorded on the IPA Server and a screenshot of the output.
attachment.zip

system1 and system2 with iscsi initiator enabled stopping before unmounting on shutdown

Hi @rdbreak
Firstly, I would like to say thanks to the Lab environment.
Secondly. I would like to make it better :-)
I've created target iscsi config:

[root@system1 ~]# targetcli
targetcli shell version 2.1.fb34
Copyright 2011-2013 by Datera, Inc and others.
For help on commands, type 'help'.

/> ls
o- / ...................................................................................................... [...]
  o- backstores ........................................................................................... [...]
  | o- block ............................................................................... [Storage Objects: 1]
  | | o- system1 ........................................... [/dev/vg-lab2/system1 (1.0GiB) write-thru activated]
  | o- fileio .............................................................................. [Storage Objects: 0]
  | o- pscsi ............................................................................... [Storage Objects: 0]
  | o- ramdisk ............................................................................. [Storage Objects: 0]
  o- iscsi ......................................................................................... [Targets: 1]
  | o- iqn.2020-02.com.example.test:system1 ........................................................... [TPGs: 1]
  |   o- tpg1 ............................................................................ [no-gen-acls, no-auth]
  |     o- acls ....................................................................................... [ACLs: 1]
  |     | o- iqn.2020-02.com.redhat:system1 .................................................... [Mapped LUNs: 1]
  |     |   o- mapped_lun0 ............................................................ [lun0 block/system1 (rw)]
  |     o- luns ....................................................................................... [LUNs: 1]
  |     | o- lun0 ........................................................ [block/system1 (/dev/vg-lab2/system1)]
  |     o- portals ................................................................................. [Portals: 1]
  |       o- 0.0.0.0:3260 .................................................................................. [OK]
  o- loopback ...................................................................................... [Targets: 0]
/> exit
Global pref auto_save_on_exit=true
Last 10 configs saved in /etc/target/backup.
Configuration saved to /etc/target/saveconfig.json
[root@system1 ~]# 

I've installed iscsi-initiator utils and logged in to the target:

[root@system1 ~]# cat /etc/iscsi/initiatorname.iscsi
InitiatorName=iqn.2020-02.com.redhat:system1
[root@system1 ~]# iscsiadm --mode discoverydb --type sendtargets --portal 192.168.55.21 --discover
192.168.55.21:3260,1 iqn.2020-02.com.example.test:system1
[root@system1 ~]# iscsiadm --mode node --targetname iqn.2020-02.com.example.test:system1  --portal  192.168.55.21 --login
Logging in to [iface: default, target: iqn.2020-02.com.example.test:system1, portal: 192.168.55.21,3260] (multiple)
Login to [iface: default, target: iqn.2020-02.com.example.test:system1, portal: 192.168.55.21,3260] successful.
[root@system1 ~]# lsscsi
[0:0:0:0]    disk    ATA      VBOX HARDDISK    1.0   /dev/sda
[3:0:0:0]    disk    ATA      VBOX HARDDISK    1.0   /dev/sdb
[4:0:0:0]    disk    LIO-ORG  system1          4.0   /dev/sdc
[root@system1 ~]# 

Then reboot or shutdown...
And server hangs on rebooting with this information:
image
The same issue on initiators system1 and system2 (when system1 as a target).

Ansible provisioning isn't completing

===============================================================================
IPA server Configured. ------------------------------------------------ 327.17s
Packages Installed. Configuring IPA server...(Est. Time - 7 minutes) --- 81.88s
Environment Packages Installed. Configuring IPA Client... -------------- 46.84s
Environment Packages Installed. Configuring IPA Client... -------------- 46.29s
Rebooting machine ------------------------------------------------------ 27.34s
Rebooting machine ------------------------------------------------------ 23.95s
Finishing IPA client configuration ------------------------------------- 15.85s
Finishing IPA client configuration ------------------------------------- 15.57s
Enabling services ------------------------------------------------------- 1.58s
Adding NFS service to System1 ------------------------------------------- 1.19s
Enabling Firewall Services ---------------------------------------------- 1.11s
Starting Firewalld ------------------------------------------------------ 1.01s
Reloaded Firewall. Installing Environment Packages... ------------------- 0.81s
Enabling services ------------------------------------------------------- 0.55s
Enabling services ------------------------------------------------------- 0.54s
Fixing hosts file ------------------------------------------------------- 0.54s
Disabling services ------------------------------------------------------ 0.51s
Disabling services ------------------------------------------------------ 0.37s
Configuring IPA client -------------------------------------------------- 0.35s
Starting services ------------------------------------------------------- 0.31s
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
[fireside rhce7env]# ```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.